minirag-mcp

io.github.sfrangulov/minirag-mcp

About minirag-mcp

minirag-mcp is an MCP server published by the GitHub account sfrangulov. Local-first RAG MCP server: hybrid search over a folder of your own documents

It runs on your own machine: your AI client starts it from the PyPI package minirag-mcp at version 1.0.0.

It asks for no keys or passwords.

Version 1.0.0 was published on 22 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 6 pass, 1 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
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.
ALLOW_PRIVATE_URLSNoNoLet ingest_url fetch hosts resolving to loopback, link-local, private, reserved or unspecified addresses. Off by default.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/sfrangulov/minirag-mcp
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for no secrets
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account sfrangulov
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassminirag-mcp 1.0.0 has no setup.py; nothing runs at install
Code red flagsWarnReads SSH or cloud credentials (minirag_mcp-1.0.0/src/minirag_mcp/ingest/scanner.py:134: "/.ssh/id_")
Text aimed at the AIPassNo hidden characters or instructions to the AI in 107 files, including comments and the README

Popularity & health: 55 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity16 / 40

59 GitHub stars, 137 downloads last week, 0 Hacker News posts (0 points). Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-23, last release 2026-10-22, 0 commits in 90 days.

Issue health8 / 15

1 closed of 1 issues, too few to judge. No data, so half marks.

Our checks16 / 20

1 warning, each costing a fifth.

2 forks, 27 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.sfrangulov/minirag-mcp
PublisherGitHub account sfrangulov
How the name is verifiedName verified via GitHub account sfrangulov. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi minirag-mcp 1.0.0 (stdio)
Version1.0.0
Published
Last updated
Source repositoryhttps://github.com/sfrangulov/minirag-mcp
Websitehttps://github.com/sfrangulov/minirag-mcp#readme
CategoryFiles & documents (assigned by keyword rule, not by hand)

Related servers in Files & documents