pymupdf4llm mcp

Local 2025-09-01 00:40:35 0

An MCP server that exports PDF documents to markdown format optimized for LLM processing.


Release Build status codecov Commit activity License

MCP Server for pymupdf4llm, best for export PDF to markdown for LLM.

Quick Start

Run the following command to run the MCP server:

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

Configure your cursor/windsurf/... and other MCP client to this server:

{
  "mcpServers": {
    "pymupdf4llm-mcp": {
      "command": "uvx",
      "args": [
        "pymupdf4llm-mcp@latest",
        "stdio"
      ],
      "env": {}
    }
  }
}