haseebkhalid1507 avatar

Velocirag

haseebkhalid1507/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 tools

Public 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).


View the full README on GitHub

Details

Repository
github.com/haseebkhalid1507/velocirag
Categories
AI & LLM Tools, Search & Web Crawling
Package
velocirag
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1octen-team avatarOcten Mcpocten-team/octen-mcpURL to LLM-ready markdown β€” plus per-page category, page_structure, and query-driven highlights.10stars
2echology-io avatarDecomposeechology-io/decomposeDecompose text into classified semantic units. Authority, risk, attention. No LLM.9stars
3nnar1o avatarkgnnar1o/kgLocal knowledge graph memory MCP server for AI assistants.0stars
4iris-eval avatarIrisiris-eval/mcp-serverStop shipping agents on vibes. Score every agent output for quality, safety, and cost.0stars
5refined-element avatarLightning Enable MCP Serverrefined-element/lightning-enable-mcpAI agent Lightning payments: L402, invoices, wallets, API discovery, budgets, self-serve signup.9stars
6scrypster avatarMementoscrypster/mementoPersistent memory for AI tools. Local-first knowledge graph with hybrid search.9stars