Context7
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
Description from the maker (original English)
MCP RAG server with hybrid search, multi-KB support, and AI-powered chunk contextualization.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, VOYAGE_API_KEY, GROQ_API_KEYWhich app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"rag": {
"command": "dnx",
"args": [
"FieldCure.Mcp.Rag",
"--yes"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"VOYAGE_API_KEY": "your-value",
"GROQ_API_KEY": "your-value"
}
}
}
}Run this in your terminal
claude mcp add rag --env OPENAI_API_KEY=your-value --env ANTHROPIC_API_KEY=your-value --env GEMINI_API_KEY=your-value --env VOYAGE_API_KEY=your-value --env GROQ_API_KEY=your-value -- dnx FieldCure.Mcp.Rag --yesFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"rag": {
"command": "dnx",
"args": [
"FieldCure.Mcp.Rag",
"--yes"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"VOYAGE_API_KEY": "your-value",
"GROQ_API_KEY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"rag": {
"type": "stdio",
"command": "dnx",
"args": [
"FieldCure.Mcp.Rag",
"--yes"
],
"env": {
"OPENAI_API_KEY": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"VOYAGE_API_KEY": "your-value",
"GROQ_API_KEY": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account fieldcure, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (2.5.1) reached the registry 5 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need .NET on your computer.
In the same category: Context7, Codebase Memory, Exa
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.
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.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A Model Context Protocol (MCP) server for indexing and searching local document collections. Supports DOCX, HWPX, PDF (with OCR), Excel, PowerPoint, and audio (Whisper transcription, Windows-only), with hybrid keyword + semantic search optimized for Korean and English.
Built with C# and the official MCP C# SDK.
fieldcure-mcp-rag
├── serve --base-path # Multi-KB MCP search server (stdio) ├── exec --path [--force] [--partial ...] # Headless indexing for a single KB ├── exec-queue --queue-file [--sweep-all] # Process deferred indexing queue ├── prune-orphans --base-path # Delete orphan KB folders └── smoke-ocr --pdf # Self-test: OCR a scanned PDF (Windows)
kb_id parameter. Can run while exec is indexing (SQLite WAL).--partial re-runs only downstream stages when models change, preserving OCR output.--sweep-all processes deferred entries too (used at app shutdown).., _ prefix, -backup-) are never touched.0 on a non-empty result. Surfaces DllNotFoundException / BadImageFormatException distinctly so a missing or arch-mismatched native is immediately visible. Useful for verifying that the OCR native path is wired correctly on a given host (notably win-arm64 dnx installs).System.Numerics.Vector[math: LaTeX] blocks.mp3, .wav, .m4a, .ogg, .flac, .webm) via Whisper.net — Windows-only. Model size (Tiny→Large) is auto-selected from detected GPU/RAM/cores at startup; each transcript chunk records audio.model_size and audio.transcribed_at for future reindex auditingstart_reindex MCP tool — no direct exec spawnorchestrator.lock)prune-orphans physical cleanup--sweep-all)cancel fileconfig.json with provider configuration/api/embed, contextualization via /api/chat with keep_alive and num_ctx support. Requires Ollama 0.4.0+./v1/embeddings, contextualization via /v1/chat/completions. Works with OpenAI, Azure OpenAI, Groq, LM Studio, Together AI./v1beta/models/{model}:embedContent with task_type asymmetric retrieval (RETRIEVAL_DOCUMENT / RETRIEVAL_QUERY) and Matryoshka dimension truncation (768 / 1536 / 3072). gemini-embedding-2, multilingual, 8k token input./v1/messages.OPENAI_API_KEY, ANTHROPIC_API_KEY, etc. Batch indexing commands (exec, exec-queue) are env-var-only. Interactive MCP search can fall back to MCP elicitation when the client supports it.Standard RAG chunking loses context — a sentence about "the protocol" becomes ambiguous when ripped from its surrounding paragraphs. This server addresses that with Unified Chunk Contextualization: a single LLM call per chunk that produces both contextual framing and bilingual (Korean + English) keywords in one pass.
The result is stored alongside the original chunk text:
This is enabled by setting contextualizer in config.json. It can be disabled (set provider/model to empty) if you prefer raw chunk indexing.
The exec command runs a 5-stage pipeline per file:
For large files, Stage 1 alone can take 20+ minutes — OCR on a 596-page scanned PDF, or Whisper transcription of a multi-hour audio recording. The first audio file in any KB also pays a one-time ggml model download (cached under {UserProfile}/.fieldcure/whisper-models/). To prevent expensive upstream work from being lost when later stages fail, the pipeline uses a 2-commit model:
Stages 1-3 (Extract → Chunk → Contextualize)
↓ [Commit 1] chunks saved as PendingEmbedding ↓ Stage 4 (Embed) ├─ success → [Commit 2a] promote chunks to Indexed └─ failure → chunks remain PendingEmbedding (retry next exec)
Why this matters: A 25-minute OCR result is persisted on disk before any embedding API call. If Stage 4 fails (network error, rate limit, token limit, process crash, even power loss), the chunks survive. The next exec hash-skips the file (no OCR re-run) and the deferred retry pass attempts only Stage 4.
If a single chunk in a file exceeds the embedding model's token limit (e.g., a math-dense page in a textbook), the binary split algorithm isolates that one chunk:
EmbedBatch([0..1249]) → 400 "input[846] too long"
├─ EmbedBatch([0..624]) → OK (promote 625) └─ EmbedBatch([625..1249]) → 400 ├─ EmbedBatch([625..937]) → 400 │ ... (binary search narrows toward chunk 846) │ └─ EmbedBatch([846..846]) → 400 (mark chunk 846 Failed) └─ EmbedBatch([938..1249]) → OK (promote 312)
Result: 1249 chunks indexed, only chunk 846 marked Failed. The file's status becomes Degraded — partially searchable instead of completely missing.
Each exec ends with a retry pass over any chunks left in PendingEmbedding state from previous runs:
Failed| Status | Meaning | Hash-skip behavior |
|---|---|---|
Ready | Fully indexed | Skip if hash matches |
Degraded | Some chunks failed (binary-split isolated) | Skip if hash matches |
PartiallyDeferred | Chunks pending embedding retry | Main loop skips; deferred pass picks up |
Failed | Extraction or repeated embedding failure | Skip; requires --force to retry |
NeedsAction | User intervention required | Skip with separate counter |
Each KB DB carries a PRAGMA user_version tag. The exec command migrates older schemas automatically as part of InitializeSchema(). The serve command opens DBs read-only and never triggers migration — older-schema KBs continue to serve search queries correctly while their new-feature columns remain unused.
dotnet tool install -g FieldCure.Mcp.Rag
git clone https://github.com/fieldcure/fieldcure-mcp-rag.git
cd fieldcure-mcp-rag dotnet build
Index a folder and search it without any embedding setup (BM25 only):
# 1. Install
dotnet tool install -g FieldCure.Mcp.Rag
$kbPath = "$env:LOCALAPPDATA\FieldCure\Mcp.Rag\demo" New-Item -ItemType Directory -Force -Path $kbPath @' { "id": "demo", "name": "Demo KB", "sourcePaths": ["C:\\my-docs"] } '@ | Set-Content "$kbPath\config.json"
fieldcure-mcp-rag exec --path $kbPath
fieldcure-mcp-rag serve --base-path "$env:LOCALAPPDATA\FieldCure\Mcp.Rag"
For full retrieval quality with semantic search and contextualization, add embedding and contextualizer blocks to config.json — see Usage below.
%LOCALAPPDATA%\FieldCure\Mcp.Rag\{kb-id}\config.json
{
"id": "my-kb-001", "name": "Project Docs", "created": "2026-04-03T00:00:00Z", "sourcePaths": ["C:\\Users\\me\\Documents\\project-docs"], "contextualizer": { "provider": "anthropic", "model": "claude-haiku-4-5-20251001", "apiKeyPreset": "Claude" }, "embedding": { "provider": "openai", "model": "text-embedding-3-small", "apiKeyPreset": "OpenAI" } }
API keys are resolved from environment variables: apiKeyPreset: "OpenAI" → OPENAI_API_KEY, "Claude" → ANTHROPIC_API_KEY, "Gemini" (or "Google") → GEMINI_API_KEY.
Gemini embedding example — asymmetric retrieval with 1536-dim Matryoshka truncation (50% storage of full 3072 with identical MTEB score):
"embedding": {
"provider": "gemini", "model": "gemini-embedding-2", "apiKeyPreset": "Gemini", "dimension": 1536 }
| Dimension | MTEB | Storage | Use case |
|---|---|---|---|
| 768 | 67.99 | 25% | Storage-constrained |
| 1536 | 68.17 | 50% | Recommended default |
| 3072 | 68.17 | 100% | Maximum quality (pre-normalized) |
In serve mode, `search_d
Only the beginning is shown; read the rest in the repo