Velocirag MCP server
io.github.HaseebKhalid1507/velocirag·v0.7.4·11 starsLightning-fast RAG for AI agents. 4-layer fusion, ONNX Runtime, sub-200ms search.
11 stars30 downloads/wk
Reviews
Write oneNobody has reviewed Velocirag yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Velocirag tools (5)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_documentIndex a single markdown file on the fly.
healthEngine status check and component health overview.
indexIndex a directory of markdown files with optional graph and metadata extraction.
list_sourcesList all indexed document sources.
searchSearch indexed content using four-layer fusion (vector + BM25 + graph + metadata).
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan20 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 175 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Velocirag compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 65% of 4,460 AI and agents servers
- Tools
- 5
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 11
- more than 85% of 2,711 AI and agents servers
- Downloads a week
- 30
- more than 17% of 1,538 AI and agents servers with a package
What its tools let an agent do: 4 read · 1 create
Install Velocirag in Claude Code, Cursor or VS Code
claude mcp add velocirag -- uvx velocirag
What the publisher says
From the Velocirag repository's README, as published. We do not edit it. Read it on GitHub
🦖 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 mcpClaude 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).
Claude Desktop — add to claudedesktopconfig.json:
{
"mcpServers": {
"velocirag": {
"command": "velocirag",
"args": ["mcp", "--db", "/path/to/data"]
}
}
}Cursor — add to .cursor/mcp.json:
{
"mcpServers": {
"velocirag": {
"command": "velocirag",
"args": ["mcp", "--db", "/path/to/data"]
}
}
}Python API
from velocirag import Embedder, VectorStore, Searcher
embedder = Embedder()
store = VectorStore('./my-db', embedder)
store.add_directory('./my-docs')
searcher = Searcher(store, embedder)
results = searcher.search('query', limit=5)CLI
pip install velocirag
velocirag index ./my-docs
velocirag search "your query here"Search Daemon (warm engine for CLI users)
velocirag serve --db ./my-data # start daemon (background)
velocirag search "query" # auto-routes through daemon
velocirag status # check daemon health
velocirag stop # stop daemonThe daemon keeps the ONNX model + FAISS index warm over a Unix socket. First query loads the engine (~1s), subsequent queries return in ~180ms with full 4-layer fusion.
🎯 Why VelociRAG?
- 4-layer search — vector + BM25 keyword + knowledge graph + metadata, fused with RRF
- No LLM needed — search runs entirely on local models (MiniLM + TinyBERT, ~80MB total)
- No GPU needed — pure ONNX inference, runs on any machine
- ~3ms warm search — daemon keeps models + indices warm over Unix socket
- Incremental indexing — add files without rebuilding the whole index
- MCP server — plug into Claude, Cursor, Windsurf, any MCP client
Related Projects
- Memkoshi — Agent memory system. Uses VelociRAG as its search engine.
- Stelline — Session intelligence. Crafts memories from conversation logs.
- Glyph — MCP security scanner and runtime protection.
🏗️ How It Works
The 4-layer pipeline:
Query → expand (acronyms, variants)
→ [Vector] FAISS cosine similarity (384d, MiniLM-L6-v2 via ONNX)
→ [Keyword] BM25 via SQLite FTS5
→ [Graph] Knowledge graph traversal
→ [Metadata] Structured SQL filters (tags, status, project)
→ RRF Fusion → Cross-encoder rerank → ResultsWhat each layer catches:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Velocirag: common questions
- Is Velocirag MCP server safe?
- Mostly: it is graded B (82/100). Read the Velocirag safety report
- How do I install Velocirag?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Velocirag need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Velocirag maintained?
- The last commit was 213 days ago (2026-04-05). The latest release is v0.7.4.
- What can I use instead of Velocirag?
- Servers from other publishers that do the same job: agent-device MCP server, Local Rag MCP server and Butterbase AI MCP server.
- How does Velocirag compare with other AI and agents MCP servers?
- safety score 82/100 (higher than 65% of 4,460 AI and agents servers); tools 5 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Velocirag
Same job from other publishers: the closest match first, then the best rated.
- agent-deviceOpen source device layer for AI agents: control mobile, web, TV, and desktop apps over MCPnot reviewedWidely usedA
- Local RagEasy-to-setup local RAG server with minimal configurationnot reviewedEstablishedA
- Butterbase AIButterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.not reviewedEstablishedA
GuaardvarkLocal AI studio on your GPU: images, video, music, voice, RAG. Needs the Guaardvark app installed.not reviewedEstablishedB- Agent RecallCorrection-first agent memory. Precision KPI tracks if agents heed warnings. 5 layers, local-only.not reviewedEstablishedA