pdfcheck-mcp

v0.1.1
io.github.jayjex/pdfcheck-mcp Checked 1 day ago Published 2 months ago

MCP server validating PDF page trees: Kids->Page, Contents->stream, orphans, Count match.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pdf_qa PDF QA (single file)

Validate one PDF's page-tree graph: /Kids resolve to /Type /Page, page /Contents point to stream objects, no orphan page objects, /Count vs reachable pages, blank-page (Tj) check. Returns ok, problems[], and the raw report.

ParameterTypeDescription
path *stringPath to the PDF file (absolute, or relative to the server cwd)

pdf_batch PDF QA (directory batch)

Run pdf_qa over every *.pdf in a directory (flat scan, max 200 files, 50 MB/file). Returns totals plus per-file kids/contents/orphan summaries and the full problem list for every broken file.

ParameterTypeDescription
dir *stringDirectory containing PDF files