Skip to main content
ClaudeWave

MCP server that validates PDF page-tree graphs: Kids->Page, Contents->stream, orphan pages, Count match

MCP ServersOfficial Registry0 stars0 forksJavaScriptMITUpdated today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/11/2026
Install in Claude Code / Claude Desktop
Method: NPX · github
Claude Code CLI
claude mcp add pdfcheck-mcp -- npx -y github
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "pdfcheck-mcp": {
      "command": "npx",
      "args": ["-y", "github"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Use cases

MCP Servers overview

# pdfcheck-mcp

MCP server that validates PDF page-tree structure. Two tools, stdio transport, zero native dependencies.

## Why

Most PDF checks stop at "does a stream object exist". That misses the real failure mode: a PDF can have 24 stream objects and still be unreadable because the page tree never points at them. We shipped 13 broken product PDFs this way. Every page dictionary was orphaned, `/Contents` pointed at font objects, and the stream-count QA passed anyway.

This server walks the object graph instead:

- every `/Kids` entry resolves to a `/Type /Page` object
- every page `/Contents` points to a stream object
- no orphan `/Type /Page` objects unreachable from `/Kids`
- reachable page count matches the `/Count` claim
- blank-page check: inflated content streams contain at least one `Tj`/`TJ` text op

It handles classic (uncompressed) xref tables, which covers output from typical PDF generators. Compressed xref streams are rejected with a clear error rather than a false pass.

## Install

```sh
npm install -g @jayjex/pdfcheck-mcp
```

Or run from GitHub without npm:

```sh
npx -y github:jayjex/pdfcheck-mcp
```

## Claude Desktop config

```json
{
  "mcpServers": {
    "pdfcheck": {
      "command": "npx",
      "args": ["-y", "@jayjex/pdfcheck-mcp"]
    }
  }
}
```

## Tools

### pdf_qa(path)

Full report for one PDF:

```json
{
  "file": "/tmp/report.pdf",
  "ok": false,
  "problems": [
    "contents-not-stream=3 [{\"page\":7,\"reason\":\"obj 5 not stream (type Font)\"}]",
    "orphan-pages=1 [13]",
    "count-mismatch claimed=4 reachable=3"
  ],
  "report": {
    "size_claim": 4, "kids": 4, "kids_ok": 3,
    "contents_ok": 0, "contents_bad": 3,
    "zero_tj": [], "orphans": [13], "xref_entries": 14, "size_field": 14
  }
}
```

### pdf_batch(dir)

Flat scan of a directory, one `pdf_qa` per `*.pdf` (max 200 files, 50 MB each). Returns totals, a per-file `kids/contents/orphans` summary, and the full problem list for every broken file.

## Local development

```sh
git clone https://github.com/jayjex/pdfcheck-mcp
cd pdfcheck-mcp && npm install
node test/smoke.mjs
```

`test/fixtures/` holds two healthy PDFs and one deliberately broken (`broken-wiring.pdf`, a page-tree pointer-shift bug). The smoke test asserts 2 pass, 1 fails with the exact graph problems.

## License

MIT
mcpmcp-servermodel-context-protocolmodelcontextprotocolpdfpdf-toolsqa

What people ask about pdfcheck-mcp

What is jayjex/pdfcheck-mcp?

+

jayjex/pdfcheck-mcp is mcp servers for the Claude AI ecosystem. MCP server that validates PDF page-tree graphs: Kids->Page, Contents->stream, orphan pages, Count match It has 0 GitHub stars and its last recorded update is dated 2026-09-10.

How do I install pdfcheck-mcp?

+

You can install pdfcheck-mcp by cloning the repository (https://github.com/jayjex/pdfcheck-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is jayjex/pdfcheck-mcp safe to use?

+

Our security agent has analyzed jayjex/pdfcheck-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains jayjex/pdfcheck-mcp?

+

jayjex/pdfcheck-mcp is maintained by jayjex. The last recorded GitHub activity is dated 2026-09-10, with 0 open issues.

Are there alternatives to pdfcheck-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy pdfcheck-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: jayjex/pdfcheck-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/jayjex-pdfcheck-mcp)](https://claudewave.com/repo/jayjex-pdfcheck-mcp)
<a href="https://claudewave.com/repo/jayjex-pdfcheck-mcp"><img src="https://claudewave.com/api/badge/jayjex-pdfcheck-mcp" alt="Featured on ClaudeWave: jayjex/pdfcheck-mcp" width="320" height="64" /></a>

More MCP Servers

pdfcheck-mcp alternatives