home / mcp / pymupdf4llm mcp server

Pymupdf4llm MCP Server

MCP server for pymupdf4llm, best pdf2md for LLM

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ai-zerolab-pymupdf4llm-mcp": {
      "command": "uvx",
      "args": [
        "pymupdf4llm-mcp@latest",
        "stdio"
      ]
    }
  }
}

You run an MCP server for pymupdf4llm to export PDFs to Markdown and feed that output into your LLM workflows. This server is designed to be started locally and connected by MCP clients, enabling automated PDF-to-Markdown conversion as part of your data processing pipelines.

How to use

Start the MCP server in stdio mode to run it locally and connect via an MCP client on the same machine. Use the following command to launch in stdio mode: uvx pymupdf4llm-mcp@latest stdio. You can also start in SSE mode if supported: uvx pymupdf4llm-mcp@latest sse.

How to install

Prerequisites you need before starting: install and use the MCP launcher uvx on your system. Then you can start the server using the exact command shown below.

uvx pymupdf4llm-mcp@latest stdio
# or
uvx pymupdf4llm-mcp@latest sse

Configuration for MCP clients

Configure your MCP client to point at this server. Use the single server entry shown here to register the pymupdf4llm-mcp under an MCP client roster.

{
  "mcpServers": {
    "pymupdf4llm-mcp": {
      "command": "uvx",
      "args": [
        "pymupdf4llm-mcp@latest",
        "stdio"
      ],
      "env": {}
    }
  }
}
Pymupdf4llm MCP Server - ai-zerolab/pymupdf4llm-mcp