Minirag MCP server
io.github.sfrangulov/minirag-mcp·v1.0.0·68 starsLocal-first RAG MCP server: hybrid search over a folder of your own documents
not scanned yet
68 stars66 downloads/wk
Reviews
Write oneNobody has reviewed Minirag yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Minirag tools
No tool declarations could be read from the package source. They show once the server is installed.
How Minirag compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 4,460 AI and agents servers
- GitHub stars
- 68
- more than 93% of 2,711 AI and agents servers
- Downloads a week
- 66
- more than 52% of 1,538 AI and agents servers with a package
Release history: 2 versions in the registry since 2026-09-07, latest 2026-10-22, typically one every 46 days.
Install Minirag in Claude Code, Cursor or VS Code
claude mcp add minirag-mcp -- uvx minirag-mcp
What the publisher says
From the Minirag repository's README, as published. We do not edit it. Read it on GitHub
minirag-mcp
<!-- mcp-name: io.github.sfrangulov/minirag-mcp -->
A local-first RAG (retrieval-augmented generation) MCP server. Point it at a folder of documents and it gives your MCP client (Claude Code, Cursor, Codex, ...) hybrid search — semantic vector similarity plus a keyword boost for exact terms — over that content.
Nothing leaves your machine except two things: the one-time embedding-model download on first use, and the explicit ingest_url call when you ask it to fetch a web page. Ingesting local files, indexing, and querying never touch the network.
It is a Python, MCP-native analog of shinpr/mcp-local-rag (TypeScript), built on fastmcp, fastembed, and LanceDB.
Features
ranking (LanceDB BM25 full-text search) by weighted Reciprocal Rank Fusion, so exact identifiers and error codes surface alongside semantically similar passages.
- Hybrid search — vector similarity (fastembed/ONNX) fused with keyword
as body text, and an informative filename becomes the document's title when the document's own heading is boilerplate. In many real document sets the filename is the only place the document code and subject appear at all. See Titles and filenames.
- Filenames are searchable — keyword search covers document titles as well
languages, so English and Russian corpora both work out of the box.
- Multilingual by default — the default embedding model covers 50+
small unit that fits the embedding model's 128-token ceiling; what comes back is the section around it — a transcript time window, a heading section, a slide, a table. See Chunking.
- Chunks sized in tokens, passages returned whole — what gets ranked is a
HTML, CSV, EPUB, Jupyter notebooks, Markdown, and plain text), plus direct text/markdown/HTML ingestion and URL fetching.
- 12 file formats ingested via markitdown (PDF, DOCX, PPTX, XLSX,
page by page and standalone images become documents, locally, on the CPU. See OCR for scanned documents.
- Scans, with the optional [ocr] extra — image-only PDFs are recognized
clients put in front of the model, so a question your documents can answer goes to the index instead of to the model's memory. See Search by Default.
- Searches without being asked — the server ships a routing policy that
from a terminal without going through an MCP client.
- MCP server and CLI over the same index — inspect and manage the index
every tool reports the error and status always answers.
- Degrades gracefully — a broken configuration doesn't crash the server;
- No hidden network calls — see Security and Operation.
Quick Start
Every client below launches the same process; only the config format differs. Replace /absolute/path/to/docs with the folder you want indexed.
The invocation is uvx minirag-mcp. It resolves and caches the package on first run, so start-up is slow once and fast afterwards.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Minirag: common questions
- Is Minirag MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Minirag safety report
- How do I install Minirag?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Minirag need an API key?
- No secret keys are declared. It reads 13 settings from the environment.
- Is Minirag maintained?
- The last commit was 22 days ago (2026-10-13). The latest release is v1.0.0.
- What can I use instead of Minirag?
- Servers from other publishers that do the same job: PDF MCP server, Tw Legal Rag MCP server and agent-device MCP server.
- How does Minirag compare with other AI and agents MCP servers?
- safety score 92/100 (higher than 90% of 4,460 AI and agents servers); github stars 68 (more than 93% of 2,711 AI and agents servers); downloads a week 66 (more than 52% of 1,538 AI and agents servers with a package). Full comparison.
Alternatives to Minirag
Same job from other publishers: the closest match first, then the best rated.
- PDFAgentic RAG over one PDF or a whole folder: hybrid search, selective page reads, tables, OCR.not reviewedEstablishedA
Tw Legal RagCitation-guarded retrieval over 22M Taiwan court judgments and administrative interpretationsnot reviewedEstablishedA- agent-deviceOpen source device layer for AI agents: control mobile, web, TV, and desktop apps over MCPnot reviewedWidely usedA
- Basic MemoryLocal-first knowledge management with bi-directional LLM sync via Markdown files.not reviewedWidely usedB
- HOL GuardLocal-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.not reviewedEstablishedA