mlorentedev avatar

PDF Modifier

mlorentedev/pdf-modifier-mcp

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 tools

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

CI PyPI Python 3.12+ Docs License: MIT

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


View the full README on GitHub

Details

Repository
github.com/mlorentedev/pdf-modifier-mcp
Category
Documents & Knowledge
Package
pdf-modifier-mcp
Transport
STDIO
Registry
MCP registry, active

More from mlorentedev

Related Documents & Knowledge MCP servers

View all
1stonematt avatarMcp Obsidian Clistonematt/mcp-obsidian-cliSave chat notes from Claude Desktop to your vault — MCP on Obsidian CLI. Keep what matters.2stars
2punic-pillars avatarProject Knowledge Mcppunic-pillars/project-knowledge-mcpCross-project knowledge graph for MCP — map features across mobile, backend, and admin codebases.1stars
3zcsabbagh avatarKnowledge Graph Mcpzcsabbagh/knowledge-graph-mcpKnowledge graph MCP for student learning with spaced repetition and mastery tracking1stars
4pocketdrives avatarPocket Drivesai.pocketdrives/pocket-drivesPeer-to-peer car rental search — luxury, exotic, and EV vehicles with delivery across the US.0stars
5michael-kanda avatardesignare.at Knowledgemichael-kanda/designareLesender Zugriff auf Profil, Projekte und Fachwissen von Michael Kanda (designare.at, Web & KI).0stars
6yserrag avatarAskSakina Islamic Knowledgeyserrag/asksakina-mcpCurated Islamic MCP: Quran (Arabic + Pickthall), 440 du'as, 99 Names, crisis-aware.0stars