mcp-server-rapid-rag
MCP Server for rapid-rag - Local RAG with semantic search and LLM queries.
Search your documents with AI, no cloud needed! Works with Ollama for local LLM inference.
Installation
pip install mcp-server-rapid-rag
Configuration
Add to your Claude Desktop config (~/.config/claude/claude_desktop_config.json):
{
"mcpServers": {
"rapid-rag": {
"command": "mcp-server-rapid-rag"
}
}
}
Or with uvx:
{
"mcpServers": {
"rapid-rag": {
"command": "uvx",
"args": ["mcp-server-rapid-rag"]
}
}
}
Tools
rag_add
Add files or directories to the RAG collection. Supports .txt, .md, .pdf.
"Add my docs folder to RAG: ~/Documents/notes"
rag_add_text
Add raw text directly to the collection.
"Store this meeting notes in RAG: [text content]"
rag_search
Semantic search - find the most relevant documents.
"Search my documents for: Python async patterns"
rag_query
Full RAG pipeline - search documents and get an AI-generated answer.
"Based on my documents, how do I configure logging?"
rag_info
Get collection statistics.
"Show me the RAG collection info"
rag_list
List all available collections.
"List my RAG collections"
rag_clear
Clear a collection (requires confirmation).
"Clear the 'old_project' RAG collection"
Example Usage
Ask Claude:
"Add all the markdown files from ~/projects/docs to my RAG"
Claude will:
- Index all .md files in the directory
- Split them into chunks with embeddings
- Store them in ChromaDB locally
Then ask:
"Based on my docs, how do I set up authentication?"
Claude will:
- Search the indexed documents
- Pass relevant chunks to Ollama
- Generate an answer with source citations
Requirements
- rapid-rag: Core RAG library with ChromaDB
- Ollama (optional): For
rag_query- local LLM inference
Install Ollama
# macOS/Linux
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull qwen2.5:7b
Collections
Documents are organized into collections. Each collection has:
- Separate vector database
- Persistent storage in
./rapid_rag_data/{collection}/ - Own embedding cache
Default collection is "default", but you can create multiple:
"Add ~/work/project-a to the 'project-a' collection"
"Search 'project-a' for: API endpoints"
Links
License
MIT
Metadata
Release files for mcp-server-rapid-rag 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_rapid_rag-0.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_rapid_rag-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / mcp_server_rapid_rag-0.1.0.tar.gz
| Download URL | mcp_server_rapid_rag-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37c79b4fea64b7b27563f50489d120f28f93b1d4bbb19d4ce2564a92b3b1f09c
|
|
BLAKE2b-256 checksum How to use checksums |
602c7fb3a1b7de1f8d23d5ce361318a958293f33cc3feebf343d76337f5532ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / mcp_server_rapid_rag-0.1.0-py3-none-any.whl
| Download URL | mcp_server_rapid_rag-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3101b41635cc1c4d990a150e7d09c0edf01a91e4c7f02c74d70ac909bc8eb9d2
|
|
BLAKE2b-256 checksum How to use checksums |
2dbddbaaace8984d8020e5bdfbc3065e46421dd9185ee768e773ab7dadc86573
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|