
PDF Modifier
io.github.mlorentedevPublished by GitHub account mlorentedevv1.10.1Updated Oct 30, 2026
Modify PDF text, replace with regex, and analyze layout while preserving fonts.
Overview
Local MCP server that lets an assistant read a PDF's structure and fonts, list its hyperlinks, and replace text while keeping font styling.
- What you can do
- Read a PDF's structure and inspect the fonts it uses
- List existing hyperlinks in a document
- Replace text, including regex-based bulk replacements, while preserving font family, weight, size and color
- Create clickable hyperlinks or neutralize existing ones
- Apply the same replacements across multiple files in batch
- When to use it
- Useful when you need an assistant to edit wording inside PDFs without losing their typography, for example updating drafts, fixing repeated labels with regex, or auditing and adjusting links across several documents.
- Requirements
- Runs as a local process on the user's machine, installed from PyPI as pdf-modifier and launched with uvx (Python tooling). No authentication, environment variables or headers are declared. Desktop only; not available as a web executable.
Installation
In SourceWeft
- Open PDF Modifier in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Interfaces
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
Documentation
License
MIT
Source: README.md at commit 01624de
Tools
0Version history
3- v1.10.1LatestOct 29, 2026
- v1.10.0Oct 14, 2026
- v1.9.2Oct 13, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.