A document parsing tool that can be used as a server and Python library, supporting multiple modes (e.g., MinerU, docmind, etc.).
- Supports parsing documents via HTTP API
- Can be used as a Python library
- Switch between different parsing modes
- Based on fastmcp
uv venv
uv pip install -r requirements.txtpython scripts/run_server.py --mode MinerUfrom document_reader import parse_document
result = parse_document(file_path, mode="docmind")- document_reader/ # Main package, core logic
- scripts/ # Start scripts
- tests/ # Unit tests
- vendor/fastmcp/ # fastmcp library