trackmcp
Back to directory
pymupdf

pymupdf4llm-mcp

View on GitHub
44 stars PythonAI & Machine Learning Updated Nov 3, 2025

Documentation

pymupdf4llm-mcp

Release
Build status
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:

bash
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:

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

Testing

Ensure you have Snapshot installed:

`pip install inline-snapshot`

Then from the root folder of the repo run:

bash
python -m pytest

Publishing

Assuming you have an access token.

Bump pyproject.toml:3 `version` first, then:

bash
make build
make publish

Frequently asked questions

What is pymupdf4llm-mcp?

pymupdf4llm-mcp is a Model Context Protocol (MCP) server listed in the TrackMCP directory.

How do I install pymupdf4llm-mcp?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is pymupdf4llm-mcp open source?

Yes — it is hosted on GitHub at https://github.com/pymupdf/pymupdf4llm-mcp and has 44 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP