Basic information
About pdfmux — PDF extraction that actually works MCP Server
MCP server for pdfmux — the only PDF extractor that audits every page. #2 on opendataloader-bench (200 real-world PDFs). 5 tools: get_pdf_metadata, convert_pdf, analyze_pdf, batch_convert, extract_structured. Zero GPU, zero API keys, zero cost. Give AI agents reliable PDF reading
pdfmux — PDF extraction that actually works is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by NameetP. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 86 GitHub stars. Source code is hosted on github.com. Related topics: ai-agent, docling, document-ai, document-parsing, langchain.
Setup
{
"mcpServers": {
"pdfmux": {
"command": "npx",
"args": [
"-y",
"pdfmux-mcp"
]
}
}
}
{
"mcpServers": {
"pdfmux": {
"command": "npx",
"args": [
"-y",
"pdfmux-mcp"
]
}
}
}
{
"servers": {
"pdfmux": {
"command": "npx",
"args": [
"-y",
"pdfmux-mcp"
]
}
}
}
pdfmux — PDF extraction that actually works MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"pdfmux": {
"command": "npx",
"args": [
"-y",
"pdfmux-mcp"
]
}
}
}
pdfmux — PDF extraction that actually works MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is pdfmux — PDF extraction that actually works?
pdfmux is a universal PDF extraction orchestrator that routes each page to the best backend, audits output quality, and re-extracts failures automatically. It combines five rule-based extractors plus a bring-your-own-key LLM fallback in one CLI and Python API for developers and AI agents.
How to use pdfmux — PDF extraction that actually works?
Install with pip install pdfmux, then run pdfmux convert file.pdf for zero-config extraction. Use extra install options like pdfmux[ocr] for scanned pages or pdfmux[llm] for LLM fallback. The Python API offers extract_text(), extract_json(), and chunk() for programmatic use.
Key features of pdfmux — PDF extraction that actually works
- Zero‑config extraction routes pages to best backend automatically
- RAG chunking with configurable token limits per chunk
- Cost modes (economy/balanced/premium) with budget caps
- Schema-guided extraction with five built-in presets
- BYOK LLM fallback supports Gemini, Claude, GPT-4o, Ollama
- Built‑in MCP server for AI agent integration (stdio/HTTP)
Use cases of pdfmux — PDF extraction that actually works
- Extract text and tables from invoices for automated data entry
- Chunk research papers into sections for RAG pipelines
- Batch convert directories of PDFs to markdown or JSON
- Extract structured data from scanned receipts with OCR fallback
- Integrate with LangChain via
langchain-pdfmuxloader
Frequently asked questions
1 What backends does pdfmux use?
PyMuPDF (digital text), OpenDataLoader (complex layouts), RapidOCR (scanned pages), Docling (tables), Surya (heavy OCR), plus any BYOK LLM.
2 Does pdfmux require an LLM API key?
No — the LLM fallback is optional. The five rule‑based extractors work without any keys. LLM support requires a provider (Gemini, Claude, etc.) and its API key.
3 What Python version is required?
Python 3.11 or newer is required.
4 Does pdfmux handle scanned PDFs?
Yes — install pdfmux[ocr] to enable RapidOCR, which processes scanned/image‑based pages on CPU only.
5 What transport modes does the MCP server support?
pdfmux serve runs in stdio mode by default (for Claude Desktop, Cursor) or HTTP mode with --http 8080.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In