Local RAG MCP server with hybrid search, PDF/DOCX support, and zero-config setup
Rag MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Local RAG MCP server with hybrid search, PDF/DOCX support, and zero-config setup.
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.
Once Rag is connected, these are the calls the assistant has available:
Advanced — The Advanced tool exposed by this serverYou will need 8 environment variables: BASE_DIR, DB_PATH, CACHE_DIR, RAG_EMBEDDING_DEVICE, RAG_HYBRID_WEIGHT, RAG_GROUPING, MODEL_NAME, RAG_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Installation goes through your MCP client rather than a global install: point it at github on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Rag's toolset — Advanced — is a fair guide to whether it matches your workflow. It is maintained by RobThePCGuy; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Rag's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Advanced | The Advanced tool exposed by this server. |
{
"mcpServers": {
"local-rag": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:RobThePCGuy/rag-vault"],
"env": {
"BASE_DIR": "/path/to/your/documents"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| BASE_DIR | Filesystem location the server is allowed to use. | Optional |
| DB_PATH | Filesystem location the server is allowed to use. | Optional |
| CACHE_DIR | Filesystem location the server is allowed to use. | Optional |
| RAG_EMBEDDING_DEVICE | Configuration value read at startup. | Optional |
| RAG_HYBRID_WEIGHT | Configuration value read at startup. | Optional |
| RAG_GROUPING | Configuration value read at startup. | Optional |
| MODEL_NAME | Configuration value read at startup. | Optional |
| RAG_API_KEY | Credential the server authenticates with. | Yes |
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Search built for AI, not humans — semantic web search that returns model-ready content, plus code context.
Answers, not links — delegate questions to Perplexity's search-grounded models and get cited responses back.
Give your assistant a voice — text-to-speech, voice cloning and audio tools from the ElevenLabs API.
Give your assistant a real code sandbox — isolated cloud VMs for actually running the code it writes.
The ML hub in your context window — search models, datasets, papers and run Spaces from the official server.