MinerU README

The project's README from github.com/opendatalab/MinerU. As one markdown file: README.md.

stars forks open issues issue resolution PyPI version PyPI - Python Version Downloads Downloads OpenDataLab HuggingFace ModelScope Colab arXiv arXiv arXiv Ask DeepWiki

opendatalab%2FMinerU | Trendshift

English | 简体中文

🚀Access MinerU Now→✅ Zero-Install Web Version ✅ Full-Featured Desktop Client ✅ Instant API Access; Skip deployment headaches – get all product formats in one click. Developers, dive in!

👋 join us on Discord and WeChat

MinerU — High-accuracy document parsing engine for LLM · RAG · Agent workflows Converts PDF · DOCX · PPTX · XLSX · Images · Web pages into structured Markdown / JSON · VLM+OCR dual engine · 109 languages
MCP Server · LangChain / Dify / FastGPT native integration · 10+ domestic AI chip support

🔍 Core Parsing Capabilities

  • Native support for DOCX, PPTX, and XLSX parsing
  • Formulas → LaTeX · Tables → HTML, accurate layout reconstruction
  • Supports scanned docs, handwriting, multi-column layouts, cross-page table merging
  • Output follows human reading order with automatic header/footer removal
  • VLM + OCR dual engine, 109-language OCR recognition

🔌 Integration

Use Case Solution
AI Coding Tools MCP Server — Cursor · Claude Desktop · Windsurf
RAG Frameworks LangChain · LlamaIndex · RAGFlow · RAG-Anything · Flowise · Dify · FastGPT
Development Python / Go / TypeScript SDK · CLI · REST API · Docker
No-Code mineru.net online · Gradio WebUI · Desktop client

🖥️ Deployment (Private · Fully Offline)

Inference Backend Best For
pipeline Fast & stable, no hallucination, runs on CPU or GPU
vlm-engine High accuracy, supports vLLM / LMDeploy / mlx ecosystem
hybrid-engine High accuracy, native text extraction, low hallucination

Domestic AI chips: Ascend · Cambricon · Enflame · MetaX · Moore Threads · Kunlunxin · Iluvatar · Hygon · Biren · T-Head

Changelog

MinerU (opendatalab/MinerU)

Searching Database…

81.9K ·GitHub
What is this?MinerU is a high-accuracy document parsing engine that converts PDF, DOCX, PPTX, XLSX, images and web pages into structured Markdown or JSON, built for LLM, RAG and agent workflows.
Is this a Python library, a CLI tool, or a hosted service?It is all of those: a Python/Go/TypeScript SDK, a CLI, a REST API, or a Docker-deployed server, plus no-install options like the mineru.net web app, a Gradio WebUI, and a desktop client.
How do I get a document parsed?Pick an inference backend (pipeline, vlm-engine or hybrid-engine) and run it via the CLI, SDK, or REST API, or skip installing anything and use the Gradio WebUI, desktop client, or mineru.net online tool.
What's the catch with the different parsing backends?There's a speed/accuracy trade-off: the hybrid backend's default 'medium' effort is much faster but skips image analysis, while 'high' effort gives maximum accuracy and image analysis at the cost of speed.
Can I run this fully offline for private documents?Yes, MinerU is built for private, fully offline deployment rather than being limited to a cloud service.
What's the MCP Server for?It lets AI coding tools like Cursor, Claude Desktop, and Windsurf call MinerU directly inside an agent's workflow to parse documents.
How many languages does the OCR support?109 languages; the pipeline backend's OCR model was recently upgraded to PP-OCRv6, improving accuracy by about 11%.
Can it handle scanned or handwritten documents?Yes — it natively supports scanned docs, handwriting, multi-column layouts, and automatically merges tables that span multiple pages.
Does it work on non-standard AI hardware?Yes, beyond CPU/GPU, MinerU supports 10+ domestic AI chips including Ascend, Cambricon, Enflame, MetaX and Moore Threads.
Size
183.5 MB
Stars
81.9K
Age
2y
Commits · 90 Days