PDF2MD
FreeNot checkedConverts PDF files to Markdown format with incremental processing that resumes from existing page markers, supporting both local files and URLs with fallback ha
About
Converts PDF files to Markdown format with incremental processing that resumes from existing page markers, supporting both local files and URLs with fallback handling for various content extraction scenarios.
README
An MCP (Model Context Protocol) server that converts PDF files to Markdown format using AI sampling capabilities.
Features
- Convert PDF files to Markdown using AI content extraction
- Support for both local file paths and URLs
- Incremental conversion - resume from where you left off
- Configurable output directory
- Built with FastMCP for high performance
Installation
pip install pdf2md-mcp
Usage
As an MCP Server
Start the server:
pdf2md-mcp
The server will expose MCP tools for PDF to Markdown conversion.
Available Tools
convert_pdf_to_markdown
Converts a PDF file to Markdown format using AI sampling.
Parameters:
file_path(string): Local file path or URL to the PDF fileoutput_dir(string, optional): Output directory for the markdown file. Defaults to the same directory as input file (for local files) or current working directory (for URLs)
Returns:
output_file: Path to the generated markdown filesummary: Summary of the conversion taskpages_processed: Number of pages processed
Requirements
- Python 3.10+
- An MCP-compatible client with AI sampling capabilities
- Network access for URL-based PDF files
Development
Setup
git clone https://github.com/shuminghuang/pdf2md-mcp.git
cd pdf2md-mcp
pip install -e ".[dev]"
Running Tests
pytest
Code Formatting
black .
isort .
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Installing PDF2MD
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/gavinhuang/pdf2md-mcpFAQ
Is PDF2MD MCP free?
Yes, PDF2MD MCP is free — one-click install via Unyly at no cost.
Does PDF2MD need an API key?
No, PDF2MD runs without API keys or environment variables.
Is PDF2MD hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install PDF2MD in Claude Desktop, Claude Code or Cursor?
Open PDF2MD on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare PDF2MD with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
