
PDF Modifier
This server gives Claude native tools to edit PDFs without generating throwaway scripts. It exposes five MCP operations: read_pdf_structure for extracting text positions and fonts, inspect_pdf_fonts to locate terms and their typography, list_pdf_hyperlinks for link inventory, modify_pdf_content for find-and-replace with regex support, and batch_modify_pdf_content for bulk operations. Built on PyMuPDF with Base 14 font fallback, it preserves layout and styling during replacements. Reach for it when you need to redact invoices, update contract terms, or sanitize documents autonomously. The same package ships with a Typer CLI if you prefer scripting yourself. Installation is a single uvx command, no venv required.
- GitHub stars
- 3
- tools
- 4
- transport
- STDIO
- last updated
- Jun 24, 2026
Tools
4 toolsPublic tool metadata for what this MCP can expose to an agent.
read_pdf_structure
No parameter schema in public metadata yet.
inspect_pdf_fonts
No parameter schema in public metadata yet.
list_pdf_hyperlinks
No parameter schema in public metadata yet.
modify_pdf_content
No parameter schema in public metadata yet.
Sponsors
Readme
PDF Modifier
CLI + MCP server + Web UI for PDF text replacement with font style preservation.
Quick start
pip install pdf-modifier
# CLI
pdf-mod modify input.pdf output.pdf -r "Draft=Final"
# MCP server (for Claude/Cursor/Codex)
claude mcp add -s user pdf-modifier -- uvx pdf-modifier
Interfaces
Details
- Repository
- github.com/mlorentedev/pdf-modifier-mcp
- Category
- Documents & Knowledge
- Package
pdf-modifier-mcp- Transport
- STDIO
- Registry
- MCP registry, active