Skip to content
MCP server

PDF Verify (PDF Agent Stack)

Verify PDF signatures, detect tampering and get a trust verdict for incoming files

Runs locallyStatus and history
Pricing
Free
Platforms
CLI
Runs
Locally
Version
0.35.0
Listing updated
2 days ago

About PDF Verify (PDF Agent Stack)

PDF Verify (PDF Agent Stack) is a free MCP server for files and documents. It runs locally on your machine and is started by your AI client.

A PDF can claim to be signed, archival or accessible without being any of those, so this server separates what a file declares from what checks show. It verifies cryptographic signatures with trust chain evaluation, revocation checking and RFC 3161 timestamps, and detects tampering including changes after signing and DocMDP violations assessed against the certification's P value.

The integrity result is three-valued: permitted, violated or indeterminate, and the README stresses that indeterminate is not a pass. Other tools detect the PAdES baseline level (B-B, B-T, B-LT, B-LTA), read declared PDF/A and PDF/UA conformance from XMP metadata, and validate against PDF/A and PDF/UA using veraPDF when installed or a built-in subset otherwise.

evaluate_policy turns the facts into one of four verdicts, trust_and_use, use_with_caution, human_review_required or reject, from a fixed rule table with domain profiles such as contract, financial, legal, medical and government. The judge is code and the narrative is left to the LLM.

Install

Run in a terminal

claude mcp add pdf-verify-mcp -- npx -y @shuji-bonji/pdf-verify-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "pdf-verify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-verify-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "pdf-verify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-verify-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "pdf-verify-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-verify-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pdf-verify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-verify-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "pdf-verify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@shuji-bonji/pdf-verify-mcp"
      ]
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

verify_signatures
Verifies cryptographic signatures, trust chains, revocation and timestamps.
verify_integrity
Detects tampering, post-signing changes and DocMDP violations with a revision diff.
detect_pades_level
Detects the PAdES baseline level with validated LTV data.
identify_conformance
Reads declared PDF/A and PDF/UA conformance from XMP metadata.
validate_conformance
Validates PDF/A and PDF/UA using veraPDF or a built-in subset.
validate_clauses
Checks constraints mapped from ISO 32000-1 and -2 clauses.
evaluate_policy
Returns a four-value trust verdict from a fixed rule table with domain profiles.

What it does

Signature verification
Checks cryptography, trust chains, revocation and RFC 3161 timestamps.
Tamper detection
Finds changes after signing and assesses DocMDP permissions with an object-level revision diff.
PAdES level detection
Identifies B-B, B-T, B-LT or B-LTA with validated long-term data.
PDF/A and PDF/UA validation
Uses veraPDF when installed, otherwise a built-in rule subset.
Policy verdicts
Returns one of four deterministic verdicts with domain profiles.
Clause validation
Maps constraints from ISO 32000 clauses beyond the PDF/A and PDF/UA profiles.

Good for

  • Screen an incoming signed contract
  • Check whether a certified PDF was altered after signing
  • Identify the PAdES level of an archived document
  • Validate accessibility conformance before publishing

Pricing

Free

Free npm package

Prices change. Check shuji-bonji.github.io before you buy.

PDF Verify (PDF Agent Stack) FAQ

Does a pass mean the file conforms?

No. The server finds where a file breaks rules; it cannot prove full conformance.

What does indeterminate mean?

The check could not be completed, which is different from passing.

Is veraPDF required?

No. It is used when installed; otherwise a built-in rule subset runs.

Does it confirm who signed?

No. It does not vouch for the signer's identity or the truth of the content.

Is PDF Verify (PDF Agent Stack) free?

Yes. PDF Verify (PDF Agent Stack) is free to use.

How do I add PDF Verify (PDF Agent Stack) to Claude Code?

Run this command in your terminal: claude mcp add pdf-verify-mcp -- npx -y @shuji-bonji/pdf-verify-mcp

What are the best alternatives to PDF Verify (PDF Agent Stack)?

The closest alternatives to PDF Verify (PDF Agent Stack) are REA, Agent Roast, Midplane, Leash and ASTra.

Alternatives to PDF Verify (PDF Agent Stack)

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Agent Roast

    MCP server

    Offline review that flags agent changes which weaken tests, assertions or CI

    Runs locally
    • Open source
    • 4 Hacker News points
    • Developer tools
  3. Midplane

    MCP server

    Postgres gateway for AI agents with table grants, column masking and approval for writes

    Runs locally
    • Open source
    • 5 GitHub stars
    • Databases
  4. Leash

    MCP server

    Review what your AI touched, approve risky actions and undo supported changes

    • 1 tool
    • Remote
    • Free
    • 1 GitHub star
    • Security
  5. ASTra

    MCP server

    Let agents read, edit, validate and undo Word .docx files with exact operations

    Runs locally
    • 5 tools
    • Freemium
    • Files and documents