Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Local-first MCP server for LLM output verification — risk signals, injection and PII checks.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LLMVERIFY_MCP_MAX_INPUT_CHARS, LLMVERIFY_MCP_TIMEOUT_MS, LLMVERIFY_MCP_MAX_OUTPUT_ITEMS, LLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS, LLMVERIFY_HOME, LLMVERIFY_AUDIT_DIR, LLMVERIFY_LOG_DIR, LLMVERIFY_BASELINE_DIR, LLMVERIFY_USAGE_FILE, LLMVERIFY_AUDIT_HASH_KEY, LLMVERIFY_AUDIT_NO_CONTENT_HASH标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"llmverify": {
"command": "npx",
"args": [
"-y",
"llmverify",
"mcp"
],
"env": {
"LLMVERIFY_MCP_MAX_INPUT_CHARS": "your-value",
"LLMVERIFY_MCP_TIMEOUT_MS": "your-value",
"LLMVERIFY_MCP_MAX_OUTPUT_ITEMS": "your-value",
"LLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS": "your-value",
"LLMVERIFY_HOME": "your-value",
"LLMVERIFY_AUDIT_DIR": "your-value",
"LLMVERIFY_LOG_DIR": "your-value",
"LLMVERIFY_BASELINE_DIR": "your-value",
"LLMVERIFY_USAGE_FILE": "your-value",
"LLMVERIFY_AUDIT_HASH_KEY": "your-value",
"LLMVERIFY_AUDIT_NO_CONTENT_HASH": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add llmverify --env LLMVERIFY_MCP_MAX_INPUT_CHARS=your-value --env LLMVERIFY_MCP_TIMEOUT_MS=your-value --env LLMVERIFY_MCP_MAX_OUTPUT_ITEMS=your-value --env LLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS=your-value --env LLMVERIFY_HOME=your-value --env LLMVERIFY_AUDIT_DIR=your-value --env LLMVERIFY_LOG_DIR=your-value --env LLMVERIFY_BASELINE_DIR=your-value --env LLMVERIFY_USAGE_FILE=your-value --env LLMVERIFY_AUDIT_HASH_KEY=your-value --env LLMVERIFY_AUDIT_NO_CONTENT_HASH=your-value -- npx -y llmverify mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"llmverify": {
"command": "npx",
"args": [
"-y",
"llmverify",
"mcp"
],
"env": {
"LLMVERIFY_MCP_MAX_INPUT_CHARS": "your-value",
"LLMVERIFY_MCP_TIMEOUT_MS": "your-value",
"LLMVERIFY_MCP_MAX_OUTPUT_ITEMS": "your-value",
"LLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS": "your-value",
"LLMVERIFY_HOME": "your-value",
"LLMVERIFY_AUDIT_DIR": "your-value",
"LLMVERIFY_LOG_DIR": "your-value",
"LLMVERIFY_BASELINE_DIR": "your-value",
"LLMVERIFY_USAGE_FILE": "your-value",
"LLMVERIFY_AUDIT_HASH_KEY": "your-value",
"LLMVERIFY_AUDIT_NO_CONTENT_HASH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"llmverify": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"llmverify",
"mcp"
],
"env": {
"LLMVERIFY_MCP_MAX_INPUT_CHARS": "your-value",
"LLMVERIFY_MCP_TIMEOUT_MS": "your-value",
"LLMVERIFY_MCP_MAX_OUTPUT_ITEMS": "your-value",
"LLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS": "your-value",
"LLMVERIFY_HOME": "your-value",
"LLMVERIFY_AUDIT_DIR": "your-value",
"LLMVERIFY_LOG_DIR": "your-value",
"LLMVERIFY_BASELINE_DIR": "your-value",
"LLMVERIFY_USAGE_FILE": "your-value",
"LLMVERIFY_AUDIT_HASH_KEY": "your-value",
"LLMVERIFY_AUDIT_NO_CONTENT_HASH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LLMVERIFY_MCP_MAX_INPUT_CHARS envLLMVERIFY_MCP_TIMEOUT_MS envLLMVERIFY_MCP_MAX_OUTPUT_ITEMS envLLMVERIFY_MCP_MAX_TEXT_FIELD_CHARS envLLMVERIFY_HOME envLLMVERIFY_AUDIT_DIR envLLMVERIFY_LOG_DIR envLLMVERIFY_BASELINE_DIR envLLMVERIFY_USAGE_FILE envLLMVERIFY_AUDIT_NO_CONTENT_HASH env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 subodhkc 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:LLMVERIFY_AUDIT_HASH_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.8.0)于29天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
You shipped an AI feature. Your LLM hallucinated a citation, leaked a customer's email, and followed a prompt-injection buried in user input — on the same day. llmverify is the safety layer that sits between your LLM and your users.
Local-first verification, PII redaction, prompt-injection defense, and runtime monitoring for any LLM. One npm install. Zero telemetry. No API keys on the free tier.
Last Updated: August 21, 2026 Version: 1.7.0 Node: >= 18.0.0 License: MIT
You build with GPT-4, Claude, Gemini, or any LLM. The model:
You need a guardrail between the model and your users. That is llmverify.
npm install llmverify
Everything runs locally. The free tier makes zero network requests and needs no API key. Free tier limit: 500 verification calls per day (tracked locally, never sent anywhere).
| Function | One-liner | What it does |
|---|---|---|
verify(content) | await verify(aiResponse) | Runs hallucination, consistency, safety, and CSM6 checks; returns a risk level and findings |
isInputSafe(input) | isInputSafe(userMessage) | Blocks prompt injection, jailbreaks, and malicious input before it reaches the model |
redactPII(text) | redactPII(aiResponse) | Masks emails, phones, SSNs, credit cards, and API keys |
containsPII(text) | containsPII(text) | Returns true if PII is present |
detectAndRepairJson(...) | detectAndRepairJson(prompt, response) | Detects and repairs broken JSON output |
monitorLLM(client) | monitorLLM(openaiClient) | Wraps any LLM client; tracks latency, token drift, and behavioral changes |
sentinel.quick(...) | await sentinel.quick(client, model) | Runs regression tests against your model before users see changes |
classify(...) | classify(prompt, response) | Intent detection, hallucination signals, and instruction compliance |
auditLog(event) | auditLog({ ... }) | Appends a local, hash-only audit entry for SOC 2 / HIPAA / GDPR evidence |
run, prodVerify, ciVerify | await prodVerify(content) | Preset pipelines for dev, prod, strict, fast, and CI use |
const { verify, isInputSafe, redactPII } = require('llmverify');
// 1. Block prompt injection before it reaches the model. if (!isInputSafe(userMessage)) { return { error: 'Invalid input detected' }; }
// 2. Verify the model's output. const aiResponse = await yourLLM.generate(userMessage); const result = await verify(aiResponse);
if (result.risk.level === 'critical') { return { error: 'Response failed safety check' }; }
// 3. Strip PII before the response reaches a user or a log. const { redacted } = redactPII(aiResponse); console.log(redacted);
Three lines of safety between your LLM and your users. No config file required. No API key required.
llmverify runs deterministic, pattern-based engines locally — no model calls, no network on the free tier. Same input plus same rules equals same result. Every result carries an explicit limitations array stating what was and was not checked, so you never mistake a clean score for a guarantee.
Framework alignment (baseline mapping only — not certification):
# Verify a string from the terminal.
npx llmverify verify "The capital of France is London."
npx llmverify-serve --port=9009
npx llmverify-serve --host=0.0.0.0 --port=9009
The server binds to 127.0.0.1 by default, restricts CORS to localhost origins, and rate-limits clients (100 requests / 60s). It requires express (an optional dependency that installs by default).
llmverify ships a built-in Model Context Protocol server — the same engine, exposed to MCP-compatible agents and IDEs over stdio:
npx llmverify mcp
// MCP client config
{ "mcpServers": { "llmverify": { "command": "npx", "args": ["-y", "llmverify", "mcp"] } } }
Six tools: verify_llm_content, assess_hallucination_risk, check_prompt_injection, check_pii, redact_pii, get_llmverify_capabilities. Stdio-only, zero outbound network, bounded inputs/outputs, PII-filtered responses, honest notChecked/audit semantics.
Requires Node.js ≥ 20 (the MCP SDK's floor; the rest of the package supports ≥ 18). The MCP SDK and zod are regular dependencies — the mcp command lazy-loads them so other commands pay no startup cost.
See docs/MCP.md for the full tool reference and security model.
llmverify is a triage tool, not a truth oracle. Be honest with yourself about what it can and cannot do:
If a claim matters, verify it yourself. llmverify narrows the risk surface; it does not eliminate it.
llmverify is part of the HAIEC (Human AI Evidence Company) AI governance platform. Use it alongside the AI Security Scanner, the CI/CD pipeline integration, and Runtime Injection Testing.
MIT — see LICENSE.
Recommendation (not legal advice): Run verify() on every model output that reaches a user, and isInputSafe() on every user input that reaches a model. Treat the risk level as a triage signal, not an approval.