DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to parse a hard PDF into Markdown on your own machine with MinerU

Install MinerU 4, check which tier your hardware suits and convert a document locally.

Short answer: Install MinerU 4.x in a Python 3.11 to 3.14 virtual environment with uv, as the Install Manually section of the README shows; then run mineru-kit hardware detect to see your devices and get a tier recommendation; For a quick read of a document, run mineru parse document.pdf --json, which defaults to the first 10 PDF pages. All steps.

  • Top pick
  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor

Who it is forA researcher with scanned papers, reports and slide decks that ordinary extractors mangle.

The problemComplex layouts, scans and formulas need OCR and layout models, which are hard to set up by hand.

The outcomeA parsed document in Markdown or JSON, produced locally at the quality tier your machine can handle.

What you need first

  • Python 3.11 to 3.14 in a virtual environment
  • Windows, Linux or macOS; CPU works, compatible GPUs are used automatically
  • Model downloads for the tier you choose
  • Optional: Node.js for npx to install the agent skill

Steps

  1. Install MinerU 4.x in a Python 3.11 to 3.14 virtual environment with uv, as the Install Manually section of the README shows
  2. Run mineru-kit hardware detect to see your devices and get a tier recommendation
  3. For a quick read of a document, run mineru parse document.pdf --json, which defaults to the first 10 PDF pages
  4. For a full conversion of all pages, use the stateless mineru-kit parse command
  5. Choose Flash for fast previews, Basic for OCR, or Standard and Advanced for demanding layouts

Prompt for your agent

Install opendatalab/MinerU 4 in a uv virtual environment, run `mineru-kit hardware detect`, then convert <file> with mineru-kit parse at the tier it recommends. Tell me how long it took and whether tables and formulas survived.

Caveat. Version 4.1 requires Python 3.11 to 3.14 and changed the HTTP APIs, so older deployments must upgrade servers, Routers, SDKs and clients together.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for opendatalab/MinerU and "Parse a hard PDF into Markdown on your own machine"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer