Context7
Up-to-date docs for AI agents
제작자가 쓴 설명(영어 원문)
Local RAG MCP server with hybrid search, PDF/DOCX support, and zero-config setup
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
BASE_DIR, DB_PATH, CACHE_DIR, MODEL_NAME, RAG_HYBRID_WEIGHT, RAG_GROUPING필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"rag-vault": {
"command": "npx",
"args": [
"-y",
"@robthepcguy/rag-vault"
],
"env": {
"BASE_DIR": "your-value",
"DB_PATH": "your-value",
"CACHE_DIR": "your-value",
"MODEL_NAME": "your-value",
"RAG_HYBRID_WEIGHT": "your-value",
"RAG_GROUPING": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add rag-vault --env BASE_DIR=your-value --env DB_PATH=your-value --env CACHE_DIR=your-value --env MODEL_NAME=your-value --env RAG_HYBRID_WEIGHT=your-value --env RAG_GROUPING=your-value -- npx -y @robthepcguy/rag-vault실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"rag-vault": {
"command": "npx",
"args": [
"-y",
"@robthepcguy/rag-vault"
],
"env": {
"BASE_DIR": "your-value",
"DB_PATH": "your-value",
"CACHE_DIR": "your-value",
"MODEL_NAME": "your-value",
"RAG_HYBRID_WEIGHT": "your-value",
"RAG_GROUPING": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"rag-vault": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@robthepcguy/rag-vault"
],
"env": {
"BASE_DIR": "your-value",
"DB_PATH": "your-value",
"CACHE_DIR": "your-value",
"MODEL_NAME": "your-value",
"RAG_HYBRID_WEIGHT": "your-value",
"RAG_GROUPING": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
BASE_DIR envDB_PATH envCACHE_DIR envMODEL_NAME envRAG_HYBRID_WEIGHT envRAG_GROUPING env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 RobThePCGuy 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.5.3)은 9개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Your documents. Your machine. Your control.
RAG Vault lets your AI coding assistant search your private documents, things like API specs, research papers, and internal docs. Everything runs locally and your data stays on your machine unless you choose to pull in content from a remote URL.
One command to run, minimal setup, privacy by default.
| Pain Point | RAG Vault Solution |
|---|---|
| "I don't want my docs on someone else's server" | Everything stays local by default. No background cloud calls for indexing or search. |
| "Semantic search misses exact code terms" | Hybrid search with RRF fusion, optional cross-encoder reranking |
| "Setup requires Docker, Python, databases..." | One npx command plus a small MCP config block. |
| "Cloud APIs charge per query" | Free forever. No subscriptions. |
RAG Vault comes with security built in:
RAG_API_KEYSee SECURITY.md for complete documentation.
Before adding MCP config:
BASE_DIR to that path.BASE_DIR.Add to ~/.cursor/mcp.json:
{
"mcpServers": { "local-rag": { "type": "stdio", "command": "npx", "args": ["-y", "github:RobThePCGuy/rag-vault"], "env": { "BASE_DIR": "/path/to/your/documents" } } } }
Replace /path/to/your/documents with your real absolute path.
Add to .mcp.json in your project directory:
{
"mcpServers": { "local-rag": { "type": "stdio", "command": "npx", "args": ["-y", "github:RobThePCGuy/rag-vault"], "env": { "BASE_DIR": "./documents", "DB_PATH": "./documents/.rag-db", "CACHE_DIR": "./.cache", "RAG_EMBEDDING_DEVICE": "cpu", "RAG_HYBRID_WEIGHT": "0.6", "RAG_GROUPING": "related" } } } }
Or add inline via CLI:
claude mcp add local-rag --scope user --env BASE_DIR=/path/to/your/documents -- npx -y github:RobThePCGuy/rag-vault
Add to ~/.codex/config.toml:
[mcp_servers.local-rag]
command = "npx" args = ["-y", "github:RobThePCGuy/rag-vault"]
[mcp_servers.local-rag.env] BASE_DIR = "/path/to/your/documents"
If you want your AI to write better queries and make more sense of results, install the RAG Vault skills:
# Claude Code (project-level - recommended for team projects)
npx github:RobThePCGuy/rag-vault skills install --claude-code
npx github:RobThePCGuy/rag-vault skills install --claude-code --global
npx github:RobThePCGuy/rag-vault skills install --codex
npx github:RobThePCGuy/rag-vault skills install --path /your/custom/path
Skills teach Claude best practices for:
ingest_file vs ingest_dataRestart your AI tool, and start talking:
You: "Ingest api-spec.pdf"
AI: Successfully ingested api-spec.pdf (47 chunks)
You: "How does authentication work?" AI: Based on section 3.2, authentication uses OAuth 2.0 with JWT tokens...
That's it. No Docker. No Python. No server infrastructure to manage.
RAG Vault has a web UI so you can manage your documents without touching the command line.
npx github:RobThePCGuy/rag-vault web
Open http://localhost:3000 in your browser.
By default the web server binds to
127.0.0.1(loopback), so it is reachable only from this machine. To use it from another device on your network, setRAG_BIND_HOST=0.0.0.0— and setRAG_API_KEYas well, since the API is otherwise unauthenticated.
The web server has a REST API you can hit directly. Set RAG_API_KEY to require authentication:
# With authentication (when RAG_API_KEY is set)
curl -X POST "http://localhost:3000/api/v1/search" \ -H "Authorization: Bearer your-api-key" \ -H "Content-Type: application/json" \ -d '{"query": "authentication", "limit": 5}'
curl -X POST "http://localhost:3000/api/v1/search" \ -H "Content-Type: application/json" \ -d '{"query": "authentication", "limit": 5}'
curl "http://localhost:3000/api/v1/files"
curl -X POST "http://localhost:3000/api/v1/files/upload" \ -F "file=@spec.pdf"
curl -X DELETE "http://localhost:3000/api/v1/files" \ -H "Content-Type: application/json" \ -d '{"filePath": "/path/to/spec.pdf"}'
curl "http://localhost:3000/api/v1/status"
curl "http://localhost:3000/api/v1/health"
These endpoints let you read documents and find connections across them:
# Get all chunks for a document (ordered by index)
curl "http://localhost:3000/api/v1/documents/chunks?filePath=/path/to/doc.pdf"
curl "http://localhost:3000/api/v1/chunks/related?filePath=/path/to/doc.pdf&chunkIndex=0&limit=5"
curl -X POST "http://localhost:3000/api/v1/chunks/batch-related" \ -H "Content-Type: application/json" \ -d '{"chunks": [{"filePath": "/path/to/doc.pdf", "chunkIndex": 0}], "limit": 3}'
RAG Vault can also run as an HTTP server so remote MCP clients like Claude.ai, Claude Desktop, or anything that supports Streamable HTTP or SSE can connect to it.
# Start remote server (default port 3001)
npx github:RobThePCGuy/rag-vault --remote
npx github:RobThePCGuy/rag-vault --remote --port 8080
Stdio mode is unchanged. Just leave off --remote and everything works as before with Cursor, Claude Code, and Codex.
Add to your Claude Desktop config:
{
"mcpServers": { "rag-vault-remote": { "type": "url", "url": "http://localhost:3001/mcp" } } }
Or via Claude Code CLI:
claude mcp add --transport http rag-vault http://localhost:3001/mcp
For Claude.ai (Pro/Max/Team/Enterprise), add as a custom connector with URL https://your-host:3001/mcp. For local development, expose your server with a tunnel:
cloudflared tunnel --url http://localhost:3001
The remote server also binds to 127.0.0.1 (loopback) by default. To accept connections from other machines directly, set RAG_BIND_HOST=0.0.0.0. Set RAG_API_KEY for authentication whenever you expose the server beyond loopback (including via a tunnel). The server supports both Streamable HTTP (/mcp) and legacy SSE (/sse) transports, plus a health check at /health.
You: "Ingest all the markdown files in /docs"
AI: Ingested 23 files (847 chunks total)
You: "What's the retry policy for failed API calls?" AI: According to error-handling.md, failed requests retry 3 times with exponential backoff: 1s, 2s, 4s...
You: "Fetch https://docs.example.com/api and ingest the HTML"
AI: Ingested "docs.example.com/api" (156 chunks)
You: "What rate limits apply to the /users endpoint?" AI: The API limits /users to 100 requests per minute per API key...
You: "Ingest my research papers folder"
AI: Ingested 12 PDFs (2,341 chunks)
You: "What do recent studies say about transformer attention mechanisms?" AI: Based on attention-mechanisms-2024.pdf, the key finding is...
RAG Vault's hybrid search catches both meaning and exact matches:
You: "Search for ERR_CONNECTION_REFUSED"
AI: Found 3 results mentioning ERR_CONNECTION_REFUSED:
Pure semantic search would miss this. RAG Vault finds it.
Document → Parse → Chunk by meaning → Embed locally → Store in LanceDB
↓ Query → Embed → Vector search + BM25 → Fusion → Optional reranking → Results
Smart chunking: Splits by meaning, not character count. Keeps code blocks intact.
Hybrid search: Two fusion modes that combine vector similarity with BM25 keyword matching:
RAG_SEARCH_MODE=rrf): Reciprocal Rank Fusion treats vector and BM25 as independent voters. This can surface documents that vector search alone would miss.Cross-encoder reranking (opt-in): After the first pass, a cross-encoder model (Xenova/ms-marco-MiniLM-L-6-v2, ~23MB) scores each (query, passage) pair together for tighter relevance ranking. Turn it on with RAG_RERANKER_ENABLED=true.
Query expansion (opt-in): Generates reformulated queries to improve recall when searches are paraphrased or conceptual. Two backends: local template-based expansion (default, fully offline) or LLM-based HyDE through an external API. Turn it on with RAG_HYDE_ENABLED=true.
Quality filtering: Groups results by relevance gaps instead of arbitrary top-K cutoffs.
Local by default: Embeddings via Transformers.js. Storage via LanceDB. Network is only needed for initial model download or if you explicitly ingest remote URLs.
MCP tools included: query_documents, ingest_file, ingest_data, delete_file, list_files, status, feedback_pin, feedback_dismiss, and feedback_stats.
| Format | Extension | Notes |
|---|---|---|
.pdf | Full text extraction, header/footer filtering | |
| Word | .docx | Tables, lists, formatting preserved |
| Markdown | .md | Code blocks kept intact |
| Text | .txt | Plain text |
| JSON | .json | Converted to searchable key-value text |
| JSONL / NDJSON | .jsonl, .ndjson | Parsed line-by-line for logs and structured records |
| HTML | via ingest_data | Auto-cleaned with Readability |
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요