MCP.so
Sign In
P

pdfmux — PDF extraction that actually works MCP Server

@NameetP

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 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.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is pdfmux?

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?

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

  • 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

  • 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-pdfmux loader

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

More Files & Storage MCP servers