npx claudepluginhub jordancoin/pdf-to-textExtract clean text from any PDF, even the ones Chrome mangles. 7-level cascade resolves broken Unicode mappings locally with a native engine. Returns plain text, basic markdown, or structured markdown with headings.
The agent interface for PDF to Text, the Chrome extension that fixes broken copy-paste from PDFs.
Chrome extension = humans. This plugin = agents. Same extraction engine.
curl -fsSL https://jordancoin.github.io/pdf-to-text/install.sh | bash -s -- --agent claude # or codex, cursor, gemini, copilot, all
Installs the native engine to ~/.pdf-to-text and a SKILL.md where your agent looks for skills (.claude/skills, .agents/skills, and the agent's own folder). Add --project to install into the current repo instead of your home directory. Details and a per-agent picker: install page.
Claude Code can additionally install the full plugin, which adds MCP tools:
/plugin install pdf-to-text@JordanCoin/pdf-to-text
The plugin's SessionStart hook installs the same native engine on first use. No build step.
3 MCP tools available in every Claude Code session:
| Tool | What it does |
|---|---|
extract_pdf | Extract text from any PDF (URL or local path). Returns plain text, basic markdown, or structured markdown with TOC, headings, and token counts. |
render_markdown | Fetch and parse any .md file. Returns sections, headings, and token estimate. |
list_recent | Show recently extracted PDFs from the local cache. |
1 skill that routes automatically:
When you mention a PDF or ask to extract text, Claude invokes /pdf-to-text:extract-pdf which calls the MCP tools.
Once installed, just talk to Claude:
Or call the tools directly:
Use the extract_pdf tool on /path/to/document.pdf with format structured
The extraction engine uses a 7-level fallback cascade to recover text from PDFs with broken Unicode mappings — the ones where Chrome's copy-paste gives you gibberish. Everything runs locally via WebAssembly. Your PDFs never leave your machine.
The same engine powers the PDF to Text Chrome extension. Install both for full coverage: the extension fixes copy-paste in the browser, this plugin gives agents the same capability.
# Page N headers per page. Quick and simple.<!-- page N --> markers. For RAG pipelines and LLM consumption.The plugin checks for new versions automatically. When an update is available, Claude will ask before upgrading. The engine binary updates independently of the plugin code.
All extraction happens locally. No PDF data is sent to any server. The only network request is checking for engine updates from GitHub Releases.
Plugin wrapper: MIT. Extraction engine: proprietary.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.