Local, private PDF to Markdown for agents: geometry-first parsing, OCR only where needed.
MCPpedia last refreshed this data
io.github.AmerSarhan/pdffr-mcp is an MCP server that local, private PDF to Markdown for agents: geometry-first parsing, OCR only where needed. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 82/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"pdffr": {
"args": [
"-y",
"pdffr-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Local, private PDF to Markdown for agents: geometry-first parsing, OCR only where needed.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked pdffr-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Create, edit and publish micropage.sh landing pages and blog posts from markup.
MCP Security Weekly
Get CVE alerts and security updates for io.github.AmerSarhan/pdffr-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A PDF decompiler, not an image reader. PDF → Markdown in the browser or Node, in milliseconds for born-digital pages — with on-device OCR spent only on the pixels the text layer can't explain.
Try it in your browser → — drop any PDF; it never leaves the tab.
import { decompile } from 'pdffr';
const { markdown, stats } = await decompile(file);
// stats.firstOutputMs ≈ 150ms for a typical report; the file never leaves the tab
npx pdffr report.pdf -o report.md
Every PDF→Markdown tool sits at one of two extremes:
| Approach | Speed | Quality | Problem |
|---|---|---|---|
Text-layer extraction (pdfminer, pdf.js getTextContent) | instant | poor | PDF has no paragraphs, headings, tables or reading order — you get a soup of positioned strings |
| Render + OCR / vision model (Textract, LlamaParse, VLMs) | slow, paid, cloud | high | Rasterizes a page that was already digital, then asks a model to re-read pixels the file could have told it exactly |
~80% of real-world PDFs are born-digital: every glyph's exact coordinates, size and font are already in the file. pdffr treats PDF as what it is — a drawing program — and decompiles the drawing back into structure:
**bold**/*italic*/<sup>, math fonts and sub/superscripts transliterated to $LaTeX$, rotated text re-framed upright, running header/footer stripping, hyphenation repair. No rasterization. Milliseconds per page.pdffr/node runs the identical pipeline on the server or the command line, with @napi-rs/canvas standing in for the DOM.npm install pdffr pdfjs-dist tesseract.js
# Node / CLI additionally:
npm instal
... [View full README on GitHub](https://github.com/amersarhan/pdffr#readme)