Home / Search & web / minirag-mcp

minirag-mcp

io.github.sfrangulov/minirag-mcp · v1.1.1 stdio

Score 73. Maintenance 39 of 40, security 25 of 35, adoption 9 of 25.

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-mcp

Assembled 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 variableRequiredSecretPublisher's note
BASE_DIRNoNoOne document root; also the security boundary for file access. Defaults to the process working directory. Ignored when BASE_DIRS is set.
BASE_DIRSNoNoJSON array of document roots, e.g. ["/docs/a", "/docs/b"]. Takes precedence over BASE_DIR. An invalid value is a hard configuration error.
DB_PATHNoNoLanceDB index directory. Defaults to <first root>/.minirag/lancedb, so each corpus gets its own index.
CACHE_DIRNoNoEmbedding model cache. Defaults to the platform user cache dir, so the ~220 MB model is downloaded once and shared.
MODEL_NAMENoNofastembed model id. Changing it makes existing vectors incompatible with new queries; pair with a new DB_PATH or a full re-ingest.
MAX_FILE_SIZENoNoPer-file size limit in bytes, enforced before parsing.
CHUNK_TOKEN_BUDGETNoNoRetrieval-unit size in the embedding model's own tokens. Range 16-128; the ceiling is the model's trained sequence length.
RAG_HYBRID_WEIGHTNoNoKeyword weight in the weighted RRF fusion, range 0.0-1.0. 0 is vector-only; higher values raise the BM25 contribution.
RAG_GROUPINGNoNoResult grouping filter. 'similar' keeps only the closest group; 'related' also keeps the next one. Unset means no grouping filter.
RAG_MAX_DISTANCENoNoDrop results whose vector distance exceeds this value. Lower is stricter. Unset means no distance filter.
RAG_MAX_FILESNoNoKeep chunks from at most this many best-scoring files. Unset means no per-file filter.
RAG_INSTRUCTIONS_APPENDNoNoExtra 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

PartPointsWhat we observedResult
Maintenance39/40Last push 6d ago, 0 open issuesStrong
Security hygiene25/35Licence MIT, SECURITY.md missing, published package or hosted endpointFair
Adoption9/2559 GitHub starsWeak

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.

Get The Plug Weekly
GitHub stars59
npm weekly downloads-
Last push6d ago
LicenceMIT
Open issues0
SECURITY.mdNo
LanguagePython
Latest version published2026-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.

★ 14Apache-2.0pushed 1d ago Search & web

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.

★ 5AGPL-3.0pushed 3d ago Search & web