SuperAPIAI Directory

mineru-mcp

github.com · AI images

Parse PDFs, images, DOCX and PPTX via the MinerU document parsing API, with multilingual OCR, batch processing, page ranges and local file upload.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

mineru-mcp is an MCP server for the MinerU document parsing API, and comes with the mineru-cloud CLI, used to invoke document parsing capabilities in MCP clients or from the command line.

Purpose Parse documents via the MinerU API, supporting document parsing using a vision-language model (VLM), or document parsing using a Pipeline model. It is mainly aimed at use cases that need to convert documents such as PDF, DOC, DOCX, PPT, PPTX into structured output.

Main capabilities

  • Model selection: VLM model or Pipeline model parsing.
  • Local file upload: upload files from disk for batch parsing.
  • Batch processing: submit multiple documents in one request.
  • Download and renaming: extract Markdown and preserve the original file names.
  • Page range: extract only specified pages.
  • Long document handling: mineru_parse_long submits page range slices, and mineru_merge_slices performs concatenation.
  • CLI counterpart: mineru-cloud can invoke the same tools in a shell.
  • Language and OCR options: choose a language and enable OCR for the Pipeline model.
  • Offline artifact bundle: create a portable Scholia v1.0.1 artifact bundle from an existing provider ZIP and source PDF; this command runs offline and does not require an API Key.
  • Structured status and recovery: some lifecycle commands support structured operation IDs, normalized status, pollability, counts, and errors, and support resumable transfers and terminal-state validation.

How to use Installation requirements: new installations are recommended to use Node.js 24, while remaining compatible with Node.js 18+. Cloud commands require a MinerU API Key; offline artifact bundle creation does not require credentials. Local output retention, artifact bundles, and persisted operations require macOS or Linux; these paths use directory-bound filesystem operations and fail closed on Windows; a Windows client configuration does not mean local retention is supported.

CLI installation: a one-liner installation method is provided, and it can also be installed via bun add -g mineru-mcp or npm i -g.

MCP client configuration: mineru-mcp can be added to Claude Desktop's claude_desktop_config.json, VS Code's .vscode/mcp.json or user configuration, Cursor's ~/.cursor/mcp.json or project configuration, Windsurf's mcp_config.json, Cline's Advanced MCP Settings, as well as Codex CLI, Gemini CLI, etc.

Local file workflow: after uploading a local file, a batch_id is returned for tracking, and each file's original name is preserved through data_id (spaces become underscores). When downloading results, the output file name is derived from data_id, for example my_paper_title.md.

Supported formats: PDF, DOC, DOCX, PPT, PPTX.

Limitations and constraints

  • Local limits: legacy batch commands are limited to at most 200 items; legacy local uploads reject files larger than 200 MiB; parse-long is limited to at most 200 pages per request slice. These are current implementation safeguards and do not represent the provider account's current limits, quotas, queue priority, or support plans.
  • V1 range parsing is not supported; hosted V1 execution is disabled by default before endpoint-specific validation.
  • New network calls require public HTTPS addresses; private self-hosted endpoints require a separately implemented trust policy.
  • New submissions currently accept only PDF; the original 8 commands retain non-PDF support.
  • Local cancellation does not cancel remote processing, nor does it remove already uploaded data; remote cancellation and automatic ID association on loss are not currently supported.
  • ChatGPT supports only HTTPS remote MCP servers; local stdio servers are not directly supported.
  • Persistent operation logs are located by default at ~/.local/share/mineru-cloud, and the log root directory can be selected via MINERU_STATE_DIR.
  • Process crash testing establishes bounded process crash behavior and does not constitute a general guarantee of durability against power loss or network filesystems.

Other notes Information on the latest release, the specific version number change history, and the corresponding npm release status is not yet fully provided in the available materials. The specific API Key acquisition address is mineru.net.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools