Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

PDF Modifier

PYPI · PDF-MODIFIER

Modify PDF text, replace with regex, and analyze layout while preserving fonts.

Available components

+3 this week 75 Trust /100

Last scanned (22 hours ago)

Scores higher than 71% of PyPI servers

Category Documents and Files

Trust breakdown (7 categories)

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 build step with no custom scripting around it. View diagnostics → Pass
  • 5 of 46 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
  • Source repository is publicly reachable at the declared URL. View diagnostics → Pass
  • Cryptographically verified build provenance (signed, bound to mlorentedev/pdf-modifier). View diagnostics → Pass
  • Clear OSI-approved license (MIT).Pass
  • Actively maintained (last published 8 days ago).Pass
  • Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability68
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 1201 tokens (~200/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 Management70
  • Stability observed for 21 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage98
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 93% of tool parameters carry a description.Partial
  • 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
Changelog

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.

  • 4 Nov 26 −14
    • Malware scan: pass → unverified ▼ security
  • 3 Nov 26 +15
    • Malware scan: unverified → pass ▲ security
  • 2 Nov 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 60 to 63. That category is still filling its 30-day observation window: 18 days of observed history at the previous scan, 19 at this one. The score rises as the window fills, whether or not the server changes.

  • 30 Oct 26 −14
    • Malware scan: pass → unverified ▼ security
  • 29 Oct 26 +15
    • Malware scan: unverified → pass ▲ security
  • 28 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 43 to 47. That category is still filling its 30-day observation window: 13 days of observed history at the previous scan, 14 at this one. The score rises as the window fills, whether or not the server changes.

  • 27 Oct 26 −15
    • Malware scan: pass → unverified ▼ security
    • Package version: 1.10.0 → 1.10.1 functional
  • 26 Oct 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.

Diagnostics

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 4 Nov 2026 · Analysed pypi/pdf-modifier@1.10.1

Provenance Verified

A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.

Result Verified
Ecosystem pypi
Reason Verified
Discovered via Registry attestation endpoint
Source repo mlorentedev/pdf-modifier
Certificate issuer https://token.actions.githubusercontent.com
Certificate SAN https://github.com/mlorentedev/pdf-modifier/.github/workflows/release.yml@refs/heads/master
Rekor log index 3505357140
Predicate type PyPI publish attestation https://docs.pypi.org/attestations/publish/v1
Subject digest sha256:4e0a93804447aae795a5c9efb56dc127c6f9a3686707a9d34d9d34e6c65c434d

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 46 packages
Packages resolved 46
Stale 3
No linked repository 2
Tree resolution Complete

Background: SBOMs and build attestations, explained →

MCP tools · 6 exposed · ~1,201 tokens

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 →

Tool Tokens
batch_modify_pdf_content ~163

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.

NameTypeReqDescription
input_pathsarrayyesList of absolute paths to input PDF files.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
output_dirstringyesDirectory where modified PDFs will be saved.
password––Optional password if PDFs are encrypted.
replacementsobjectyesDictionary mapping old text to new text.
use_regexboolean–If true, treat keys as regex patterns.
whole_spanboolean––
NameTypeReqDescription
resultstringyes–

No examples provided.

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.

NameTypeReqDescription
input_pathstringyesAbsolute path to the PDF file to inspect.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
password––Optional password if the PDF is encrypted.
NameTypeReqDescription
resultstringyes–

No examples provided.

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

NameTypeReqDescription
input_pathstringyesAbsolute path to the PDF file to inspect.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
password––Optional password if the PDF is encrypted.
termsarrayyesList of text strings to search for (1-50 terms). Each term is searched as a substring.
NameTypeReqDescription
resultstringyes–

No examples provided.

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.

NameTypeReqDescription
input_pathstringyesAbsolute path to the PDF file to scan.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
password––Optional password if the PDF is encrypted.
NameTypeReqDescription
resultstringyes–

No examples provided.

modify_pdf_content ~426

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

NameTypeReqDescription
input_pathstringyesAbsolute path to the source PDF file.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
output_pathstringyesAbsolute 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.
replacementsobjectyesDictionary mapping old text to new text. Keys are search strings (or regex if use_regex=true). Values are replacement strings (optionally with |URL).
use_regexboolean–If true, treat replacement keys as regex patterns. Default is false for literal string matching.
whole_spanboolean––
NameTypeReqDescription
resultstringyes–

No examples provided.

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.

NameTypeReqDescription
input_pathstringyesAbsolute path to the PDF file to analyze. Must be a valid, accessible PDF file.
max_file_sizeinteger–Maximum allowed input file size in bytes (default: 100 MB).
password––Optional password if the PDF is encrypted.
NameTypeReqDescription
resultstringyes–

No examples provided.

Install

How do I install the PDF Modifier MCP server?

PDF Modifier runs locally as a PyPI package, launched with uvx pdf-modifier. 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

# add to Claude Code
claude mcp add mlorentedev-pdf-modifier -- uvx pdf-modifier
Common questions

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. Modify PDF text, replace with regex, and analyze layout while preserving fonts. This page covers its PyPI package (pdf-modifier).

Is the PDF Modifier MCP server safe to use?

PDF Modifier scores 75 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 4 November 2026. Its build provenance is signed and verified. 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,201 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 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

What licence is the PDF Modifier MCP server under?

PDF Modifier declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.