Production-ready RAG + MCP demo: eval-in-CI merge gate, Langfuse traces, structure-aware chunking.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
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.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
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):
Query (per MCP tool call):
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 (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.
Each script is idempotent and resume-safe.
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.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/enterprise-internal-knowledge-base-production-ready-rag-mcp)<a href="https://allmcps.com/mcp/enterprise-internal-knowledge-base-production-ready-rag-mcp"><img src="https://allmcps.com/api/badge/enterprise-internal-knowledge-base-production-ready-rag-mcp?style=directory" alt="Enterprise Internal Knowledge Base: Production Ready RAG + MCP on AllMCPs" /></a>