MCP Pdf2md MCP Server

An MCP-based high-performance PDF to Markdown conversion service powered by MinerU API, supporting batch processing for local files and URL links

Local serverstdioPython

What is the MCP Pdf2md MCP server?

MCP Pdf2md MCP server exists for a simple reason — assistants are far more useful when they can act on MCP Pdf2md directly instead of describing what you should do. An MCP-based high-performance PDF to Markdown conversion service powered by MinerU API, supporting batch processing for local files and URL links with structured output.

What you get

  • Format Conversion: Convert PDF files to structured Markdown format
  • Multi-source Support: Process both local PDF files and URL links
  • Intelligent Processing: Automatically select the best processing method
  • Batch Processing: Support multi-file batch conversion for efficient handling of large volumes of PDF files
  • MCP Integration: Seamless integration with LLM clients like Claude Desktop
  • Structure Preservation: Maintain the original document structure, including headings, paragraphs, lists, etc

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

What the assistant can call

Once MCP Pdf2md is connected, these are the calls the assistant has available:

  • convert_pdf_url — Convert PDF URL to Markdown
  • convert_pdf_file — Convert local PDF file to Markdown

Configuration and credentials

You will need one environment variable: MINERU_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp pdf2md mcp server does with a few real requests.

Choosing this one

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. MCP Pdf2md's toolset — convert_pdf_url, convert_pdf_file — is a fair guide to whether it matches your workflow. It is maintained by FutureUnreal; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against MCP Pdf2md's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
convert_pdf_urlConvert PDF URL to Markdown
convert_pdf_fileConvert local PDF file to Markdown

How to install the MCP Pdf2md MCP server

**Linux/macOS**:
```json
{
    "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"
            }
        }
    }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MINERU_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Pdf2md to convert pdf url.
  • Use MCP Pdf2md to convert pdf file.

Frequently asked questions

It connects MCP Pdf2md to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (convert_pdf_url, convert_pdf_file) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Pdf2md directly.