P

Pdf2md

A high-performance PDF to Markdown service based on MCP, supporting batch processing of local files and URLs, retaining the document structure and intelligently optimizing the output.
2.5 points
23

What is MCP-PDF2MD?

MCP-PDF2MD is a PDF to Markdown service based on the Model Context Protocol. It can convert PDF documents into a structured Markdown format with high quality, retaining elements such as the layout, formulas, and tables of the original document.

How to use MCP-PDF2MD?

Through simple configuration, you can integrate this service into LLM clients such as Claude Desktop or use it directly via the command line. The service supports two input methods: local PDF files and online PDF links.

Applicable scenarios

Suitable for scenarios where PDF files such as academic papers, technical documents, and business reports need to be converted into an editable Markdown format. It is especially suitable for researchers, content creators, and technical document writers.

Main features

Format conversionConvert PDF files to a structured Markdown format
Multi-source supportSupport processing local PDF files and URL links
Batch processingSupport batch conversion of multiple files and efficiently process a large number of PDF files
Formula conversionAutomatically recognize and convert formulas in the document to LaTeX format
Table extractionAutomatically recognize and convert tables in the document to a structured format

Advantages and limitations

Advantages
Extract high-quality content and retain the original document structure
Support processing of complex layouts, including single-column and multi-column documents
Automatically clean up interfering elements such as headers and footers
Seamlessly integrate with LLM clients such as Claude Desktop
Limitations
Dependent on the MinerU API and requires applying for an API key
Limited support for some special PDF formats
May take a long time when batch processing a large number of files

How to use

Clone the repository
Clone the project code to the local machine
Create a virtual environment
Create and activate a Python virtual environment
Install dependencies
Install the dependencies required by the project
Configure the API key
Set the MinerU API key in the .env file
Start the service
Run the service to start using

Usage examples

Convert an academic paperConvert an academic paper PDF to Markdown format, retaining formulas and references
Batch convert technical documentsBatch convert multiple technical document PDFs stored locally

Frequently Asked Questions

How to obtain a MinerU API key?
Which PDF formats does the service support?
Where are the converted Markdown files saved?
Does it support the conversion of Chinese PDFs?

Related resources

MinerU official website
The MinerU official website to obtain API keys and documentation
GitHub repository
Project source code and latest updates
MinerU API documentation
Detailed usage instructions for the MinerU API
Installation
Copy the following command to your Client for configuration
{
    "mcpServers": {
        "pdf2md": {
            "command": "uv",
            "args": [
                "--directory",
                "C:\\path\\to\\mcp-pdf2md",
                "run",
                "pdf2md",
                "--output-dir",
                "C:\\path\\to\\output"
            ],
            "env": {
                "MINERU_API_KEY": "your_api_key_here"
            }
        }
    }
}

{
    "mcpServers": {
        "pdf2md": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/mcp-pdf2md",
                "run",
                "pdf2md",
                "--output-dir",
                "/path/to/output"
            ],
            "env": {
                "MINERU_API_KEY": "your_api_key_here"
            }
        }
    }
}
Note: Your key is sensitive information, do not share it with anyone.
Featured MCP Services
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
100
4.3 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
153
4.5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
840
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
575
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
5.2K
4.7 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
761
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase