PDF Modifier MCP server
Modify PDF text, replace with regex, and analyze layout while preserving fonts.
2 stars38 downloads/wk
Reviews
Write oneNobody has reviewed PDF Modifier yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
PDF Modifier tools (6)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
batch_modify_pdf_contentApply the same text replacements to multiple PDF files at once.
extract_embedded_fontsExtract metadata and buffers of all embedded fonts in a PDF.
inspect_pdf_fontsSearch for specific text terms and report their font properties.
list_pdf_hyperlinksExtract all existing hyperlinks and clickable URIs from a PDF.
modify_pdf_contentread_pdf_structureExtract the complete structural content of a PDF document.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan40 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install PDF Modifier in Claude Code, Cursor or VS Code
claude mcp add pdf-modifier-mcp -- uvx pdf-modifier-mcp
What the publisher says
From the PDF Modifier repository's README, as published. We do not edit it. Read it on GitHub
PDF Modifier MCP
CLI + MCP server + Web UI for PDF text replacement with font style preservation.
Quick start
pip install pdf-modifier-mcp
# 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-mcpInterfaces
Features
- Text replacement — find and replace with font style preservation (family, weight, size, color)
- Regex support — pattern-based bulk replacements (--regex)
- Hyperlinks — create clickable links or neutralize existing ones
- Batch processing — apply same replacements to multiple files
- Web UI — drag & drop PDF upload, structure browser, page preview with zoom, text highlighting
- MCP tools — readpdfstructure, inspectpdffonts, listpdfhyperlinks, modifypdfcontent
Development
# Setup
make setup
# Run tests
make test
# Full check (lint + type + test)
make check
# Start dev stack (Docker)
make up
# API: http://localhost:8000 | Web: http://localhost:8080
# Start servers locally
make run api # FastAPI dev server
make run frontend # SvelteKit dev serverDocumentation
- Full documentation site
- Architecture Decision Records
- Troubleshooting
- Lessons learned
License
MIT
Nothing above is checked by us. What we check is on the safety report.
PDF Modifier: common questions
- Is PDF Modifier MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the PDF Modifier safety report
- How do I install PDF Modifier?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does PDF Modifier need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is PDF Modifier maintained?
- The last commit was 4 days ago (2026-09-24). The latest release is v1.6.0.