anymd — Claude Code MCP server: what it does, how to install
Converts PDF, office documents, web pages, and media into clean Markdown locally. Keeps AI agent context accurate without sending files to third-party services.
claude mcp add anymd -- npx -y @sylphx/anymdWhat anymd does
Built in native Rust, anymd converts files locally. No API key is needed. The tool handles documents page by page in parallel: it reconstructs multi-column text into logical reading order, recovers borderless tables, and inserts page citation anchors. Beyond PDF, it processes Word, Excel, PowerPoint, EPUB, web URLs, audio, and video files.
Running the server via npx requires Node 18 or newer. OCR and audio transcription depend on local engines like tesseract, ffmpeg, and bundled Qwen3-ASR, which download model files only after explicit opt-in.
The server protects context limits with token budgets and cursors. To isolate the server to a specific folder on your drive, use the --allow-dir flag.
What it helps with
- convert PDF files and office spreadsheets into Markdown
- parse borderless tables without breaking layout
- feed local document contents to an agent without external cloud calls
- search across mixed file formats in a single folder
Example prompts for the agent
- Extract the financial table from page 4 of
report.pdf - Search for authentication details across the
docs/folder - Convert
presentation.pptxinto clean Markdown with front matter
How to install anymd
Platform CLI
claude mcp add anymd -- npx -y @sylphx/anymdPlatform CLI
codex mcp add anymd -- npx -y @sylphx/anymdConfig file
{
"mcpServers": {
"anymd": {
"command": "npx",
"args": [
"-y",
"@sylphx/anymd"
]
}
}
}Config file
{
"servers": {
"anymd": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sylphx/anymd"
]
}
}
}Platform CLI
gemini mcp add anymd npx -y @sylphx/anymdStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about anymd
How to install anymd in Claude Code?
Run claude mcp add anymd -- npx -y @sylphx/anymd. You can also configure all installed MCP clients at once by running npx -y @sylphx/anymd setup.
What formats does anymd support?
It handles PDF, Word, Excel, PowerPoint, EPUB, HTML pages, and web URLs. It also extracts metadata, OCR from images, and transcripts from audio or video.
Does anymd require an external API key?
No API key is required. The engine runs locally on your machine, and local models for OCR or transcription download only when explicitly approved.