Home / Search & web / minirag-mcp
minirag-mcp
io.github.sfrangulov/minirag-mcp · v1.1.1 stdio
Local-first RAG MCP server: hybrid search over a folder of your own documents
Description supplied by the publisher in the MCP Registry. We have not tested this server.
Ranks #699 of 896 Search & web servers on Socketlist by score, with 59 GitHub stars and a last code push 6d ago.
Install
uvx minirag-mcpAssembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.
Connect minirag-mcp to Claude Code, Cursor or VS Code
Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.
Claude Code
Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.
claude mcp add --transport stdio minirag-mcp -- uvx minirag-mcp.mcp.json (Claude Code project scope, VS Code with Copilot)
Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.
{
"mcpServers": {
"minirag-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"minirag-mcp"
]
}
}
}Cursor
Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.
{
"mcpServers": {
"minirag-mcp": {
"command": "uvx",
"args": [
"minirag-mcp"
]
}
}
}Configuration the publisher declares
| Environment variable | Required | Secret | Publisher's note |
|---|---|---|---|
BASE_DIR | No | No | One document root; also the security boundary for file access. Defaults to the process working directory. Ignored when BASE_DIRS is set. |
BASE_DIRS | No | No | JSON array of document roots, e.g. ["/docs/a", "/docs/b"]. Takes precedence over BASE_DIR. An invalid value is a hard configuration error. |
DB_PATH | No | No | LanceDB index directory. Defaults to <first root>/.minirag/lancedb, so each corpus gets its own index. |
CACHE_DIR | No | No | Embedding model cache. Defaults to the platform user cache dir, so the ~220 MB model is downloaded once and shared. |
MODEL_NAME | No | No | fastembed model id. Changing it makes existing vectors incompatible with new queries; pair with a new DB_PATH or a full re-ingest. |
MAX_FILE_SIZE | No | No | Per-file size limit in bytes, enforced before parsing. |
CHUNK_TOKEN_BUDGET | No | No | Retrieval-unit size in the embedding model's own tokens. Range 16-128; the ceiling is the model's trained sequence length. |
RAG_HYBRID_WEIGHT | No | No | Keyword weight in the weighted RRF fusion, range 0.0-1.0. 0 is vector-only; higher values raise the BM25 contribution. |
RAG_GROUPING | No | No | Result grouping filter. 'similar' keeps only the closest group; 'related' also keeps the next one. Unset means no grouping filter. |
RAG_MAX_DISTANCE | No | No | Drop results whose vector distance exceeds this value. Lower is stricter. Unset means no distance filter. |
RAG_MAX_FILES | No | No | Keep chunks from at most this many best-scoring files. Unset means no per-file filter. |
RAG_INSTRUCTIONS_APPEND | No | No | Extra paragraph appended to the instructions the server hands the client at connect time, for corpus-specific guidance. |
1 more are listed in the registry entry; see the README for the full set.
"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.
Allowlist entry
If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.
{
"allowedMcpServers": [
{
"serverCommand": [
"uvx",
"minirag-mcp"
]
}
]
} How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.
Score breakdown
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 39/40 | Last push 6d ago, 0 open issues | Strong |
| Security hygiene | 25/35 | Licence MIT, SECURITY.md missing, published package or hosted endpoint | Fair |
| Adoption | 9/25 | 59 GitHub stars | Weak |
Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.
Maintain this server? Claim or correct this listing, or get featured in Search & web. Paid placements are labelled and never change the score.
Five scored MCP servers, every Monday
The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.
| GitHub stars | 59 |
| npm weekly downloads | - |
| Last push | 6d ago |
| Licence | MIT |
| Open issues | 0 |
| SECURITY.md | No |
| Language | Python |
| Latest version published | 2026-11-17 |
Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.
Similar servers
Semlith
Score 75. Maintenance 40 of 40, security 29 of 35, adoption 6 of 25.io.github.semlith/semlith
Local search over your code and documents for AI agents.
Chaos Cypher
Score 73. Maintenance 40 of 40, security 30 of 35, adoption 4 of 25.io.github.chaoscypherinc/chaoscypher
Local-first knowledge graphs from your documents: build, search (GraphRAG) and edit on your machine.