pdf-modifier-mcp
The pdf-modifier-mcp server provides tools to inspect, modify, and batch‑process PDF documents with font‑style preservation.
Analyze PDF structure – Extract page dimensions, text elements, coordinates, fonts, and colors.
Inspect font properties – Search for text and retrieve its exact font name, size, and styling to plan replacements.
Modify text content – Find & replace literal or regex text while preserving font (family, size, color), create or neutralize hyperlinks, and target specific page ranges. Supports encrypted PDFs via optional password.
List hyperlinks – Extract all clickable URIs with their locations and associated text.
Extract embedded fonts – Retrieve metadata and binary buffers for custom fonts (TrueType, OpenType).
Batch‑modify PDFs – Apply the same set of replacements to multiple files simultaneously, isolating failures so one error doesn't halt the entire batch.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pdf-modifier-mcpredact credit card numbers from invoice.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-mcpRelated MCP server: pdf-navigator-mcp
Interfaces
Interface | Description | Run |
CLI |
|
|
MCP Server |
|
|
Web UI | FastAPI + SvelteKit — drag & drop, preview, replace |
|
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 —
read_pdf_structure,inspect_pdf_fonts,list_pdf_hyperlinks,modify_pdf_content
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
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables PDF manipulation including text, images, annotations, form fields, page operations, and metadata through natural language.16MIT
- AlicenseAqualityBmaintenanceProvides PDF reading, text search, navigation, and form filling capabilities through MCP, with cross-platform PDF viewer integration for seamless document interaction.78MIT
- AlicenseNot gradedqualityDmaintenanceEnables creation and editing of Word, Excel, and PowerPoint documents within MCP clients through AI assistants.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to perform 13 PDF operations (merge, split, compress, watermark, encrypt, and more) on local files via MCP.2
Related MCP Connectors
Generate PDFs from templates via AI chat. Works with Claude, ChatGPT, Cursor, and any MCP client.
MCP-native collaborative markdown editor with real-time AI document editing
AI document editing for agents: draft, edit, export .docx/PDF. 37 MCP tools; agent self-signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlorentedev/pdf-modifier-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server