PDF to MD
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PDF to MD — Remote MCP Server & CLI Bridge
Hosted Streamable HTTP Model Context Protocol (MCP) server for converting PDFs, scanned documents (OCR), and images into clean GitHub Flavored Markdown — built for Claude Desktop, Claude Code, Cursor, Windsurf, and custom AI agents.
Hosted MCP Endpoint:
https://pdf-to-md.app/mcp(Streamable HTTP, JSON & SSE)Browser Local Tool (Free, Zero Upload, No Sign-Up): https://pdf-to-md.app/
Developer & REST API Docs: https://pdf-to-md.app/developers
OpenAPI Spec: https://pdf-to-md.app/openapi.json
MCP Registry ID:
io.github.liuyan-wjy/pdf-to-md
This repository provides the open-source (MIT) configuration templates, zero-dependency CLI client, and stdio-to-Streamable-HTTP bridge for connecting any MCP client to the hosted https://pdf-to-md.app/mcp service — without installing Python, PyTorch, Docker, or local OCR weights.
Quick Start (Native Streamable HTTP)
1. Create an API key
Sign in at pdf-to-md.app/settings/apikeys and generate a Bearer token.
Free tier: 100 standard cloud conversions/month, 5 PDF exports/day, and 5 free OCR pages on sign-up (plus unlimited browser-local text PDF conversion on the web app with 0 bytes uploaded).
Pay-as-you-go OCR packs: $5 for 500 OCR pages (valid 12 months, shared across Web, REST API, and MCP).
2. Add to Cursor / Claude Desktop / Windsurf
Add the following to .cursor/mcp.json or your MCP client configuration:
{
"mcpServers": {
"pdf-to-md": {
"url": "https://pdf-to-md.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_PDFTOMD_API_KEY"
}
}
}
}3. Add to Claude Code (CLI)
claude mcp add --transport http pdf-to-md https://pdf-to-md.app/mcp \
--header "Authorization: Bearer $PDFTOMD_API_KEY"4. Legacy stdio-only MCP clients (Zero-Dependency Bridge)
If your client only supports stdio MCP servers (and not native Streamable HTTP yet), run the included bridge with Node.js 20+:
{
"mcpServers": {
"pdf-to-md": {
"command": "node",
"args": ["/path/to/pdf-to-md-mcp/bin/cli.mjs", "stdio"],
"env": {
"PDFTOMD_API_KEY": "YOUR_PDFTOMD_API_KEY"
}
}
}
}Related MCP server: Markitdown MCP Server
Available MCP Tools (5 Tools)
Unauthenticated capability discovery (initialize, tools/list, resources/list, prompts/list, ping) works directly against POST https://pdf-to-md.app/mcp. Executing any tool requires Authorization: Bearer <PDFTOMD_API_KEY>.
Tool | Input | Description |
|
| Fetches a public HTTPS document (PDF, JPEG, PNG, WebP, TIFF, HTML, MD, TXT; up to 10 MB, port 443) and returns |
|
| Starts an async conversion job. Use |
|
| Polls job status ( |
|
| Returns inline |
|
| Checks remaining |
CLI Usage (Node.js 20+, Zero Dependencies)
# Test unauthenticated MCP discovery against live https://pdf-to-md.app/mcp
node bin/cli.mjs discover
# Convert a local PDF or public HTTPS URL via the REST API
export PDFTOMD_API_KEY="your_api_key"
node bin/cli.mjs convert ./report.pdf --mode standard
node bin/cli.mjs convert ./scan.pdf --mode ocr
# Convert a public webpage URL synchronously to Markdown (with YAML frontmatter)
node bin/cli.mjs url https://pdf-to-md.app/guides/pdf-to-markdown-for-llmHow It Compares with Self-Hosted PDF MCP Servers
MCP Server | Hosting & Setup | Scanned PDF OCR | Best Fit |
PDF to MD ( | Hosted remote Streamable HTTP (0 local setup) | Built-in cloud OCR (5 free pages; $5 / 500 pages) | Claude / Cursor agents needing PDF + OCR with zero Python/Docker maintenance |
| Self-hosted Python / Docker + ML models | Local ML models (CPU/GPU required) | Air-gapped or high-volume self-hosted pipelines |
| Self-hosted Python stdio / local server | Text-first; scans require extra OCR tooling | Local developer machine scripts |
| Web-scraping MCP | Focuses on website crawling | Scraping multi-page websites for LLMs |
Privacy & Limits
Hosted MCP & Cloud OCR: Original uploaded files are deleted right after processing; generated results remain downloadable for 24 hours. Cloud limits: up to 10 MB / 100 pages per PDF.
Zero-Upload Local Mode (Web): Need 0-byte upload for confidential text PDFs? Open pdf-to-md.app directly in your browser (free, no sign-up, up to 50 MB / 500 pages).
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Convert files, URLs, and documents to clean, AI-ready Markdown via MCP.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceConverts PDF, Word, and Excel documents to Markdown with image extraction and header/footer removal via MCP or REST API.53MIT
- FlicenseNot gradedqualityDmaintenanceConverts documents (PDF, DOCX, images, etc.) to Markdown using Microsoft's Markitdown library, with no local setup required. Integrates with AI agents via MCP for seamless document conversion.1-
- AlicenseNot gradedqualityCmaintenanceConverts documents and images to Markdown using Mistral AI's OCR, enabling AI-powered document processing via MCP-compatible clients like Claude Desktop.58 npm2MIT
- FlicenseNot gradedqualityDmaintenanceClassifies PDFs (text-based vs scanned vs image vs mixed), extracts text, and converts to clean Markdown over Streamable HTTP MCP. Supports remote PDFs via URL or base64, with optional page restriction and OCR fallback detection.-