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

基本情報

設定

以下の設定を使って、このサーバーを 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.

コメント

「ファイルとストレージ」の他のコンテンツ