
Velocirag
VelociRAG gives Claude four retrieval methods in one query: FAISS vector similarity, BM25 keyword matching, knowledge graph traversal, and metadata filters, all fused through reciprocal rank fusion with cross-encoder reranking. It runs entirely on ONNX Runtime without PyTorch or GPU dependencies, targeting sub-200ms searches once the daemon is warm. The MCP server exposes five tools: search, index, add_document, health, and list_sources. It automatically builds entity, temporal, and topic graph edges from markdown during indexing, with incremental updates that only reprocess changed files. Reach for this when you need multi-layer RAG without heavyweight ML frameworks, or when you're indexing documentation that benefits from graph connections alongside semantic search.
- GitHub stars
- 10
- tools
- 5
- transport
- STDIO
- last updated
- Apr 5, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
search4-layer fusion search with reranking
4-layer fusion search with reranking
No parameter schema in public metadata yet.
indexAdd documents to the knowledge base
Add documents to the knowledge base
No parameter schema in public metadata yet.
add_documentInsert single document
Insert single document
No parameter schema in public metadata yet.
healthSystem diagnostics
System diagnostics
No parameter schema in public metadata yet.
list_sourcesShow indexed document sources
Show indexed document sources
No parameter schema in public metadata yet.
Sponsors
Readme
π¦ VelociRAG
Lightning-fast RAG for AI agents.
Four-layer retrieval fusion powered by ONNX Runtime. No PyTorch. Sub-200ms warm search. Incremental graph updates. MCP-ready.
Most RAG solutions either drag in 2GB+ of PyTorch or limit you to single-layer vector search. VelociRAG gives you four retrieval methods β vector similarity, BM25 keyword matching, knowledge graph traversal, and metadata filtering β fused through reciprocal rank fusion with cross-encoder reranking. All running on ONNX Runtime, no GPU, no API keys. Comes with an MCP server for agent integration, a Unix socket daemon for warm queries, and a CLI that just works.
π Quick Start
MCP Server (Claude, Cursor, Windsurf)
pip install "velocirag[mcp]"
velocirag index ./my-docs
velocirag mcp
Claude Code β add to .mcp.json in your project root:
{
"mcpServers": {
"velocirag": {
"command": "velocirag",
"args": ["mcp"],
"env": { "VELOCIRAG_DB": "/path/to/data" }
}
}
}
Then open /mcp in Claude Code and enable the velocirag server. If using a virtualenv, use the full path to the binary (e.g. .venv/bin/velocirag).
Details
- Repository
- github.com/haseebkhalid1507/velocirag
- Categories
- AI & LLM Tools, Search & Web Crawling
- Package
velocirag- Transport
- STDIO
- Registry
- MCP registry, active