PDF Modifier
PYPI · PDF-MODIFIER-MCP · SCANNED SEP 20
Modify PDF text, replace with regex, and analyze layout while preserving fonts.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security50
- Malware scan not yet available for this package.Unverified
- No known CVEs affecting this package version or its production dependencies.Pass
- Runs hatchling.build at install time, a recognised native-build step with no shell scripting around it. View diagnostics → Pass
- 3 of 35 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency35
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- License check failed: no license is declared. See how to fix → Fail
- Actively maintained (last published 88 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability74
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1185 tokens (~197/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management83
- Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a current MCP spec version (2026-07-28).Pass
How do I install the PDF Modifier MCP server?
PDF Modifier runs locally as a PyPI package, launched with uvx pdf-modifier-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
pypi · pdf-modifier-mcp
claude mcp add mlorentedev-pdf-modifier-mcp -- uvx pdf-modifier-mcp
{
"mcpServers": {
"mlorentedev-pdf-modifier-mcp": {
"command": "uvx",
"args": [
"pdf-modifier-mcp"
]
}
}
} {
"servers": {
"mlorentedev-pdf-modifier-mcp": {
"command": "uvx",
"args": [
"pdf-modifier-mcp"
]
}
}
} codex mcp add mlorentedev-pdf-modifier-mcp -- uvx pdf-modifier-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mlorentedev-pdf-modifier-mcp": {
"type": "local",
"command": [
"uvx",
"pdf-modifier-mcp"
],
"enabled": true
}
}
} openclaw mcp add mlorentedev-pdf-modifier-mcp --command uvx --arg pdf-modifier-mcp
mcp_servers:
mlorentedev-pdf-modifier-mcp:
command: "uvx"
args: ["pdf-modifier-mcp"] {
"McpServers": {
"mlorentedev-pdf-modifier-mcp": {
"Transport": "stdio",
"Command": "uvx",
"Arguments": [
"pdf-modifier-mcp"
]
}
}
} assistant mcp add mlorentedev-pdf-modifier-mcp -t stdio -c uvx -a pdf-modifier-mcp
{
"mcpServers": {
"mlorentedev-pdf-modifier-mcp": {
"command": "uvx",
"args": [
"pdf-modifier-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 19 Sept 26 −2
- Stability: pass → 0.80 functional
- 18 Sept 26 0
- Stability: 0.97 → pass security
- 17 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
- 14 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 83 to 87. That category is still filling its 30-day observation window: 25 days of observed history at the previous scan, 26 at this one. The score rises as the window fills, whether or not the server changes.
- 13 Sept 26 −15
- Malware scan: pass → unverified ▼ security
- 12 Sept 26 +13
- Malware scan: unverified → pass ▲ security
- Stability: pass → 0.80 functional
- 11 Sept 26 0
- Stability: 0.97 → pass security
- 10 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 20 Sept 2026 · Analysed pypi/pdf-modifier-mcp@1.6.0
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | pypi |
Background: How many MCP packages publish verified provenance →
Install scripts 1 script
| Hook | Tier | Command |
|---|---|---|
| build_backend | allowlisted | hatchling.build |
Background: Why install scripts are a supply-chain risk →
Dependencies 35 packages
| Packages resolved | 35 |
|---|---|
| Stale | 3 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
batch_modify_pdf_content Batch Modify Pdf Content ~155
Apply the same text replacements to multiple PDF files at once. Each file is processed independently -- a failure in one file does not stop the rest of the batch. Output files are written to ``output_dir`` using the same filename as the input.
| Name | Type | Req | Description |
|---|---|---|---|
| input_paths | array | yes | List of absolute paths to input PDF files. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| output_dir | string | yes | Directory where modified PDFs will be saved. |
| password | – | – | Optional password if PDFs are encrypted. |
| replacements | object | yes | Dictionary mapping old text to new text. |
| use_regex | boolean | – | If true, treat keys as regex patterns. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
extract_embedded_fonts Extract Embedded Fonts ~129
Extract metadata and buffers of all embedded fonts in a PDF. Use this tool to inspect which fonts are actually embedded in a document. Custom fonts (TrueType, OpenType) appear as Type0 with their binary buffer. Base 14 system fonts (Helvetica, Times, Courier) are NOT embedded and will not appear in the results.
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Absolute path to the PDF file to inspect. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| password | – | – | Optional password if the PDF is encrypted. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
inspect_pdf_fonts Inspect Pdf Fonts ~199
Search for specific text terms and report their font properties. Use this tool to understand the exact font styling of text you want to replace. This ensures replacements will match the surrounding document style as closely as possible. The tool searches through all pages and returns matches with: - Page number where the term was found - The search term that matched - Surrounding context (first 100 characters) - Font name (e.g., "Helvetica-Bold", "Times-Roman") - Font size in points - Origin coordinates for precise positioning
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Absolute path to the PDF file to inspect. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| password | – | – | Optional password if the PDF is encrypted. |
| terms | array | yes | List of text strings to search for (1-50 terms). Each term is searched as a substring. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
list_pdf_hyperlinks List Pdf Hyperlinks ~111
Extract all existing hyperlinks and clickable URIs from a PDF. Use this tool to inventory the links in a document before or after making modifications. It reports the target URI, its location (bbox), and the text covered by the link if detectable.
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Absolute path to the PDF file to scan. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| password | – | – | Optional password if the PDF is encrypted. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
modify_pdf_content Modify Pdf Content ~418
Find and replace text in a PDF while preserving font styles. This tool performs text replacement by: 1. Locating all occurrences of the search text 2. Redacting the original text (white fill) 3. Inserting the replacement text with matched styling IMPORTANT BEHAVIORS: - Text is matched within individual text spans - Font style is approximated using Base 14 fonts (Helvetica, Times, Courier) - Replacement text should be similar length to avoid overlap - Multiple replacements can be specified in a single call HYPERLINK SUPPORT: - Append "|URL" to create a clickable link: "Click Here|https://example.com" - Use "|void(0)" to neutralize existing links: "Product|void(0)" REGEX SUPPORT: - Set use_regex=true to treat keys as regex patterns - Useful for matching dates, IDs, or variable content - Example: {"Order #\d+": "Order #REDACTED"} PAGE RANGE: - Use pages="1-3" to process only pages 1 through 3 (1-indexed, inclusive) - Use pages="5" to process only page 5 - Omit to process all pages
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Absolute path to the source PDF file. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| output_path | string | yes | Absolute path where the modified PDF will be saved. Parent directory must exist. |
| pages | – | – | Optional page range, e.g. "1-3" or "5". Defaults to all pages. |
| password | – | – | Optional password if the source PDF is encrypted. |
| replacements | object | yes | Dictionary mapping old text to new text. Keys are search strings (or regex if use_regex=true). Values are replacement strings (optionally with |URL). |
| use_regex | boolean | – | If true, treat replacement keys as regex patterns. Default is false for literal string matching. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
read_pdf_structure Read Pdf Structure ~173
Extract the complete structural content of a PDF document. Returns detailed information about each page including: - Page dimensions (width, height) - All text elements with their: - Exact text content - Bounding box coordinates (x0, y0, x1, y1) - Origin point for text insertion - Font name and size - Color value Use this tool FIRST to understand the document layout before making any modifications. The output helps identify exact text to target for replacements.
| Name | Type | Req | Description |
|---|---|---|---|
| input_path | string | yes | Absolute path to the PDF file to analyze. Must be a valid, accessible PDF file. |
| max_file_size | integer | – | Maximum allowed input file size in bytes (default: 100 MB). |
| password | – | – | Optional password if the PDF is encrypted. |
| Name | Type | Req | Description |
|---|---|---|---|
| result | string | yes | – |
No examples provided.
What is the PDF Modifier MCP server?
PDF Modifier is an MCP server listed in the public MCP registry as io.github.mlorentedev/pdf-modifier-mcp. Modify PDF text, replace with regex, and analyze layout while preserving fonts. This page covers its PyPI package (pdf-modifier-mcp).
Is the PDF Modifier MCP server safe to use?
PDF Modifier scores 65 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the PDF Modifier MCP server expose?
PDF Modifier exposes 6 tools: read_pdf_structure, inspect_pdf_fonts, modify_pdf_content, list_pdf_hyperlinks, extract_embedded_fonts, batch_modify_pdf_content. Their descriptions and schemas cost roughly 1,185 tokens of context every time the server is loaded.
Is the PDF Modifier MCP server still maintained?
PDF Modifier is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.