MinerU Open MCP

v1.0.20
io.github.opendatalab/mineru-open-mcp Checked 9 hours ago Published 7 months ago

Parse PDFs, images, doc, docx, ppt, pptx, xls, xlsx, html into Markdown using MinerU API.

Values you need

VariableWhat it is
MINERU_API_TOKENoptional secret MinerU API token for full capability (higher limits, extra output formats). Omit to use free Flash mode (Markdown only, 20 pages / 10 MB per file).
OUTPUT_DIRoptional Directory for saved parse results when content is written to disk.

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mineru-open-mcp -- uvx mineru-open-mcp==1.0.20
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mineru-open-mcp": {
      "args": [
        "mineru-open-mcp==1.0.20"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mineru-open-mcp": {
      "args": [
        "mineru-open-mcp==1.0.20"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mineru-open-mcp": {
      "args": [
        "mineru-open-mcp==1.0.20"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mineru-open-mcp]
command = "uvx"
args = ["mineru-open-mcp==1.0.20"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: parse_documents, get_ocr_languages.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json