96.8%
less document data sent to the model
A 792 KB whole-PDF read became 25 KB of retrieved pages.
An open-source, minimal PDF and Markdown reader with local-first annotation, OCR, visual signing, forms, image-to-PDF conversion, and AI-powered semantic search. Expect 30-80% reduction in input token cost on large documents.

MarkPDF ships an MCP server, so a coding agent can search your local index and read only the pages that matter. On a short technical report, that route matched the accuracy of loading the entire PDF into Claude while sending a fraction of the document.
96.8%
less document data sent to the model
A 792 KB whole-PDF read became 25 KB of retrieved pages.
84.1%
fewer fresh input tokens
199,250 tokens fell to 31,670 on the same question.
79.1%
lower cost per answer
The same 100-word answer cost $0.44 instead of $2.09.
Same
answer accuracy
Both routes answered correctly from the source passage.
On a reference book of more than 600 pages, reading the file whole produced a 15 MB payload that the model API rejected outright, so the agent never answered. MarkPDF answered the same question from an 18 KB excerpt, transferring 99.9% less of the document.
The bundled markpdf-retrieval skill drops broad outline calls and redundant searches. Against an agent choosing its own MarkPDF route, it cut the serialized tool payload by 61.8% and 81.3% on the two documents, and cost by 29.6% and 39.2%.
MarkPDF brings reader, editor, converter, and AI-search workflows into one local desktop surface.
Open PDFs and Markdown files in a standalone desktop app without the clutter of heavier PDF suites.
Index document text locally with ONNX embedding models and search related passages without sending PDF text to an AI provider.
Detect local CLI agents and connect OpenRouter, Ollama, LM Studio, Anthropic, or OpenAI-compatible endpoints.
Use OCR fallback for scanned pages and convert groups of images into PDFs from the desktop app.
Add text overlays, highlights, comments, reorder pages, fill forms, and save standard PDF annotations.
Draw, type, or upload a signature and place it on the page. Certificate-backed digital signatures are not included yet.