MinerU

Active
GitHub Python NOASSERTION

Description

Transforms complex documents like PDFs into LLM-ready markdown/JSON for Agentic workflows, supporting layout analysis, formula recognition, and table extraction.

Key Features

  • Multi-format document parsing - Native support for PDF, DOCX, PPTX, XLSX, and images with Markdown/JSON output
  • VLM + OCR dual engine - Vision-language model combined with OCR, 109-language recognition, 95+ accuracy on OmniDocBench
  • Formula and table extraction - Auto-convert formulas to LaTeX, tables to HTML, with cross-page table merging and chart parsing
  • Multiple inference backends - pipeline (CPU-ready), vlm-engine, and hybrid-engine for flexible deployment
  • Rich integration ecosystem - MCP Server for Cursor/Claude, native integration with LangChain, Dify, FastGPT and other RAG frameworks
  • Enterprise-grade deployment - Docker, multi-GPU, mineru-router load balancing, compatible with domestic AI chips

Use Cases

💡 Document preprocessing for RAG systems, converting PDF/Word into structured data consumable by LLMs
💡 Scientific paper parsing with automatic extraction of formulas, tables, and references into editable formats
💡 Enterprise document batch conversion with automated pipelines for hundreds of pages
💡 Real-time document parsing and retrieval in AI coding tools via MCP Server integration

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (79.0k stars)
  • Established track record (2 years in production)
  • Responsive to issues, low backlog

⚠️ Limitations

  • No clear open-source license

Categories

Quick Start

# Install MinerU
pip install uv
uv pip install -U "mineru[all]"

# Parse a document (GPU accelerated)
mineru -p input.pdf -o output/

# Pure CPU mode
mineru -p input.pdf -o output/ -b pipeline

Related Projects

Quivr

39.5k · Python
Active A+

Opinionated RAG framework for integrating GenAI into your apps. Works with any LLM, any vectorstore, any files — so you can focus on your product instead of building RAG pipelines.

ragpythonvector-database +3
  • · Opinionated RAG framework — Ready-to-use RAG pipeline, no need to build from scratch
  • · Any file support — PDF, TXT, Markdown and more with custom parser support
  • · Multi-LLM compatible — OpenAI, Anthropic, Mistral, Gemma and Ollama local models

Unstract

7.2k · Python
Active A+

LLM-driven extraction of unstructured data, built for API deployments and ETL pipeline workflows. Automates document parsing, PDF extraction, and intelligent data processing with LLM-powered intelligence.

data-processingragpython +3
  • · Prompt Studio defines document extraction schemas with natural language
  • · Supports REST API deployment and ETL pipeline workflows
  • · MCP Server integration connecting to Claude and other AI agents

SAG

2.5k · Python
Active A

SQL-Driven RAG Engine that automatically builds knowledge graphs during querying, combining SQL query capabilities with Retrieval-Augmented Generation for efficient knowledge retrieval.

pythonragtools +2
  • · SQL-driven RAG engine that automatically builds knowledge graphs at query time instead of pre-maintaining them
  • · Three-stage smart search: entity recall → multi-hop expansion → intelligent ranking (PageRank)
  • · Semantic atomic event extraction — automatically decomposes documents into structured events and multi-dimensional entities