anymd
Lets your AI agent turn PDF, Word, PowerPoint, Excel, EPUB, web pages, images and audio into clean Markdown.
1.1k stars on GitHubby SylphxLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add anymd -- npx -y @sylphx/anymd
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Read pages 1 to 5 of report.pdf and summarize them.
Search the contracts folder for indemnification.
What it is
anymd is a fast Rust server and command-line tool that converts files into Markdown that an AI can read. It handles PDFs, Office files, EPUB, HTML and web pages, images with OCR, and audio and video metadata, subtitles and transcripts. It runs on your machine, needs no API key and uploads nothing.
What it can do
read: turn a file, URL or folder into Markdown, with page ranges and a token budgetoutline: show the heading tree of a documentsearch: find text across files, folders and URLsinspect: go deeper on a PDF, with render_page, extract_regions, ocr_pages and structure
When to use
- βΊWhen you want your agent to read a long PDF report without losing tables
- βΊWhen you want to search for a phrase across a folder of contracts
- βΊWhen you want a scanned page or an image read with OCR
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
markdown-converterHelps your agent convert PDFs, Word and Excel files, slides, web pages, audio, and more into clean Markdown text.doc-readerLets your agent read the text from PDFs, Word and Excel files, PowerPoint slides, images and many other document types through one tool.convert-documents-to-markdownLets your agent convert Word, PowerPoint, Excel, PDF and other documents into readable text it can work with.Frequently asked questions
Is it free?
Yes. The readme calls it the free, local mode of the Sylphx AI parse service, with no API key. The hosted service is metered per page.
Does it upload my files?
No. The readme says nothing is uploaded, and OCR and transcripts run locally.
What formats does it read?
PDF, Word, PowerPoint, Excel, EPUB, HTML and web pages, images with OCR, and audio and video.
How does it handle long documents?
Pages come with citation anchors, and a token budget (default 20000) with a cursor keeps large documents within your agent's context.
Was it called something else before?
Yes. The readme says it was formerly pdf-reader-mcp, and it links a migration guide.
Can I limit which folders it reads?
Yes. Add --allow-dir=/path/to/docs to keep the server inside one folder.
If it does not work
- βΊCheck that Node.js is version 18 or newer.
- βΊFor scanned pages, run anymd setup ocr first, since OCR models need explicit setup.
- βΊRun anymd doctor to list the optional tools it found, such as tesseract and ffmpeg.
5 new skills a week. 1 minute to read.