Knowledge RAG
Knowledge RAG is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local RAG MCP server for Claude Code — hybrid search (semantic + BM25), cross-encoder reranking, 13 MCP tools… It has 290 GitHub stars, is released under the MIT license and runs locally with uvx knowledge-rag.
- AI & search
- MIT
- Actively maintained
Install Knowledge RAG
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"knowledge-rag": {
"command": "uvx",
"args": [
"knowledge-rag"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio knowledge-rag -- uvx knowledge-ragCursor
{
"mcpServers": {
"knowledge-rag": {
"type": "stdio",
"command": "uvx",
"args": [
"knowledge-rag"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"knowledge-rag": {
"type": "stdio",
"command": "uvx",
"args": [
"knowledge-rag"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
About Knowledge RAG
Hybrid search · Cross-encoder reranking · 35 file formats · 100% local · Zero cloud · Enterprise-grade plumbing built-in.
- claude
- claude-code
- local-ai
- mcp
- rag
- retrieval-augmented-generation
- semantic-search
- vector-database
- knowledge-base
- reranking
Similar MCP servers
More ai & search MCP servers
Context7
upstash/context7
Up-to-date code docs for any prompt.
AI & searchTypeScriptFunASR
modelscope/FunASR
Transcribe local audio with FunASR and SenseVoice using private, on-device inference.
AI & searchPythonBifrost
maximhq/bifrost
Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.
AI & searchGoHoncho
plastic-labs/honcho
Memory that reasons: continual learning for stateful agents.
AI & searchPythonSemble
MinishLab/semble
Fast and Accurate Code Search for Agents.
AI & searchPythonExa
exa-labs/exa-mcp-server
Connect AI agents to Exa for web search, content fetching, and multi-step research.
OfficialAI & searchTypeScript
What is Knowledge RAG?
Knowledge RAG is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Local RAG MCP server for Claude Code — hybrid search (semantic + BM25), cross-encoder reranking, 13 MCP tools… It has 290 GitHub stars, is released under the MIT license and runs locally with uvx knowledge-rag. The source code is at github.com/lyonzin/knowledge-rag.
How do I install the Knowledge RAG MCP server?
Add the command uvx knowledge-rag to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Knowledge RAG free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is Knowledge RAG actively maintained?
The most recent commit was on Oct 4, 2026. The latest release is v4.11.0, published Oct 4, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.