io.github.sfrangulov/minirag-mcp
PYPI · MINIRAG-MCP
Local-first RAG MCP server: hybrid search over a folder of your own documents
Available components
Last scanned (23 hours ago)
Scores higher than 64% of PyPI servers
Category Search and Retrieval
Recent critical change
CVE-2026-112398 affects this package (24 Oct 2026). See the changelog before you install this server.
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security49
- Malware scan not yet available for this package.Unverified
- Known CVEs were checked across the 87 of 89 dependencies we could resolve, so this covers what we could see, not the whole tree.Partial
- Runs hatchling.build at install time, a recognised build step with no custom scripting around it. View diagnostics → Pass
- Dependency health was assessed across the 87 of 89 dependencies we could resolve, so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to sfrangulov/minirag-mcp). View diagnostics → Pass
- Clear OSI-approved license (MIT AND Apache-2.0).Pass
- Actively maintained (last published 12 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability61
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 2583 tokens (~234/item across 11 items; 11 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management60
- Stability observed for 18 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage71
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 0% of tool parameters carry a description.Fail
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "delete_file" implies "delete" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
- An AI judge read all 12 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 4 Nov 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 57 to 60. That category is still filling its 30-day observation window: 17 days of observed history at the previous scan, 18 at this one. The score rises as the window fills, whether or not the server changes.
- 3 Nov 26 −15
- Malware scan: pass → unverified ▼ security
- 2 Nov 26 −5
- Stability: pass → 0.53 functional
- 1 Nov 26 −1
- Package version: 0.6.1 → 1.0.0 functional
- 31 Oct 26 +15
- Malware scan: unverified → pass ▲ security
- 29 Oct 26 −15
- Malware scan: pass → unverified ▼ security
- 27 Oct 26 0
- Stability: 0.97 → pass security
- 26 Oct 26 +88
- CVE-2026-112403 no longer affects this package ▲ security
- CVE-2026-112900 no longer affects this package ▲ security
- CVE-2026-96639 no longer affects this package ▲ security
- CVE-2026-112398 no longer affects this package ▲ security
- CVE-2026-112393 no longer affects this package ▲ security
- Known CVEs: fail → partial ▲ security
- Score status: failed → scored ▲ functional
- Stability: pass → 0.97 functional
- Package version: 0.6.1 → 1.0.0 functional
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 4 Nov 2026 · Analysed pypi/minirag-mcp@1.0.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | pypi |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | sfrangulov/minirag-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/sfrangulov/minirag-mcp/.github/workflows/release.yml@refs/tags/v1.0.0 |
| Rekor log index | 3394677716 |
| Predicate type | PyPI publish attestation https://docs.pypi.org/attestations/publish/v1 |
| Subject digest | sha256:24e8f3b3082d8c57329a6ae9f477f8b06437d33989928c7788e55573bbda42d9 |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 87 packages
| Packages resolved | 87 |
|---|---|
| Stale | 12 |
| No linked repository | 2 |
| Tree resolution | Partial |
The dependency tree was only partially resolved, so these counts may be incomplete.
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
delete_file Delete File ~88
Delete an indexed file, data item, or url item from the index. Provide exactly one of filePath (absolute path inside a document root) or source (the id of a data/url item). This only removes the index entry — a file left in place under a document root is re-ingested by a later sync_start.
| Name | Type | Req | Description |
|---|---|---|---|
| filePath | – | – | – |
| source | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
ingest_data Ingest Data ~108
Ingest text/markdown/html content the client holds, under a source id you choose. format is one of "text", "markdown", or "html" (default "text"). source is a stable identifier you pick, not a filesystem path — re-using it replaces the previously ingested content for that id, so reuse the same source to update an item.
| Name | Type | Req | Description |
|---|---|---|---|
| data | string | yes | – |
| format | string | – | – |
| source | string | yes | – |
| title | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
ingest_file Ingest File ~69
Ingest or re-ingest one file, replacing any content already indexed for it. filePath must be an absolute path inside a configured document root. Re-ingesting an already-indexed file discards its old chunks and replaces them with freshly parsed ones.
| Name | Type | Req | Description |
|---|---|---|---|
| filePath | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
ingest_url Ingest Url ~135
Fetch an http(s) URL, convert it to Markdown, and index it. Only http and https schemes are accepted, and the host must not be a private or local address (loopback, link-local, private, reserved) — set ALLOW_PRIVATE_URLS=1 to lift that. This is the one tool that reaches the network — every other tool works purely against local files and the local index. source defaults to the URL itself; pass one to control the index key or to update a previously ingested URL.
| Name | Type | Req | Description |
|---|---|---|---|
| source | – | – | – |
| title | – | – | – |
| url | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
list_files List Files ~344
List files found on disk under the document roots, plus indexed data/url sources. Each disk file is reported with a state: "ingested" (index matches disk), "stale" (changed on disk since it was indexed), "stale_scheme" (unchanged on disk, but indexed under an older chunking scheme, so its vectors are not comparable with current ones), "not_ingested" (never indexed), or "unreadable" (indexed and still on disk, but of a type this installation cannot read because an optional extra is absent — images need [ocr]). Everything but "ingested" and "unreadable" needs a sync_start; an "unreadable" source is kept as indexed and no sync can refresh it here. "stale_scheme" is the per-source view of what status reports as staleChunkCount. Data and url sources have no disk state to compare against, so they are "ingested" or "stale_scheme". unlistedFolders names each folder the scan could not see into (no read permission, a missing or unmounted drive), with what to do about it. Indexed files under one are listed as "unlisted": still indexed and searchable, not checked against the disk. `labels`, `dateFrom` and `dateTo` filter as in query_documents; sort="date" lists newest first, documents without a date last. Rows carry `labels` and `date` when present.
| Name | Type | Req | Description |
|---|---|---|---|
| dateFrom | – | – | – |
| dateTo | – | – | – |
| labels | – | – | – |
| scope | – | – | – |
| sort | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
query_documents Query Documents ~483
Hybrid search: semantic similarity plus a keyword boost for exact terms. Returns `results` — ranked chunks with text, source, title, chunkIndex, score and parentId — `sources`, the distinct sources in rank order each with a hits count and a `displayPath` to show the user (`source` stays absolute and is what the other tools take), and `parents`, a map from parentId to section text. Use `sources` to answer "which documents cover this topic" without inspecting individual chunks. `text` is the passage that matched and that `score` describes. `parentId` names the section it sits in — a transcript time window, a heading section, a slide, a table. Look it up in `parents` to read the whole section when the match alone is too small to act on. A chunk indexed before parent sections existed has parentId null and no entry; re-sync to fill it in. topK must be at least 1 and is capped at 100; a larger value is silently clamped to the cap rather than rejected. When nothing matches because nothing could — an empty index, or a scope no indexed document is under — `notice` says which. Cite what you take, so the user can verify it, in whatever language you answer: end with a Sources list, one line per document you actually used, each line just that document's `displayPath` copied verbatim — no [n] markers, nothing else on the line. Plain text, never a markdown link or file://. `labels` ({facet: value or [values]}) and `dateFrom`/`dateTo` (YYYY-MM-DD, inclusive) narrow the search to labelled documents when the corpus has a classify.toml; `status` lists its facets and values under `labels` — map an approximate name to a value from there. `filterCounts` then says how many documents in scope were left out only for having no label or no date; each `sources` row carries its `labels` and `date`.
| Name | Type | Req | Description |
|---|---|---|---|
| dateFrom | – | – | – |
| dateTo | – | – | – |
| labels | – | – | – |
| query | string | yes | – |
| scope | – | – | – |
| topK | integer | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
read_chunk_neighbors Read Chunk Neighbors ~106
Read the chunks immediately before and after a search result, for context. Provide exactly one of filePath (absolute path inside a document root) or source (the id of a data/url item). before/after control how many chunks to include on each side of chunkIndex (both default to 1).
| Name | Type | Req | Description |
|---|---|---|---|
| after | integer | – | – |
| before | integer | – | – |
| chunkIndex | integer | yes | – |
| filePath | – | – | – |
| source | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
read_file Read File ~142
Read a source's entire indexed content as Markdown. The document is reconstructed from its chunks, not concatenated from them: the context each chunk repeats so its own vector carries it — a heading breadcrumb, a time-window label, a table's header row — is emitted once, where the document had it. Provide exactly one of filePath (absolute path inside a document root) or source (the id of a data/url item). The response holds the full document text, so large documents produce large responses — prefer read_chunk_neighbors when only the context around one chunk is needed.
| Name | Type | Req | Description |
|---|---|---|---|
| filePath | – | – | – |
| source | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
status Status ~239
Report configuration and index status. Works even when configuration is invalid. Always includes version. When configuration is valid, also includes roots, dbPath, model, hybridWeight, and chunkCount/sourceCount (both present on every call, 0 before anything is indexed) — or, if opening the index itself fails, indexError instead of the counts. When configuration is invalid, includes configError instead, and every other tool raises an error referencing it until the configuration is fixed. chunkScheme is the chunking scheme the index is being written with. staleChunkCount counts chunks still stored under an older scheme — when it is above zero, schemeWarning explains that those chunks need a re-sync to be rebuilt. ocr names the OCR engine this install can use, or is "unavailable" when the optional extra is missing — scanned PDFs and images cannot be indexed then, and ocrHint says what to install. labels, present only when the corpus has a classify.toml: its facets, value descriptions and document counts, unlabelled and uncertain counts, and the model state — or the file's error.
Input schema present but exposes no named parameters.
Structured output declared, but exposes no named fields.
No examples provided.
sync_start Sync Start ~202
Reconcile the index with the document roots (or one path inside them). Returns a jobId immediately; poll sync_status until state is 'succeeded' or 'failed'. New and changed files are ingested, byte-identical files skipped, vanished files removed from the index. A file moved to another folder under the same name and with the same bytes keeps its chunks under the new path instead of being read again. Only the latest sync job is retained — starting a new one, or a server restart, discards the previous job's record. Only one sync runs against an index at a time. If one is already in progress — in this server or in another process, such as a `minirag-mcp sync` in a terminal — this call fails immediately with a message identifying it, and no job is started. Single-file ingests and queries are never blocked by a running sync.
| Name | Type | Req | Description |
|---|---|---|---|
| path | – | – | – |
Structured output declared, but exposes no named fields.
No examples provided.
sync_status Sync Status ~312
Poll a sync job started by sync_start. Returns state ('pending' | 'running' | 'succeeded' | 'failed'), counts (scanned/ingested/skipped/moved/deleted/relabelled/unreadable/ failed), and any per-file errors. Only the latest job is retained — an old jobId, or any jobId from before a server restart, raises an error. relabelled counts documents whose labels were rewritten from their stored text, with nothing re-embedded: classify.toml changed, a move put a file under other path rules, or the model answered after a model problem had left a facet unanswered. It stays 0 without a classify.toml. A labelling problem appears in errors with its message prefixed "labels:"; it is not a failure. unreadable counts indexed sources this installation cannot read because an optional extra is absent (images need [ocr]); each one appears in errors saying it was kept rather than deleted, but it is not a failure and does not make the job fail. A folder the scan could not see into (a missing root, one without read permission, an empty folder where a root was mounted) also appears in errors, and nothing indexed under it is deleted. It counts as failed when it is a root, when indexed files are under it, or when the sync was started for it or for a path inside it.
| Name | Type | Req | Description |
|---|---|---|---|
| jobId | string | yes | – |
Structured output declared, but exposes no named fields.
No examples provided.
How do I install the io.github.sfrangulov/minirag-mcp server?
io.github.sfrangulov/minirag-mcp runs locally as a PyPI package, launched with uvx minirag-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · minirag-mcp
claude mcp add sfrangulov-minirag-mcp -- uvx minirag-mcp
What is the io.github.sfrangulov/minirag-mcp server?
io.github.sfrangulov/minirag-mcp is listed in the public MCP registry as io.github.sfrangulov/minirag-mcp. Local-first RAG MCP server: hybrid search over a folder of your own documents. This page covers its PyPI package (minirag-mcp).
Is the io.github.sfrangulov/minirag-mcp server safe to use?
io.github.sfrangulov/minirag-mcp scores 68 out of 100 on VerifyMCP. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the io.github.sfrangulov/minirag-mcp server expose?
io.github.sfrangulov/minirag-mcp exposes 11 tools: sync_start, sync_status, ingest_file, ingest_data, ingest_url, and 6 more. Their descriptions and schemas cost roughly 2,228 tokens of context every time the server is loaded.
Is the io.github.sfrangulov/minirag-mcp server still maintained?
io.github.sfrangulov/minirag-mcp is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the io.github.sfrangulov/minirag-mcp server under?
io.github.sfrangulov/minirag-mcp declares the MIT AND Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.