# Ragmir (npm · @jcode.labs/ragmir)

Cited local retrieval for agents: search code, PDFs, and Office files with exact citations.

- Trust score: 89/100 (high trust)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-12-01

## Components

- npm · `@jcode.labs/ragmir`: 89/100 (this document), [markdown](https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir.md), [page](https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir)
- oci · `ghcr.io/jcode-works/ragmir`: 48/100, [markdown](https://verifymcp.io/servers/jcode-works-ragmir/ghcr-io-jcode-works-ragmir.md), [page](https://verifymcp.io/servers/jcode-works-ragmir/ghcr-io-jcode-works-ragmir)

## Channel facts

- Registry: `npm`
- Package: `@jcode.labs/ragmir`
- Version: `6.20.0`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-12-01.

- **Supply Chain Security**: 98/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 62 of 194 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 100/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to jcode-works/ragmir).
  - Clear OSI-approved license (AGPL-3.0-only).
  - Actively maintained (last published 5 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 76/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1818 tokens (~227/item across 8 items; 6 tools + 2 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 57/100
  - Stability observed for 17 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Ragmir MCP server?

Ragmir runs locally as an npm package, launched with npx -y @jcode.labs/ragmir serve-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add jcode-works-ragmir -- npx -y @jcode.labs/ragmir serve-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "jcode-works-ragmir": {
      "command": "npx",
      "args": [
        "-y",
        "@jcode.labs/ragmir",
        "serve-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "jcode-works-ragmir": {
      "command": "npx",
      "args": [
        "-y",
        "@jcode.labs/ragmir",
        "serve-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add jcode-works-ragmir -- npx -y @jcode.labs/ragmir serve-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "jcode-works-ragmir": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@jcode.labs/ragmir",
        "serve-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add jcode-works-ragmir --command npx --arg -y --arg @jcode.labs/ragmir --arg serve-mcp
```

### Hermes

```yaml
mcp_servers:
  jcode-works-ragmir:
    command: "npx"
    args: ["-y", "@jcode.labs/ragmir", "serve-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "jcode-works-ragmir": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@jcode.labs/ragmir",
        "serve-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add jcode-works-ragmir -t stdio -c npx -a -y @jcode.labs/ragmir serve-mcp
```

### Other

```json
{
  "mcpServers": {
    "jcode-works-ragmir": {
      "command": "npx",
      "args": [
        "-y",
        "@jcode.labs/ragmir",
        "serve-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-30 (score 89, +1)

No change was recorded against any check on this day. Stability & Change Management went from 50 to 53. That category is still filling its 30-day observation window: 15 days of observed history at the previous scan, 16 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-28 (score 88, +1)

No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-26 (score 87, +11)

- [security improvement] Known CVEs: unverified → pass
- [functional improvement] Dependency health: unverified → 0.86

### 2026-11-25 (score 76, −10)

- [security regression] Known CVEs: pass → unverified
- [functional regression] Dependency health: 0.86 → unverified
- [functional] Package version: 6.17.2 → 6.20.0
- [functional] Package version: 6.17.2 → 6.19.0

### 2026-11-24 (score 86, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-22 (score 85, +1)

No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-21 (score 84, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-20 (score 69, −15)

- [security regression] Known CVEs: pass → unverified
- [security regression] Malware scan: pass → unverified
- [functional regression] Schema quality: 172 → 227
- [functional regression] Dependency health: 0.86 → unverified
- [functional] Package version: 6.15.2 → 6.17.2
- [functional] Package version: 6.15.2 → 6.17.1
- [functional] Package version: 6.15.2 → 6.17.0
- [functional] Package version: 6.15.2 → 6.16.0

## MCP tools (6)

### `ragmir_status` (~74 tokens)

Ragmir status: workdir

Quick health check of the "workdir" knowledge base (/workdir): whether it is ready to search, index freshness, the embedding model, the named scopes ragmir_search accepts, and next steps. Call it first when unsure the base is indexed; use ragmir_audit to find which files are missing or stale.

### `ragmir_search` (~549 tokens)

Ragmir search: workdir

Search the "workdir" knowledge base (/workdir) for cited passages. Returns compact citations by default; send related questions together in queries (up to 5) to share one budget. Passages already returned in this session come back as short seen stubs. Each result has a citation (path, lines or page, chunk), an excerpt from its lines that hold the question's words (excerptLine gives the first line), pathContext when the configuration describes its folder, and weakEvidence when support is thin. An empty result means the base holds no evidence, so say so instead of guessing; a notice names question words that no indexed passage holds. When a question is hard to word, add searches: your own lex, vec, or hyde formulations of it, fused into one ranking. Expand one citation, or set compact:false, only when full text is needed.

Input parameters:

- `compact` (boolean): Default true: citations with short excerpts. false returns full passage text.
- `contextPaths` (array): Limit hits to these heading paths, such as "Guide > Migration".
- `contextRadius` (number): Neighbouring chunks added on each side of a hit, 0 to 3.
- `excludePaths` (array): Skip files under these project-relative paths or globs.
- `explain` (boolean): Adds the retrieval query and ranking signals; signals, not confidence.
- `includePaths` (array): Search only files under these project-relative paths or globs.
- `intent` (string): What the question is about, in a few words. It picks the excerpt lines; it never searches on its own.
- `maxBytes` (number): Output budget in bytes for this call; the server caps it at its configured maximum.
- `maxChunksPerDocument` (number): Most passages returned from one file. Default 1.
- `queries` (array): Instead of query: up to 5 related questions answered together in one output budget.
- `query` (string): One question, in natural language or with exact identifiers.
- `scope` (string): A named source scope from the config; ragmir_status lists them.
- `searches` (array): With query: your own formulations of the same need, fused with it into one ranking. lex: keywords, "exact phrase", -excluded word; vec: a paraphrase; hyde: a short passage that would answer it.
- `seen` (string): Passages already returned in this session: collapse (default) to short stubs, include them in full again, or exclude them.
- `topK` (number): Passages per question. Default 3; the server caps it.

### `ragmir_expand` (~304 tokens)

Ragmir expand: workdir

Read the full indexed text of one citation from the "workdir" knowledge base: the cited chunk plus up to 3 neighbouring chunks on each side, within the output budget. Use it after ragmir_search to quote or verify a passage before relying on it. To read a whole document, expand the returned nextCitation (or previousCitation) with the same contextRadius until it is absent; documentChunks counts the document's chunks. Pass citations (up to 5) instead of citation to read several in one output budget. Read-only; reports found:false when the citation is no longer in the index, with suggestedCitation (the nearest passage of a document still indexed) or similarPaths (indexed files with a close name) to try instead.

Input parameters:

- `citation` (string): A citation from ragmir_search, such as docs/runbook.md:L12-L18#4 or specs/brief.pdf:p3#2.
- `citations` (array): Instead of citation: up to 5 citations read together in one output budget.
- `contextRadius` (number): Neighbouring chunks to include on each side, 0 to 3.
- `expectedEvidenceId` (string): The evidence id ragmir_search returned with that citation. If the indexed passage has changed since, the call fails with EVIDENCE_CHANGED instead of returning other text.
- `maxBytes` (number): Output budget in bytes for this call; the server caps it at its configured maximum.

### `ragmir_audit` (~229 tokens)

Ragmir audit: workdir

Diagnose the "workdir" sources rather than search them: compare files on disk with the index for coverage, missing or stale files, source rules that match nothing, and index concentration. Use it when results look incomplete; ragmir_status is the quicker readiness check. With knowledge:true it audits the indexed Markdown pages as a knowledge base instead: broken links, missing and unlinked pages, duplicate titles, broken citations, and derived pages whose sources changed. Returns a summary unless detail:true.

Input parameters:

- `assumeRemoved` (array): With knowledge: also report what removing these pages would break.
- `detail` (boolean): true lists every affected path instead of counts and the first examples.
- `knowledge` (boolean): true audits the indexed Markdown pages instead: broken links, missing and unlinked pages, duplicate titles, broken citations, and pages whose declared sources changed or left.
- `maxBytes` (number): Output budget in bytes for this call; the server caps it at its configured maximum.
- `paths` (array): With knowledge: audit only these pages, folders, files, or globs.

### `ragmir_sources` (~276 tokens)

Ragmir sources: workdir

List the documents of the "workdir" knowledge base (/workdir): indexed files with their chunk counts and, for a Markdown page, the title and description of its front matter, and files missing from the index or changed since indexing. Filter with paths (folders, files, or globs such as docs/** or **/*.pdf) and page with offset. Use it to answer which documents exist or to choose includePaths for ragmir_search; ragmir_search finds what they say. Read-only.

Input parameters:

- `changedSince` (string): An ISO date or time, such as your last pass: adds the indexed files modified since then and those the last ingest removed.
- `limit` (number): Files per page, 1 to 100. Default 50.
- `maxBytes` (number): Output budget in bytes for this call; the server caps it at its configured maximum.
- `offset` (number): Files to skip; pass page.nextOffset from the previous call to read the next page.
- `outline` (boolean): With paths naming one file: its outline, each heading path with the citation of its first passage, to expand one section of a long document.
- `paths` (array): Folders, files, or globs such as docs/** or **/*.pdf. Lists every indexed file when omitted.

### `ragmir_ingest` (~159 tokens)

Ragmir ingest: workdir

Refresh the "workdir" knowledge base after its source files changed: an incremental ingest that re-reads only new or modified files and keeps the previous index searchable until the new one is validated. It writes only Ragmir's private index, never project files. Call it when ragmir_status, ragmir_sources, or search results report missing or changed files. It waits up to waitSeconds (default 30) and reports progress when the run takes longer; call it again to keep waiting. Which files are indexed is set in the project's Ragmir configuration, not here.

Input parameters:

- `waitSeconds` (number): Seconds to wait for the run to finish, 0 to 600. Default 30; the run continues in the background afterwards.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir#diagnostics

## Score history

- 2026-12-01: 89
- 2026-11-30: 89
- 2026-11-29: 88
- 2026-11-28: 88
- 2026-11-27: 87
- 2026-11-26: 87
- 2026-11-25: 76
- 2026-11-24: 86
- 2026-11-23: 85
- 2026-11-22: 85
- 2026-11-21: 84
- 2026-11-20: 69
- 2026-11-19: 84
- 2026-11-18: 83
- 2026-11-17: 83
- 2026-11-16: 72
- 2026-11-15: 57
- 2026-11-14: 67

## Common questions

### What is the Ragmir MCP server?

Ragmir is an MCP server listed in the public MCP registry as io.github.jcode-works/ragmir. Cited local retrieval for agents: search code, PDFs, and Office files with exact citations. This page covers its npm package (@jcode.labs/ragmir).

### Is the Ragmir MCP server safe to use?

Ragmir scores 89 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 1 December 2026. It declares no install or post-install scripts. 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 Ragmir MCP server expose?

Ragmir exposes 6 tools: ragmir_status, ragmir_search, ragmir_expand, ragmir_audit, ragmir_sources, ragmir_ingest. Their descriptions and schemas cost roughly 1,591 tokens of context every time the server is loaded.

### Is the Ragmir MCP server still maintained?

Ragmir is still listed as active in the MCP registry. We last reached this channel on 1 December 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 Ragmir MCP server under?

Ragmir declares the AGPL-3.0-only licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Ragmir MCP server?

VerifyMCP ran 16 checks on Ragmir, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@jcode.labs/ragmir
- Socket report: https://socket.dev/npm/package/@jcode.labs/ragmir
- Repository: https://github.com/jcode-works/ragmir
- Website: https://ragmir.com/
- Changelog RSS feed: https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir.xml
- Changelog JSON feed: https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir.json
- HTML version of this page: https://verifymcp.io/servers/jcode-works-ragmir/jcode-labs-ragmir
