rag-knowledge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rag-knowledge-mcpsearch for details on ACME company"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RAG Knowledge Base MCP Server
This is an MCP server I use to connect a RAG knowledge base to Claude Desktop, Claude Code, and other things.
Setup
With pytest tests:
uv sync --extra devConfiguration
Defaults live in the committed settings.yaml. Override them (all optional,
merged in order, later wins):
settings.yaml committed defaults
~/.rag-knowledge-mcp/settings.yaml per-user override
settings.local.yaml per-machine override (gitignored)Under pytest, settings.test.yaml is merged over the defaults instead, so
tests run against an isolated database.
Ingesting Documents
Embedding and retrieval are done with Chroma (other types of embedding/retrieval are possible by implementing AbstractRagBackend)
Default configuration assumes the KB docs will be in ./knowledge-base – which can be a symlink.
What my directory looks like (more or less):
knowledge-base
├── companies
│ └── frobozz-co.md
│ └── acme.md
├── developers
│ └── wesley-hinkle.md
└── projects
| ├── magic-api-gateway.md
| ├── zork-legacy-cms.md
| ├── torch-saas.md
| ├── grue-detector.md
| ├── zorkmid-sdk.md
| ├── hello-footpad.md
| ├── anvil.md
└── skills-mapping.mdOnce the documents are linked up/in place:
uv run python ingest.pyor just
make embeddingsRelated MCP server: RAGBrain MCP
Client Configuration
Claude Desktop
Add to Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"rag-knowledge": {
"command": "uv",
"args": [
"run",
"--directory",
"/absolute/path/to/this/project",
"python",
"rag_knowledge_mcp.py"
],
"env": {
"LOG_LEVEL": "INFO"
}
}
}
}uv may need to be an absolute path, depending on how it's installed.
Claude Code
https://code.claude.com/docs/en/mcp
Installs with --scope local by default (claude in CWD)
claude mcp add rag-knowledge -- uv run --directory /absolute/path/to/this/project python rag_knowledge_mcp.pyAdd --scope user for claude in any directory:
claude mcp add --scope user rag-knowledge -- uv run --directory /absolute/path/to/this/project python rag_knowledge_mcp.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables Claude Desktop to search and query personal document collections (PDF, Word, Markdown, text) using semantic search and conversational AI with full context preservation across exchanges.MIT
- AlicenseAqualityFmaintenanceConnects Claude Desktop to a RAGBrain knowledge base to enable semantic search, document retrieval, and namespace management. It allows users to browse collections, discover documents by topic, and access full text content through natural language.5MIT
- Alicense-qualityDmaintenanceEnables Claude Desktop to search custom knowledge bases using retrieval-augmented generation via a simple MCP tool.MIT
- Alicense-qualityCmaintenanceConnects Claude to a personal knowledge base with hybrid search over code, documents, and images. Allows the AI assistant to retrieve and answer from your own files during conversations.1MIT
Related MCP Connectors
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Search your knowledge bases from any AI assistant using hybrid RAG.
Your company's brain for AI agents. Cited, permission-aware knowledge across every system.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/evokateur/rag-knowledge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server