Document corpus MCP server
io.github.jorgell23-sys/mdcx·v1.0.3·2 starsQuery a verified document collection: passages that answer a question, with their source.
2 stars128 downloads/wk
Reviews
Write oneNobody has reviewed Document corpus yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Document corpus tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
documentReturn the full text of one document in the corpus.
infoReturn the corpus record without querying it.
searchReturn passages answering the query.
Public scan report
scanner v0.1.10 · 2026-11-02 · same rubric, same numbers if you re-run it
- Code scan16 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 52 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Document corpus compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 48,243 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 75% of 28,706 servers
- Downloads a week
- 128
- more than 68% of 12,306 servers with a package
What its tools let an agent do: 3 read
Install Document corpus in Claude Code, Cursor or VS Code
claude mcp add mdcx -- uvx mdcx
What the publisher says
From the Document corpus repository's README, as published. We do not edit it. Read it on GitHub
mdcx
<!-- mcp-name: io.github.jorgell23-sys/markdown-document-search -->
Convert a document collection to verified Markdown, package it into a single encrypted archive with its search index and provenance, and serve it to agents over the Model Context Protocol.
Contents
- Scope
- Requirements
- Installation
- Quick start
- Conversion
- Packaging
- Querying
- Retrieval model
- Calibration
- Vocabulary
- Transcription recovery
- Expressions
Scope
mdcx addresses one constraint. An agent asked a question about a document collection must either receive the documents in its context window, which is bounded and billed per token, or query a component that holds an index and returns only the passages that bear on the question. mdcx implements the second.
Three properties define the result:
original exposes and the coverage achieved is recorded per file. Files that expose no text are marked unverifiable rather than reported as complete. What the comparison establishes differs by engine, and Verification states which.
- Fidelity is checked. Each conversion is compared against the text the
single AES-256-GCM file whose header can be read without the key, and which may be signed.
- The corpus is one artefact. Passages, index and provenance are held in a
position, so an answer can be quoted against a location.
- Answers are citable. Every passage carries its source document and its
The pipeline has three stages. Conversion attempts each document with the least expensive engine able to read it and escalates only where that engine falls short: direct text extraction, then a pass that recovers drawn tables, then layout analysis, and optical character recognition for documents that expose no text. Packaging writes the corpus, its index and the provenance of each passage to one file. Retrieval merges word matching and dense retrieval by reciprocal rank, and states when nothing in the corpus bears on the question rather than returning its nearest passage.
Requirements
Python 3.11 or later. No other component is required to query a package.
The floor is 3.11 because a package is one SQLite database, loaded from the decrypted bytes when it is opened, and sqlite3 gained the required call in that version. Conversion and cross-language retrieval each add dependencies, listed under Installation.
Installation
Querying and conversion are separated because their requirements differ by roughly two orders of magnitude. A recipient who only reads packages installs neither Docling nor PyTorch.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Document corpus: common questions
- Is Document corpus MCP server safe?
- Mostly: it is graded B (78/100). Read the Document corpus safety report
- How do I install Document corpus?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Document corpus need an API key?
- Yes. The registry entry asks for
MDCX_KEY. - Is Document corpus maintained?
- The last commit was 55 days ago (2026-09-11). The latest release is v1.0.3.
- How does Document corpus compare with other MCP servers?
- safety score 78/100 (higher than 57% of 48,243 servers); tools 3 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.