Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Fact-check LLM outputs with cited sources. API key: aihcc.cloud/keys.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
Authorization标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
在终端中运行这条命令
claude mcp add --transport http hallucc https://aihcc.cloud/mcp --header 'Authorization: your-value'运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"hallucc": {
"url": "https://aihcc.cloud/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"hallucc": {
"type": "http",
"url": "https://aihcc.cloud/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
Authorization 机密 必填 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
verify_text逐声明幻觉核验。输入文本 → 提取声明 → 逐声明验证(supported/refuted/unverified)+ 来源引用。返回红/黄/绿汇总、每条声明的状态/置信度/理由/来源、citations、quota。耗 detect 额度(与 Web 端同源)。
verify_agentAgent 输出与轨迹自检。对最终回答跑逐声明幻觉核验,并对执行轨迹做六维结构化评估(事实性/来源/指令合规/工具声明一致/任务完成/反思)。返回 main.claims、steps[].checks、quota。耗 detect 额度。
check_cua_actionsComputer-Use Agent 动作风险分级。提交动作轨迹 → 逐步返回 L0(放行)/L1(放行+记录)/L2(需确认)/L3(阻断)/takeover(凭据场景挂起等用户亲手输入) 裁决、matched_rules、outcome,及 L0-L3 汇总计数;响应含 ruleset_version(规则库版本)与 disclaimer(本结果仅为分级参考,未执行实际拦截)。覆盖:敏感路径/破坏性命令/不可逆元素语义、域名分级(未知域导航 L2、黑名单域与敏感粘贴到未知域 L3、支付金额超阈值 L3)、凭据词表与支付/登录域 takeover、ta
check_cua_code_auditCUA 代码审计:静态分析 Agent 源码,检测危险导入(subprocess/os.system 等)、权限边界(eval/exec)、注入面(字符串拼接 shell)、危险默认值、沙箱缺失。纯规则扫描,不调 LLM、不耗额度。支持单文件或多文件扫描。
check_safetyAI 安全网关检测。对 prompt + output 跑 OWASP LLM Top 10 三层检测:40+ 特征规则引擎(注入/越狱/有害内容/敏感信息泄露/欺诈)+ 可选 LLM 深度分析 + 可选幻觉检测。返回 passed、risk_score、risk_level、threats[](category/severity/match_context/recommendation)、quota。fast=true 走纯规则 <10ms 模式。耗 detect 额度(fast 亦计入)。
check_agent_ice_wall智能体冰墙(童锁/保险丝):agent 每执行一步前调用一次,做单步幻觉护栏 + 会话级风险累积熔断。响应的 action 字段是唯一需要看的:allow/warn 放行、block 本步拦截、frozen=整场立即停机(风险累积超阈值或命中捏造工具等零容忍项,冻结期间任何动作都不应执行)。熔断条件:block=3分/warn=1分累积 ≥10、连续 3 次 block、或一次命中捏造工具/参数 Schema 违规;冷却 5 分钟自动解冻,或用户手动 reset。session_id 由你在整个 agent 任务内自定复用(状态在云端账号下,本地零安装零
reset_agent_ice_wall手动解冻被冰墙冻结的 agent 会话(用户确认安全后调用)。was_frozen=false 表示该会话本就没冻结(幂等)。解冻后风险分归零。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 fredyee 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 413 毫秒内响应(HTTP 200)
无需登录
已读取 7 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:Authorization
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.1.11)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
[中文文档](./README_zh.md) | Live Demo | Official MCP Registry
Give your AI a fact-checker and a safety gateway: claim-by-claim hallucination detection, agent trajectory evaluation, L0-L3 risk gating for Computer-Use Agent (CUA) actions, Agent source code static audit, and a 40+ feature prompt-injection / jailbreak guard — one MCP server, five tools, works with Claude Code / Cursor / Claude Desktop.
| Tool | Backend endpoint | What it does | Quota |
|---|---|---|---|
verify_text | POST /detect | Claim-by-claim hallucination check: red/yellow/green summary + per-claim status/confidence/reason/sources + citations | ✅ detect |
verify_agent | POST /detect-agent | Text-level verification of an agent's final output + 6-dimension trajectory evaluation (factuality / sourcing / instruction compliance / tool-claim consistency / task completion / reflection) | ✅ detect |
check_cua_actions | POST /cua/classify | L0-L3 risk classification for Computer-Use Agent (CUA) actions + takeover (credential scenarios); covers sensitive paths/destructive commands, domain grading, payment-amount thresholds, task_scope intent deviation, and multi-agent delegation-chain taint analysis; response includes ruleset_version and disclaimer (pure rules, no LLM) | ❌ free |
check_cua_code_audit | POST /cua/audit-code | Static audit of Agent source code: dangerous imports / permission boundaries / injection surfaces / dangerous defaults / sandbox absence | ❌ free |
check_safety | POST /guard/check (fast=true → /guard/check-fast) | 40+ feature safety gateway: prompt injection / jailbreak / harmful content / PII leakage / fraud | ✅ detect |
check_agent_ice_wall | POST /icewall/check | Agent Ice Wall (child lock / fuse): per-step guard + session-level risk accumulation circuit breaker. Watch the action field: frozen = stop the whole session (score ≥10, 3 consecutive blocks, or zero-tolerance fabricated-tool/schema hits); 5-min cooldown auto-thaws | ✅ detect |
reset_agent_ice_wall | POST /icewall/reset | Manually thaw a frozen agent session after user confirmation (was_frozen=false = idempotent no-op) | ❌ free |
Auth model: each client sends
Authorization: Bearer→ the server forwards it as-is to the backend → the backend validates and deducts from the same account quota as the web app. Keys travel only in HTTP headers — never in tool arguments, never in model transcripts.
check_cua_actions| Field | Effect |
|---|---|
actions[].target_url / url | Target URL of a browser action — navigation to an unknown domain escalates to L2; pasting sensitive content to a non-allowlisted domain escalates to L3; blacklisted domains are L3 |
task_scope.task | Declares the intended task, used for deviation detection and audit traceability |
task_scope.allowed_apps / allowed_domains | Allowed apps / domains (domain suffix matching includes subdomains) |
task_scope.forbidden_elements | Forbidden element labels (highest precedence) |
actions[].chain_id | Multi-agent delegation chain id (uuid hex) — when given, the response gains a chain_trace cross-hop taint analysis |
actions[].agent_id / parent_agent_id | The agent owning this action / its delegating parent — pairs cross-agent-boundary propagation chains |
actions[].delegation_depth | Delegation depth (root agent = 0); a subagent exfiltrating content matching sensitive patterns gets an L2 |
An action that leaves task_scope is escalated one level (L0→L1, L1→L2, L2 stays L2 with an "outside task scope" reason appended, L3 unchanged). This mechanism only tightens and never loosens; omitting task_scope has no effect. Credential fields and payment/login domains yield a takeover verdict (suspend and wait for the user to type it themselves — the agent never types your password).
Multi-agent setups (Claude Code Task subagents, Codex agents, Kimi, …): a parent agent reading a credential file (L0 on its own) → a subagent posting it out (L2 on its own) is harmless per hop and dangerous as a chain. Attach the delegation-chain fields to each action and the backend appends a chain_trace: when cross-agent propagation exists the chain aggregate level is raised to L3 and risk_diluted is set (the laundering signal). Leave the chain fields empty and behaviour is bit-for-bit unchanged — existing callers need no change.
The response's ruleset_version lets you verify that online detection and the local Gate run the same rule version.
The MCP server is hosted at https://aihcc.cloud/mcp (remote, streamable-http). Point your client at it with your API key:
# Claude Code
claude mcp add --transport http hallucc https://aihcc.cloud/mcp \ --header "Authorization: Bearer "
Cursor / Claude Desktop work the same way: URL https://aihcc.cloud/mcp, header Authorization: Bearer . Create your API key at https://aihcc.cloud (register → /keys). Free daily quota included.
{
"mcpServers": { "hallucc": { "command": "npx", "args": ["-y", "hallucc-mcp"], "env": { "HALLUCC_API_KEY": " " } } } }
Same five tools over stdio transport; the key comes from the environment and requests default to the hosted backend https://aihcc.cloud/api.
The base URL must keep the `/api` prefix: nginx only proxies
/api/to the backend. A bare
https://aihcc.cloudreaches the frontend instead — the request returns 200 with an HTML body,
fails silently (nothing lands in audit or in a fallback file), and the audit replay stays empty.
# 1. Install dependencies
npm install
cp .env.example .env
npm run dev
The server listens on http://127.0.0.1:8787/mcp; health check GET /health.
claude mcp add --transport http hallucc http://127.0.0.1:8787/mcp \
--header "Authorization: Bearer "
claude mcp list
Settings → MCP → Add MCP server:
httphttp://127.0.0.1:8787/mcp{"Authorization": "Bearer "}~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "hallucc": { "type": "http", "url": "http://127.0.0.1:8787/mcp", "headers": { "Authorization": "Bearer " } } } }
npx @modelcontextprotocol/inspector
tools/call (and any non-discovery method) requires a format-valid key — hc_ + 48 hex — else 401 JSON-RPC, before the backend is contacted. The format check is a local regex, no backend round-trip.initialize, tools/list, ping, notifications/initialized) stay open unauthenticated so registries and directory sites can index the server: they make no backend call and expose no user data. Set MCP_ALLOW_ANON_DISCOVERY=0 to gate those too.verify_api_key; the MCP-layer check only rejects tokens that can't possibly be real keys.quota object (backend quota_status), same source as the web dashboard, decremented per call.check_cua_actions and check_cua_code_audit are both pure rules — no LLM, no quota cost, safe for high-frequency use.src/
server.ts Express + StreamableHTTP transport (stateless) + auth middleware + tool registration context.ts config loading + API key extraction backend.ts BackendClient (key pass-through, unified 401/429/5xx mapping) + toMcpResult schemas.ts zod input schemas for the 5 tools (aligned with backend Pydantic Fields) tools/ verifyText.ts → /detect verifyAgent.ts → /detect-agent checkCuaActions.ts → /cua/classify checkCuaCodeAudit.ts → /cua/audit-code checkSafety.ts → /guard/check (fast → /guard/check-fast) index.ts registerAllTools
Streamable HTTP (the remote transport recommended by the current MCP spec, formerly "HTTP+SSE"), stateless mode: each POST spins up a fresh transport + McpServer and closes when done. Natively supported by Claude Code / Cursor / Claude Desktop. To support legacy SSE-only clients, add SSEServerTransport (dual endpoints /sse + /messages).
io.github.fredyee/hallucc v0.1.11 (active)MIT