# PDF Verify (PDF Agent Stack)

> PDF Verify (PDF Agent Stack) is a free MCP server for files and documents. Verify PDF signatures, detect tampering and get a trust verdict for incoming files. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** CLI
- **Website:** https://shuji-bonji.github.io/pdf-agent-stack/
- **Repository:** https://github.com/shuji-bonji/pdf-verify-mcp
- **MCP Registry name:** io.github.shuji-bonji/pdf-verify-mcp
- **Categories:** files and documents, security
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `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.

## 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

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [ASTra](https://ai-powered.com/mcp/astra): ASTra is a freemium MCP server for files and documents.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/pdf-verify-pdf-agent-stack
