MinerU Rust
Rust client library, command-line tools, and local API server for parsing PDF, image, and Office documents with an external OpenAI-compatible MinerU VLM service. PDF rendering uses pure Rust; no model is downloaded or run locally.
Compatibility is pinned to the MinerU 3.4.4 vlm-http-client transport
baseline. See the compatibility contract and
usage guide. This is not a full MinerU compatibility claim.
Requires Rust 1.89 or newer.
Rust library
use ;
async
CLI and API server
The package installs the existing mineru, mineru-api, mineru-vlm,
mineru-vlm-api, and mineru-office-convert binaries. See
docs/usage.md for service configuration and complete options.
Python
Wheels support CPython 3.9 and newer:
Python currently exposes only canonical stem handling and PDF-option validation. It does not expose asynchronous document parsing. Releases are wheels only; there is no sdist or source fallback for unsupported platforms or PyPy.
Node.js
const mineru = require
console.log
mineru.
Node.js currently exposes only canonical stem handling and PDF-option validation. It does not expose asynchronous document parsing. Node.js 18 or newer is required.
License
Licensed under either Apache-2.0 or MIT, at your option.