anymd
PDF, Word, PowerPoint, Excel, EPUB, HTML and web pages, images (OCR), audio and video (metadata, subtitles, transcripts). A fast Rust MCP server and CLI that runs on your machine. No API key.
Need verifiable PDF quote checks and video frames? Get [anymd Pro](https://anymd.sylphx.com/pricing) to verify PDF quotes and cite exact video frames offline for US$29 once.
[](https://www.npmjs.com/package/@sylphx/anymd)
[](https://www.npmjs.com/package/@sylphx/anymd)
[](https://github.com/SylphxAI/anymd/stargazers)
[](https://registry.modelcontextprotocol.io/v0/servers?search=anymd)
[](https://github.com/SylphxAI/anymd/blob/main/LICENSE)
[](https://scorecard.dev/viewer/?uri=github.com/SylphxAI/anymd) [](https://github.com/SylphxAI/repomap#agent-readiness-score)
[Install](#install) · [Benchmarks](#benchmarks) · [Tools](#mcp-tools) · [CLI](#cli) · [Formats](#formats) · [Docs](https://anymd.sylphx.com/?utm_source=github&utm_medium=readme) · [Pro, US$29 once](https://anymd.sylphx.com/pricing?utm_source=github&utm_medium=readme&utm_content=nav)
Formerly **pdf-reader-mcp**. [Migrating from pdf-reader-mcp](https://anymd.sylphx.com/guide/migration)
A real, unedited terminal recording (asciinema + agg, script). The last command is Claude Code answering from the PDF through the anymd MCP server.
```bash
npx -y @sylphx/anymd setup # add anymd to every MCP client on this machine
npx -y @sylphx/anymd setup --client cursor,claude-code,codex # or only the clients you name
npx -y @sylphx/anymd report.pdf > report.md # or convert from the shell
```
Also on Homebrew (`brew install sylphxai/tap/anymd`), crates.io (`cargo install anymd`) and Docker (`ghcr.io/sylphxai/anymd`). See [every install option](#install).
**Head to head on the same 38 documents** (AgentDocBench score · time for all 38 · output tokens):
- [vs Docling](https://anymd.sylphx.com/vs/docling?utm_source=github&utm_medium=readme&utm_content=vs_docling): **96.4** vs 93.0 · **11.5 s** vs 2,432.4 s · **14% fewer tokens**
- [vs Kreuzberg](https://anymd.sylphx.com/vs/kreuzberg?utm_source=github&utm_medium=readme&utm_content=vs_kreuzberg): **96.4** vs 81.7 · **11.5 s** vs 16.0 s · **19% fewer tokens**
- [vs Unstructured](https://anymd.sylphx.com/vs/unstructured?utm_source=github&utm_medium=readme&utm_content=vs_unstructured): **96.4** vs 81.2 · **11.5 s** vs 346.5 s · **11% fewer tokens**
- [vs MarkItDown](https://anymd.sylphx.com/vs/markitdown?utm_source=github&utm_medium=readme&utm_content=vs_markitdown): **96.4** vs 76.8 · **11.5 s** vs 75.6 s · **32% fewer tokens**
## Why anymd
- **Fast.** Native Rust converts in parallel, page by page. On the 38 benchmark documents, anymd takes **11.5 s** in total; docling 2,432.4 s (212×), markitdown 75.6 s (7×); marker converted 30 of them in 7,104.5 s, against anymd's 4.64 s on the same 30 (1,532×).
- **Accurate.** A layout engine rebuilds words from glyph gaps, puts two-column papers in reading order, and recovers tables, including borderless ones. The text stays exactly as printed, with no glued words and no scrambled columns.
- **Lean on tokens.** Pages come back as Markdown with `` citation anchors, a small front-matter header, and compact tables. A token budget and a cursor keep large documents within your agent's context.
- **Every format, one call.** One tool reads every format listed below. It also accepts web URLs and whole directories, and `search` looks across all of them.
- **Local and private.** Nothing is uploaded. OCR uses installed local doc-VLM models or tesseract; transcripts use ffmpeg and bundled Qwen3-ASR. OCR setup and ASR model downloads require explicit opt-in.
- **Evidence your agent can show (Pro).** [anymd Pro](#anymd-pro) checks a PDF quote against the page and area it cites, and returns the exact video frame behind a claim. US$29, one payment.
## Install
Add anymd to every MCP client on your machine (Claude Code, Codex, Cursor, VS Code, Claude Desktop, Windsurf, Gemini CLI) with one command:
```bash
npx -y @sylphx/anymd setup # --dry-run to preview, --remove to undo
```
To set up only some clients, name them: `--client cursor,claude-code,codex`. The other ids are `vscode`, `vscode-insiders`, `claude-desktop`, `windsurf` and `gemini`.
Or add it by hand: every MCP client runs the same command, `npx -y @sylphx/anymd`. Node 18+ is the only requirement; npm installs the native binary for your platform.