← Back to directory
P

pdfmux

Community
Extract PDFs, audit results, and flag pages an extractor may have silently dropped.
Category
Other #320 of 678
Stars
★ 89 Popular
Transport
stdio (local process)
Runtime
Python 3.11+ · Node.js
Credentials
Optional API key
License
MIT
Last commit
Tools
7
52FMRS · D

The source describes PDF conversion, analysis, structured and streaming extraction, metadata retrieval, batch conversion, and extraction verification. The README lists six MCP tools and separately identifies verify_extraction as the seventh. The supplied manifest confirms a PyPI package, stdio transport, and an optional Gemini key.

Strongest · Documentation 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
10/20
Maintenance
9/20
Documentation
13/20
Setup experience
12/20
Why each score
Reliability 8/20
The README describes stdio and HTTP modes, names seven MCP tools, and gives installation and usage examples; the manifest declares a PyPI package launched over stdio. The supplied static material contains no server source, verifiable CI workflow, or committed tests covering MCP initialization and tool paths, so handshake success and agreement between the declared tools and actual behavior cannot be checked. Score: 8.
Security and permissions 10/20
The material says the Gemini key is optional and that the default can run locally, while also identifying optional hosted LLM providers and costs. No real credentials or obvious red-line behavior appear in the supplied text. Without source, file access scope, network data flows, credential handling, HTTP protections, and side-effect boundaries cannot be verified. Score: 10.
Maintenance 9/20
The repository is not archived; the materials provide an MIT license, version 1.9.0, and a PyPI release path. Commit and release history, issue response, dependency update evidence, and a security reporting channel are absent, leaving maintenance continuity and governance unclear. Score: 9.
Documentation 13/20
The README covers installation, client configuration, major features, optional backends and LLM costs, and discloses limits such as lexical-only certification and the fact that unflagged OCR lines are not verified. MCP tool parameters, error diagnosis, HTTP security configuration, and troubleshooting are limited, and the described behavior cannot be corroborated from source here. Score: 13.
Setup experience 12/20
The README provides a pip command and MCP configuration examples for Claude Desktop and Claude Code; the manifest specifies a PyPI package, stdio transport, and launch argument. There is no verifiable server execution evidence, and compatibility with other mainstream clients, platforms, and dependency failure cases is not established. Static calibration therefore limits the score to 12.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesUses the network

Best for

  • AI agent workflows that need PDF extraction and signals about extraction quality.
  • Users who want to check PDF extraction results for possible dropped pages.

Not for

  • Workflows that require OCR output to be guaranteed accurate without human review.
  • Semantic verification of paraphrases or translations; the README says the verifier is lexical and cannot detect faithful paraphrase or translation.

Required permissions

  • Access to submitted PDFs and any selected output files or directories.
  • GEMINI_API_KEY is optional for the paid Gemini Flash fallback; enabling it involves requests to Google AI.

Risks and side effects

  • Extraction and OCR can omit, garble, or misread content; confidence scores and review flags prompt inspection but do not verify content.
  • The verifier is lexical and cannot confirm faithful paraphrase or translation.
  • The manifest describes the Gemini Flash fallback as optional; using it may incur costs.

Setup

Before you start

Runtime:Python 3.11+ · Node.js

GEMINI_API_KEY optionalsecret Optional Google AI API key, available from Google AI, that enables the paid Gemini Flash fallback. Local operation does not require it.
ANTHROPIC_API_KEY optionalsecret Optional Anthropic API key, available from Anthropic, for configuring Claude as a BYOK LLM provider.

The README's client configuration example uses npx -y pdfmux-mcp. The manifest separately lists the PyPI package pdfmux and the stdio startup argument serve. GEMINI_API_KEY is optional for the Gemini Flash fallback; the README says local operation does not require it.

MCP config · JSON
{
  "mcpServers": {
    "pdfmux": {
      "command": "npx",
      "args": [
        "-y",
        "pdfmux-mcp"
      ]
    }
  }
}

Works in clients that read an "mcpServers" key. For clients such as VS Code that use a different key, the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "pdfmux": {
      "command": "npx",
      "args": [
        "-y",
        "pdfmux-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.pdfmux]
command = "npx"
args = ["-y", "pdfmux-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add pdfmux -- npx -y pdfmux-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that tools such as convert_pdf, get_pdf_metadata, and verify_extraction appear in your client's tool list. Ask it to analyze a PDF and check that the server returns metadata or extraction results.

Troubleshooting

  1. Check that the MCP client uses the listed stdio transport and serve startup argument, or follow the README's npx configuration example.
  2. If Gemini fallback is needed, check that GEMINI_API_KEY is configured; the README says local operation does not require it.
  3. Check whether required OCR or other extraction backends are installed; the README describes pdfmux doctor for viewing installed backends and coverage gaps.

Things to try

Once connected, you can ask your AI assistant things like:

  • Convert this PDF to Markdown and report its confidence.
  • Extract the invoice fields and tables from this PDF.
  • Check this PDF's page count and metadata.
  • Verify this PDF extraction and identify any pages that may have been dropped.

Tools 7

convert_pdf writes
Convert a PDF into extracted output.
analyze_pdf read-only
Analyze a PDF.
extract_structured read-only
Extract structured content from a PDF.
extract_streaming read-only
Extract PDF content as a stream.
get_pdf_metadata read-only
Get PDF metadata.
batch_convert writes
Convert PDFs in batches.
verify_extraction read-only
Check extraction output against the source PDF and report pages that may have been silently dropped.

Use cases

Convert PDFs to Markdown for downstream retrieval or processing.
Extract structured content or process PDFs in batches.
Check another extractor's output for potentially dropped pages.

Overview

pdfmux is an MCP server for PDF extraction in AI agent workflows. It converts PDFs to Markdown and audits extraction results; it can also check another extractor's output for pages that may have been silently dropped. The project description identifies the license as MIT. The server uses stdio; the manifest lists GEMINI_API_KEY as optional for enabling a Gemini Flash fallback. The source reports a score of 0.903 and rank 2 among 8 engines on opendataloader-bench.

Similar servers

Source revision ff8c40679bc1 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/pdfmux.svg)](https://followmcp.com/en/servers/pdfmux)