프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Rag

제작자: fieldcure버전 2.5.1i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.fieldcure/rag

설치

개요

제작자가 쓴 설명(영어 원문)

MCP RAG server with hybrid search, multi-KB support, and AI-powered chunk contextualization.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 검색 및 AI 기억

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY, VOYAGE_API_KEY, GROQ_API_KEY

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 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"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

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 --yes

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.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"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "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"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • OPENAI_API_KEY env
  • ANTHROPIC_API_KEY env
  • GEMINI_API_KEY env
  • VOYAGE_API_KEY env
  • GROQ_API_KEY env

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 fieldcure 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 7241개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 7241개 중 14%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 7241개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Rag, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(2.5.1)은 5개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 .NET도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Context7, Codebase Memory, Exa

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Context7

제작자: upstash

Up-to-date docs for AI agents

컴퓨터 또는 클라우드★ 64,224MIT3일 전 업데이트
설치

Codebase Memory

제작자: DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

내 컴퓨터에서 실행★ 48,148MIT20일 전 업데이트
설치

Exa

제작자: exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

클라우드에서 실행★ 5,213MIT44일 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

FieldCure MCP RAG Server

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.

Commands

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)

  • serve — read-only MCP server serving all knowledge bases under the base path. Single process handles multiple KBs via kb_id parameter. Can run while exec is indexing (SQLite WAL).
  • exec — scans source folders, chunks documents, contextualizes with AI, embeds, stores in SQLite. --partial re-runs only downstream stages when models change, preserving OCR output.
  • exec-queue — sequential orchestrator consuming a deferred indexing queue. One entry at a time, no GPU contention. --sweep-all processes deferred entries too (used at app shutdown).
  • prune-orphans — deletes orphan KB folders (GUID-named, no config.json). Protected folders (., _ prefix, -backup-) are never touched.
  • smoke-ocr — diagnostic mode. Loads a scanned PDF through the OCR fallback parser, prints recognized text to stdout, and exits 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).

Features

Search
  • Hybrid BM25 + vector search with Reciprocal Rank Fusion (RRF)
  • BM25-only fallback when no embedding provider is configured
  • Korean-optimized chunking (sentence boundary, decimal protection, parenthesis-aware)
  • SIMD-accelerated cosine similarity via System.Numerics.Vector
  • FTS5 trigram index for substring and CJK-friendly keyword matching
Indexing
  • Incremental indexing with SHA256 change detection
  • AI-powered chunk contextualization with bilingual keyword enrichment (see Chunk Contextualization)
  • 2-commit pipeline preserves expensive upstream work across embedding failures (see How Indexing Works)
  • Math equation extraction from DOCX/HWPX as [math: LaTeX] blocks
  • PDF with OCR fallback (Tesseract eng+kor) for scanned pages
  • Audio transcription (.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 auditing
  • Cross-process indexing lock with stale PID auto-cleanup
  • Orphan cleanup for deleted files
Queue Orchestrator
  • All indexing requests flow through start_reindex MCP tool — no direct exec spawn
  • Scope merge rules: full ⊃ contextualization ⊃ embedding (duplicate requests upgrade, not duplicate)
  • PID-based orchestrator lock with reuse defense (orchestrator.lock)
  • Logical KB deletion (config.json removal) + prune-orphans physical cleanup
  • Deferred indexing for app-shutdown batch processing (--sweep-all)
Operations
  • Multi-KB serve: single process serves all knowledge bases under a base path, lazy-loaded per KB
  • SQLite WAL mode allows search during indexing
  • Graceful shutdown via cancel file
  • Per-KB config.json with provider configuration
Integration
  • Ollama native — embedding via /api/embed, contextualization via /api/chat with keep_alive and num_ctx support. Requires Ollama 0.4.0+.
  • OpenAI-compatible — embedding via /v1/embeddings, contextualization via /v1/chat/completions. Works with OpenAI, Azure OpenAI, Groq, LM Studio, Together AI.
  • Gemini native — embedding via /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.
  • Anthropic — contextualization via /v1/messages.
  • API keys via environment variables — 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 MCP stdio transport (JSON-RPC over stdin/stdout)

Chunk Contextualization

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:

  • Original text is preserved for accurate retrieval display
  • Contextualized text is what gets embedded and indexed in BM25
  • Bilingual keywords enable cross-lingual search — a Korean query can retrieve English documents and vice versa

This is enabled by setting contextualizer in config.json. It can be disabled (set provider/model to empty) if you prefer raw chunk indexing.

How Indexing Works

The exec command runs a 5-stage pipeline per file:

  1. Extract — text from document (DOCX, PDF OCR, audio transcription, etc.)
  2. Chunk — split into ~1000 char windows
  3. Contextualize — LLM enrichment (optional, see above)
  4. Embed — vector embedding via API
  5. Persist — save to SQLite

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.

Per-Chunk Failure Isolation (Binary Split)

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.

Deferred Retry Pass

Each exec ends with a retry pass over any chunks left in PendingEmbedding state from previous runs:

  • Reads enriched text from DB — no OCR or contextualization re-run
  • Calls the embedding API only — typically seconds, not minutes
  • Up to 3 retries per chunk; on exhaustion, the chunk is marked Failed
  • Auth errors (401/403) flag the provider as unavailable and skip the rest of the pass
File States
StatusMeaningHash-skip behavior
ReadyFully indexedSkip if hash matches
DegradedSome chunks failed (binary-split isolated)Skip if hash matches
PartiallyDeferredChunks pending embedding retryMain loop skips; deferred pass picks up
FailedExtraction or repeated embedding failureSkip; requires --force to retry
NeedsActionUser intervention requiredSkip with separate counter
Schema Versioning

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.

Installation

dotnet tool (recommended)
dotnet tool install -g FieldCure.Mcp.Rag
From source
git clone https://github.com/fieldcure/fieldcure-mcp-rag.git

cd fieldcure-mcp-rag dotnet build

Requirements

  • .NET 8.0 Runtime or later
  • OCR: Windows x64 only — Tesseract OCR for scanned PDFs loads lazily on first use (Windows only). On other platforms, PDFs with embedded text work normally; scanned pages without a text layer are silently skipped.
  • An embedding provider (Ollama, OpenAI, etc.) — optional, BM25 search works without it
  • Ollama 0.4.0 or later (if using Ollama for embedding or contextualization)

Quick Start

Index a folder and search it without any embedding setup (BM25 only):

# 1. Install

dotnet tool install -g FieldCure.Mcp.Rag

2. Create a minimal config

$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"

3. Index

fieldcure-mcp-rag exec --path $kbPath

4. Start the search server

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.

Usage

1. Create a knowledge base folder
%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 }

DimensionMTEBStorageUse case
76867.9925%Storage-constrained
153668.1750%Recommended default
307268.17100%Maximum quality (pre-normalized)

In serve mode, `search_d

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기