Hosted Streamable HTTP MCP
Remote PDF to Markdown MCP Server
Connect Cursor, Windsurf, Claude Code, or Claude Desktop to https://pdf-to-md.app/mcp over Streamable HTTP. Convert remote PDFs, scanned documents (OCR), and images into clean Markdown with zero local Python, GPU, or Docker setup.
Last updated · PDF to MD
Connect in 3 steps
- 1
Sign in and generate a Bearer API key in Settings → API Keys (new accounts include 100 standard cloud conversions/month and 5 free OCR pages).
- 2
Add https://pdf-to-md.app/mcp to your client: Cursor, Windsurf, and Claude Code connect over Streamable HTTP directly; Claude Desktop connects through the mcp-remote bridge (configs below).
- 3
Ask your AI client to fetch a public HTTPS PDF URL with upload_remote_file, run create_conversion (mode "standard" or "ocr"), poll get_conversion, and read clean Markdown via read_result.
Cursor, Windsurf & Claude Desktop configuration
Each client uses a slightly different format. Cursor reads a url plus headers, Windsurf requires serverUrl instead of url, and Claude Desktop only launches local processes from claude_desktop_config.json, so it connects through the mcp-remote bridge (requires Node.js). Copy the block for your client and replace YOUR_PDFTOMD_API_KEY with your token from /settings/apikeys.
// Cursor: ~/.cursor/mcp.json (global) or .cursor/mcp.json (project)
{
"mcpServers": {
"pdf-to-md": {
"url": "https://pdf-to-md.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_PDFTOMD_API_KEY"
}
}
}
}
// Windsurf: ~/.codeium/windsurf/mcp_config.json (uses "serverUrl")
{
"mcpServers": {
"pdf-to-md": {
"serverUrl": "https://pdf-to-md.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_PDFTOMD_API_KEY"
}
}
}
}
// Claude Desktop: claude_desktop_config.json (local mcp-remote bridge, needs Node.js)
{
"mcpServers": {
"pdf-to-md": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://pdf-to-md.app/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer YOUR_PDFTOMD_API_KEY"
}
}
}
}Claude Code CLI & zero-auth discovery test
If you use Claude Code from the terminal, register the hosted remote MCP server with one command:
claude mcp add --transport http pdf-to-md https://pdf-to-md.app/mcp \
--header "Authorization: Bearer $PDFTOMD_API_KEY"
# Verify live tool discovery without an API key:
curl -sS -X POST "https://pdf-to-md.app/mcp" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Available MCP tools (5 tools)
The hosted MCP server exposes five typed tools for async document conversion, OCR, Markdown-to-PDF export, and pre-flight quota checks.
| Tool | Arguments | Behavior & limits |
|---|---|---|
| upload_remote_file | { url } | Downloads a public HTTPS file (port 443, up to 10 MB; PDF, JPEG, PNG, WebP, TIFF, HTML, MD, TXT) and returns { id, filename, pages, finalUrl }. |
| create_conversion | { uploadId, mode, idempotencyKey? } | Queues an async job: mode "standard" for text PDFs/docs, "ocr" for scans/images (1 OCR page per page), or "pdf" to export Markdown to A4 PDF. Reusing idempotencyKey prevents double-charging. |
| get_conversion | { id } | Polls job status ("succeeded", "failed", "cancelled"), progress, page count, and error details. |
| read_result | { id } | Returns inline { markdown, assets } JSON up to 128 KB, or a { url, contentType } download descriptor for PDF outputs and larger Markdown payloads. |
| get_usage | {} | Returns remaining { ocr, standard, export, plan } quotas so agents can check balance before large OCR runs. |
How PDF to MD Remote MCP compares with docling-mcp, markitdown-mcp & Firecrawl MCP
Most PDF-to-Markdown MCP servers require installing Python, Docker, or local OCR models on every developer machine. Firecrawl MCP focuses primarily on web scraping rather than document OCR and PDF-to-Markdown conversion. PDF to MD runs as a hosted remote Streamable HTTP endpoint you connect to in under a minute.
| MCP Server | Hosting & setup | Scanned PDF OCR | Best fit |
|---|---|---|---|
| PDF to MD (/mcp) | Hosted remote Streamable HTTP (0 local install) | Built-in cloud OCR (5 free pages, $5 / 500 pages) | Claude/Cursor agents converting remote PDFs, scans & images with zero infrastructure |
| docling-mcp | Self-hosted Python / Docker + ML models | Local ML models (CPU/GPU required) | Air-gapped or high-volume self-hosted enterprise pipelines |
| markitdown-mcp | Self-hosted Python stdio / local server | Text-first; scans require extra OCR tooling | Local Office/PDF scripts inside a developer machine |
| firecrawl-mcp-server | Hosted / self-hosted web scraping MCP | Web-crawling focus (not dedicated PDF OCR) | Crawling and scraping multi-page websites for LLMs |
Local files on disk & synchronous webpage URLs
Remote MCP servers cannot read arbitrary paths directly off your laptop filesystem. To convert a local PDF from a script or agent, upload the bytes first via POST https://pdf-to-md.app/api/v1/uploads to obtain an uploadId, then pass that uploadId to create_conversion—or use the zero-upload browser converter at /.
For converting an HTML webpage URL synchronously with YAML frontmatter and optional headless-browser JS rendering, call POST https://pdf-to-md.app/api/v1/url-to-markdown or use /url-to-markdown directly in the browser.
Remote MCP Server FAQ
Does the remote MCP server require Docker or Python?
No. https://pdf-to-md.app/mcp is fully hosted over Streamable HTTP. Cursor, Windsurf, and Claude Code only need the URL and your Bearer API key. Claude Desktop needs Node.js for the small mcp-remote bridge, but no Python, Docker, or models.
Can I convert scanned PDFs and images through MCP?
Yes. Pass a public HTTPS PDF or image URL to upload_remote_file, then call create_conversion with mode "ocr". Each PDF page or image uses 1 OCR credit (5 free pages after signup; $5 buys 500 extra pages valid for 12 months).
Why does read_result return a URL for large documents?
Markdown results up to 128 KB are returned inline as structured JSON. Larger Markdown outputs and exported PDFs return a download descriptor so massive documents do not overflow your agent context window.
How is data handled for MCP conversion jobs?
MCP jobs run on our cloud conversion pipeline: uploaded source files are deleted after processing completes, and generated results remain downloadable for 24 hours. For zero-upload local conversion of text PDFs, use the browser tool at /.
Can I test tools/list before creating an account?
Yes. initialize, tools/list, and ping work without authentication on POST https://pdf-to-md.app/mcp, so you can inspect all five tool schemas before signing up. Calling a tool requires an Authorization: Bearer header.