
MinerU Open MCP
io.github.opendatalabPublished by GitHub account opendatalabv1.0.20Updated Oct 24, 2026
Parse PDFs, images, doc, docx, ppt, pptx, xls, xlsx, html into Markdown using MinerU API.
Overview
A local MCP server that lets an assistant convert PDFs, Office files, images and HTML into Markdown through the MinerU cloud parsing API.
- What you can do
- Parse PDF, DOCX, PPTX, XLSX, image and HTML files into Markdown, with formulas as LaTeX and tables as HTML, using MinerU's cloud API in either a free Flash mode or a token-based precision mode with higher limits and extra output formats such as JSON, DOCX, HTML and LaTeX. List the 109 OCR languages the service supports. Save parse results to a local output directory. Optionally delete old server log files when logging is enabled.
- When to use it
- Useful when an assistant needs to read or summarize documents that are not plain text, such as scanned PDFs, multi-column papers, slide decks or spreadsheets, or when feeding parsed content into a RAG or knowledge-base workflow. Flash mode is enough for quick previews of small files; precision mode suits long or large documents.
- Requirements
- Runs locally as a Python package (for example via uvx) on a desktop client. Needs network access to the MinerU cloud API. MINERU_API_TOKEN is optional: without it the free Flash mode applies (Markdown only, up to 20 pages and 10 MB per file); with it, larger files, batch use and extra output formats are available. OUTPUT_DIR sets where results are saved.
Installation
In SourceWeft
- Open MinerU Open MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
MinerU-Ecosystem
The official ecosystem toolkit for MinerU Open API
Empowering developers and AI agents with seamless document parsing capabilities — PDF · Word · PPT · Images · Web pages → Markdown / JSON · VLM+OCR dual engine · 109 languages · MCP Server · LangChain / RAGFlow / Dify / FastGPT native integration.
📖 Overview
MinerU-Ecosystem provides a full suite of tools, SDKs, and integrations built on top of the MinerU Open API. Whether you're building production pipelines, integrating with LangChain for RAG, or enabling AI agents to parse documents on the fly — this repository has you covered.
MinerU is an open-source, high-accuracy document parsing engine that converts unstructured documents (PDFs, images, Office files, etc.) into machine-readable Markdown and JSON, purpose-built for LLM pre-training, RAG, and agentic workflows.
Core capabilities:
- Formulas → LaTeX · Tables → HTML, accurate complex 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
🏗️ Repository Structure
🔑 Supported APIs
All components support both API modes:
🧭 Choose Your Integration Path
Not sure where to start? Pick the path that matches your use case:
🚀 Quick Start
💻 CLI (cli/)
A fast command-line tool for parsing documents directly from your terminal.
Installation
Flash Extract (no login)
Precision Extract (login required)
Web Crawl
Batch Processing
🐍 Python SDK
Installation
Flash Extract (no token)
Precision Extract (token required)
🐹 Go SDK
Installation
Flash Extract
Precision Extract
Precision Extract with options
Batch Processing
Web Crawling
🟦 TypeScript / JavaScript SDK
Installation
Flash Extract
Precision Extract
Precision Extract with options
Batch Processing
Web Crawling
🤖 Use with Claude / Cursor (MCP Server)
MinerU provides an official MCP Server allowing Claude Desktop, Cursor, Windsurf, and any MCP-compatible AI client to parse documents as a native tool.
No API key needed — Flash mode works out of the box, free, up to 20 pages / 10 MB per file.
Configure: claude_desktop_config.json / .cursor/mcp.json
Streamable HTTP mode (web-based MCP clients)
Tools exposed via MCP:
Environment Variables:
🦜 Use in RAG with LangChain
langchain-mineru is an official LangChain Document Loader — parse any document into LangChain Document objects with one line of code.
Installation
Minimal example (no token)
1. Basic usage (flash mode by default, no token required)
Default is mode="flash", which is ideal for quick previews and lightweight integrations.
2. Precision mode (token required)
Best for long documents, larger files, and workflows that need higher-fidelity extraction or standard API outputs. Flash mode also supports OCR, table, and formula switches within flash API limits.
3. Use it in a LangChain RAG pipeline
Default is mode="flash" (no API token required). Switch to mode="precision" for higher fidelity with token auth. For RAG use cases, split_pages=True is usually a better default for PDFs because it gives you page-level Document granularity.
## Use in RAG with LlamaIndex
A document reader for LlamaIndex that parses PDFs, Word files, PPTs, images, and Excel files through MinerU and returns LlamaIndex-compatible Document objects for indexing and retrieval.
Installation
Usage
1. Flash mode (default, no token required)
Good for quick setup and lightweight parsing. Output is returned as Markdown.
2. Precision mode (token required)
Best for longer documents, larger files, and use cases that need higher-fidelity extraction or standard API outputs. Flash mode also supports OCR, formula, and table switches within flash API limits.
3. Use it in a LlamaIndex pipeline
Default is mode="flash" with no token required. Switch to mode="precision" when you need higher parsing fidelity. For PDF-based RAG pipelines, split_pages=True is recommended so each page becomes a separate Document.
🤖 AI Agent Skills (skills/)
Pre-built skills for AI coding agents, wrapping the mineru-open-api CLI for use in agent workflows.
- OpenClaw / ClawHub — View skill details
- One-click download — Skill package
- Compatible with Claude Code, OpenClaw, ZeroClaw, and other skill-interface agents
🔗 All Integrations
📚 Documentation
📄 License
This project is licensed under the Apache License 2.0.
Source: README.md at commit 95357b5
Tools
0Version history
1- v1.0.20LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts