SuperAPI AI Directory

opendatalab/MinerU-Ecosystem

MinerU Open MCP is the official MCP server provided by MinerU, which parses documents such as PDF, Word, PowerPoint, and images into Markdown. Flash mode can be used without an API key (free, Markdown output only, with lower limits); setting MINERU_API_TOKEN unlocks higher limits and additional output formats. It supports running directly via uvx, provides the parse_documents and get_ocr_languages tools, and supports both stdio and streamable-http transport modes.

Open website

About this tool

MinerU Open MCP is an MCP server officially launched by MinerU, designed to expose MinerU's document parsing capabilities to any MCP-compatible AI client in the form of MCP tools. Through it, users can directly upload or specify documents in an AI client and convert them into Markdown format for subsequent reading, summarization, and analysis.

Main capabilities:

  • Document parsing: Supports converting PDF, Word (Doc/Docx), PowerPoint (Ppt/PPTx), and images (png/jpg/jpeg/jp2/webp/gif/bmp) into Markdown. Flash mode additionally supports xlsx files.
  • Format preservation: Parsing results preserve tables (HTML) and formulas (LaTeX), ensuring content structure integrity.
  • Page ranges: Supports specifying target page ranges for parsing, for example, parsing only pages 3 to 5 of a PDF.
  • Batch processing: Supports parsing multiple local files or remote URLs simultaneously, with each file able to specify its own page range independently.
  • Custom preferences: The model (such as the pipeline model or the default vlm model), OCR language, and an independent output directory can be specified via prompts.
  • Tool set: Provides two MCP tools: parse_documents (converts local files or remote URLs to Markdown) and get_ocr_languages (lists all OCR languages supported by MinerU).

Usage:

  • Quick run: mineru-open-mcp has been published on PyPI. After installing uv, it can be run directly with uvx without a separate installation step. The MCP client automatically starts mineru-open-mcp as a subprocess.
  • Configure the client: Configure the MCP client to start mineru-open-mcp using uvx (recommended, always runs the latest version). If mineru-open-mcp is not in PATH, use the full path or the uvx method.
  • Manual start: You can also start the server manually and then point the client to it.
  • Transport modes: Supports both stdio and streamable-http transport modes.
  • Environment variables: Set the API token via MINERU_API_TOKEN to unlock higher limits andAdditional output formats; Flash mode requires no API key, is free and requires no registration, but has lower limits and outputs only Markdown.

Output behavior:

  • Single-file parsing returns inline Markdown by default; batch parsing saves results to disk and returns file metadata.
  • Inline content that is too large is also saved locally and returned via extract_path.

Use cases:

  • Quickly parse local or remote PDF, Word, PPT, and image files in AI clients, extracting content for summarization, Q&A, or further analysis.
  • Document conversion scenarios that need to preserve table and formula structures.
  • Batch process multiple documents and specify different page ranges.
  • Advanced requirements for specifying OCR language or parsing model.

Limitations and notes:

  • Flash mode is free but has lower limits, supports only Markdown output, and supports PDF, images, Docx, PPTx, xls, xlsx.
  • To use full features, you need to provide MINERU_API_TOKEN; in this case, Flash mode will be disabled.
  • For MCP clients with a sandbox, files dragged into the input box will be sandboxed to a temporary directory; if you need to upload and parse local files, provide the full path of the target file in the prompt to prevent the server from not finding the file.
  • Data transmission: Document content (provided files or URLs) will be sent to the official MinerU API (mineru.net) for parsing.
  • Data storage: Parsing results are temporarily cached by MinerU servers and are not used for training.
  • Local data: Parsing results are saved to the target output directory; log files (only when ENABLE_LOG=true) are saved to MINERU_LOG_DIR.
  • Contact: OpenDataLab@pjlab.org.cn or submit an issue in the MinerU-Ecosystem repository.