MCP.so
登录
P

pdfmux — PDF extraction that actually works

@NameetP

关于 pdfmux — PDF extraction that actually works

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

基本信息

分类

文件与存储

传输方式

stdio

发布者

NameetP

提交者

Nameet Potnis

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "pdfmux": {
      "command": "npx",
      "args": [
        "-y",
        "pdfmux-mcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

FAQ from pdfmux

What backends does pdfmux use?

PyMuPDF (digital text), OpenDataLoader (complex layouts), RapidOCR (scanned pages), Docling (tables), Surya (heavy OCR), plus any BYOK LLM.

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.

What Python version is required?

Python 3.11 or newer is required.

Does pdfmux handle scanned PDFs?

Yes — install pdfmux[ocr] to enable RapidOCR, which processes scanned/image‑based pages on CPU only.

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.

评论

文件与存储 分类下的更多 MCP 服务器