Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Production-ready RAG + MCP demo: eval-in-CI merge gate, Langfuse traces, structure-aware chunking.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
作者没有在注册中心列出安装信息。请查看下方作者的 README。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 kimsb2429 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
A public Retrieval-Augmented Generation pipeline exposed as an MCP server. Sample content from Veterans Affairs education manuals.
The repo implements evaluation, observability, and structure-aware ingestion. Cost/latency tuning, tenant-level access control, and other production concerns are discussed in the article linked below.
**📖 Full writeup in *Towards AI*:** Enterprise Internal Knowledge Base RAG MCP: POC-to-Production
RAG demos tend to focus on the quality of the retrieval pipeline, without recognizing that production RAG fails on the next ten steps: prompt or model changes that pass code review but tank answer quality, cost and latency drift that cannot be traced to specific queries, cross-tenant leakage that only surfaces in audit. This repo shows what catching them looks like in practice.
The corpus is public (VA Education manuals — 238 documents, 9,000+ chunks) so anyone can clone, run, and adapt the pipeline.
git clone https://github.com/kimsb2429/internal-knowledge-base
cd internal-knowledge-base
docker compose up -d
python3 -m venv .venv && source .venv/bin/activate pip install -r requirements.txt
docker exec -i ikb_pgvector pg_restore -U ikb -d ikb < evals/fixture_v1.dump
python scripts/test_mcp_server.py # 7/7 tests pass
python scripts/mcp_server.py
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "ikb": { "command": "python", "args": ["/absolute/path/to/internal-knowledge-base/scripts/mcp_server.py"] } } }
Then ask Claude things like *"What RPO handles GI Bill claims in Texas?"* — the MCP server returns ranked chunks with citations.
Ingestion (one-time per corpus):
graph LR
A[KnowVA crawler HTML + PDF] --> B[Source-specific preprocessor] B --> C[Structure-aware chunker] C --> D[mxbai-embed-large local, 1024-dim] D --> E[(pgvector)] F[Anthropic Contextual Retrieval] -.-> E E -.-> F style E fill:#e1f5fe
Query (per MCP tool call):
graph LR
A[Claude Desktop MCP client] --> B[FastMCP server] B --> C[pgvector top-K] C --> D[Reranker mxbai or FlashRank] D --> E[Claude Sonnet generation] E --> A E --> F[Langfuse trace] style F fill:#fff9c4
Stack:
content_tsv GIN index for hybrid-readyquery), Resources (document://{source_id}), Prompts (cite_from_chunks)Full 110-question golden set, contextualized chunks + reranker:
| Metric | Score |
|---|---|
| Faithfulness | 0.95 |
| Answer Relevance | 0.91 |
| Context Precision | 0.61 |
| Context Recall | 0.52 |
| Context Relevance | 0.56 |
🔗 [Live Langfuse trace](https://us.cloud.langfuse.com/project/cmo0wah7a00pfad071nk6x84c/traces/a574193bbff7d5438f7fae9e27f4bb83) (public, no login).
Notable result: Anthropic's Contextual Retrieval pattern produced modest lift on top of reranking (+4.8pp AnsRel, +4.1pp CtxPrec) at this scale — well short of the +35% recall their published numbers suggested. Reported as found; juiced numbers would defeat the point.
Every PR runs the golden set in fast mode (FlashRank reranker, ~3-4 min wall, $0.30 in Sonnet calls) against a fixture DB. PRs that regress more than ±5pp on top1/topk/keyword_recall, or +10pp on idk_rate, are blocked.
Forever-artifact: PR #5 — a deliberate failing-then-passing PR. Red CI catches a 20pp top1 regression; green CI confirms the fix. The Actions tab is the proof.
Workflow: .github/workflows/eval-gate.yml.
A few production-shape items are seams, not implementations:
auth_context parameter present on every MCP tool, typed, currently unused (labels the SSO/ACL seam)content_tsv GIN index is live; BM25 + RRF fusion at query time stays a post-launch additionThe writeup linked above covers these topics.
docs/ Research, evidence base, deep-dives
data/ Crawled corpus + golden query set scripts/ crawl_knowva.py eGain v11 API crawler enrich_metadata.py Headings, ACL, authority tier, content_category knowva_preprocess.py Source-specific HTML normalization chunk_documents.py Structure-aware splitter (preserves table colspan/rowspan) embed_and_store.py mxbai-embed-large → pgvector contextualize_chunks.py Anthropic Batches API for Contextual Retrieval rerank.py mxbai-rerank + FlashRank retrieve.py / generate.py RAG path mcp_server.py FastMCP exposure run_eval.py / score_eval.py / check_regression.py Eval harness + CI gate evals/ Fixture DB dump + baseline JSON .github/workflows/ eval-gate.yml — merge-gate workflow
Each script is idempotent and resume-safe.
python scripts/crawl_knowva.py # Crawl raw HTML (skip if data/knowva_manuals/articles/ exists)
python scripts/enrich_metadata.py # Add headings, ACL, authority tier python scripts/knowva_preprocess.py # Normalize HTML quirks python scripts/chunk_documents.py # Structure-aware split python scripts/embed_and_store.py # mxbai → pgvector python scripts/contextualize_chunks.py # Anthropic Batches API (~$12, optional but recommended)
Then python scripts/run_eval.py --fast to verify the eval baseline reproduces.
docs/2026-04-11-engineering-rag-evidence-and-howtos.md — engineering analysis, evidence base, Zero-to-MCP plandocs/2026-04-12-rag-pipeline-buy-vs-build.md — buy-vs-build map per pipeline stagedocs/deep-dive/2026-04-16-docs-vs-code-rag-adjudication.md — when unified RAG stops workingMIT — see LICENSE.