Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By LcpMarvelv0.1.0MITIn 1 marketplace
Turns PDFs, Word files and images into clean Markdown with fixed tables and split sentences. Needs MinerU, DeepSeek and Qwen API keys, and sends files to the MinerU API.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 marketplace, most starred first
pdf-to-markdown, pdf-parsing, markdown, ocr, rag, document-conversion, table-extraction, mineru ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
🌏 中文文档:README.zh-CN.md
PDF/DOC/PPT/image in, clean Markdown out. One skill handles the whole pipeline:
content_list.json + images;mineru-refine
to fix pseudo-headings, cross-page sentence breaks, cross-page split tables, in-table
continuation rows, page furniture, residual markup, OCR look-alike characters, garbled
tables, and more. Throughout, it is machine-verified fidelity-preserving (every
output character comes from the input) and fail-open (on error it returns the input
unchanged rather than breaking things).The output is a drop-in replacement directory: images/ and layout.json mirrored
verbatim, content_list.json replaced with the cleaned version, full.md re-rendered
deterministically, plus a refine_report.json (what was done, what was removed, how many
tokens were spent — auditable line by line).
By default this plugin turns all three opt-in cleaning layers on (OCR look-alike fix / garbled-table vision re-transcription / garbled-table fallback demotion) for the cleanest possible output; the trade-off is that the output contract shifts from "remove-only" to a dual contract (all replacements are fully recorded and programmatically reversible).
The marketplace manifest is at the repo root .claude-plugin/marketplace.json (the plugin
itself lives in the plugin/ subdirectory). In Claude Code:
/plugin marketplace add LcpMarvel/mineru-refine
/plugin install mineru-refine@mineru-refine
LcpMarvel/mineru-refine is a GitHub repo shorthand, equivalent to the full URL
https://github.com/LcpMarvel/mineru-refine. For local development you can use a local
path instead: /plugin marketplace add /abs/path/to/mineru-refine (the repo root, not
plugin/). After changing the SKILL/scripts, hot-reload with /reload-plugins.
Once installed, just tell Claude Code:
Clean this PDF: /abs/path/to/report.pdf
The skill (mineru-prime) walks you through first-time key setup, then runs the full
parse + refine and drops the output into mineru-refine-out/refined/, reporting a
before/after suspect comparison and an audit summary.
On first run the skill asks for and writes them to the working-directory .env
(persisted, so you won't re-enter them next time):
| key | Necessity | Where / purpose |
|---|---|---|
MINERU_API_TOKEN | Required for parsing | https://mineru.net — official API parsing quota |
DEEPSEEK_APIKEY | Required for refining | https://platform.deepseek.com — refine text judging; if missing, fail-open |
QWEN_APIKEY | Strongly recommended | DashScope — cross-page split-table vision judging + garbled-table vision re-transcription; if missing, those two are deferred |
Private deployment:
DEEPSEEK_BASE_URL/QWEN_BASE_URL/ the various*_MODELcan all be overridden in.envto point at a self-hosted OpenAI-compatible endpoint. See the main mineru-refine repo README for details.
unzip — to unpack the MinerU output zip (bundled on macOS/Linux).mineru-refine npm native binding — the skill runs bun install automatically on first
run (includes a prebuilt binary, no Rust toolchain required).plugin/
├── .claude-plugin/
│ ├── plugin.json # plugin manifest
│ └── marketplace.json # bundled marketplace (points at this directory)
├── bin/ # auto-added to PATH when enabled; the skill calls these as commands
│ ├── mineru-prime-fetch # → scripts/mineru_fetch.ts
│ └── mineru-prime-refine # → scripts/refine.ts (auto bun install on first run)
├── skills/mineru-prime/SKILL.md # the orchestration flow
└── scripts/
├── mineru_fetch.ts # MinerU official-API parsing (single file → output dir)
├── refine.ts # calls mineru-refine → drop-in replacement dir + report
└── package.json # declares the mineru-refine dependency
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lcpmarvel/mineru-refine --plugin mineru-refinePlugins from other owners that cover similar ground