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.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

parse_documents Parse Documents

High-quality document parsing: converts PDF, Word, PPT, Excel (in Flash Mode), and images to Markdown. Powered by SOTA MinerU PDF extraction — supports full document parsing (200+ pages), academic paper parsing, formula recognition, table extraction, multi-column layouts, scanned document OCR, and webpage-to-Markdown conversion. Designed for AI workflows. Unlike basic readers limited to the first 10 pages, MinerU processes entire documents end-to-end.

ParameterTypeDescription
file_sources *arrayFiles to parse. Each entry is either: - a plain string: a local file path or URL - a dict {"source": "...", "pages": "N-M"}: with an optional page range Page range: "N" (single page) or "N-M" (for…
enable_ocrOCR mode: null (default) - auto-detect: the server decides whether OCR is needed. true - force OCR on when the user mentions poor scan quality. false - disable OCR. Omit this…
languageOCR language code. Omit if unknown; the server defaults to "ch" (Chinese + English). Infer from the document filename when possible, for example "manual_en.pdf" -> "en". Common codes: "ch", "en", "jap…
modelParsing model. Set to "html" only when all file_sources are web page URLs. Otherwise omit it and let MinerU auto-select the appropriate model. Ignored in Flash mode.
output_dirDirectory used when parsed results need to be saved locally, such as batch parsing or oversized inline content. Defaults to the server-configured directory.

get_ocr_languages Get Ocr Languages

List all OCR languages supported by MinerU.