What you can ask for
Once it is connected, ask in plain language. The agent picks the tool, uploads local files itself, and reads the result.- “Convert
~/Downloads/lease.pdfto Markdown and list every date and amount in a table.” - “Read https://arxiv.org/pdf/2005.14165 and summarize the method section.”
- “Pull the tables out of
invoices/march.pdfand save them as CSV.” - “Convert the Word files in
docs/specsto Markdown and save each one next to the original.” - “This scanned contract is in Chinese. Convert it and translate the termination clause.”
Set it up
1
Get an API key
Sign in at anythingmd.com and create a key under Settings → API Keys. New accounts include 20 free pages.
2
Save the key as an environment variable
The configs below read the key from Open a new terminal and restart your editor or agent so it picks up the variable.
ANYTHINGMD_API_KEY, so it never sits in a file you might commit.macOS / Linux
Windows
3
Add the server to your agent
Pick your client. Every config points at The same snippets are under Settings → API Keys with a copy button.
https://mcp.anythingmd.com/mcp.- Claude Code
- Codex
- Cursor
- VS Code
- Windsurf
- Kilo
- Other clients
Run in a terminal. Start a new session and run
-s user makes it available in every project; the single quotes keep the key out of Claude Code’s config, which reads it from the variable when it connects./mcp to check that anythingmd is connected.Try it
Ask your agent:Convert https://www.irs.gov/pub/irs-pdf/fw9.pdf to Markdown.Within about 20 seconds you should see the form as Markdown, plus how many credits it used. If the agent says it has no such tool, or the call fails with an authentication error, see Troubleshooting.
Not supported yet
Claude.ai, ChatGPT and the Claude desktop app add servers as connectors that sign in through a browser (OAuth). The AnythingMD MCP server uses API keys only, so those apps can’t connect yet. Use one of the clients above.What it costs
MCP uses the same credits as the website: 15 credits a page, OCR included, with packs from $5 for 200 pages. Failed and canceled conversions are free. Your agent reports the credits each conversion used. See Pricing and limits.How it works
- Local files go straight to storage through a short-lived upload link. The file never passes through the chat. Agents with a terminal upload it themselves; others hand you a browser link to upload it.
- Long documents come back a page at a time (about 20,000 tokens each), so one PDF doesn’t fill the agent’s context. The agent also gets a download link for the whole Markdown file.
- Five tools do the work:
convert_to_markdown,create_upload,get_conversion,get_pricingandcancel_job. You don’t call them yourself; see the Tools reference if you’re building on them.
Troubleshooting
Key not picked up, uploads, large files, errors.
Tools reference
Arguments and replies, for building on the server.