Context7
Up-to-date docs for AI agents
作者による説明(英語の原文)
Production-ready RAG + MCP demo: eval-in-CI merge gate, Langfuse traces, structure-aware chunking.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
作者はレジストリにインストール情報を載せていません。下にある作者のREADMEをご覧ください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント kimsb2429 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.0)がレジストリに届いたのは7 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。
同じカテゴリには:Context7, Codebase Memory, Exa
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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.