Skip to content
apikeg avatar

API Keg — PDF Forge & Layout Diagnostics

com.apikeg/pdf-forge

Compile Markdown or HTML into themed PDFs, and inspect existing PDF metadata and integrity.

CCM score
67 of 100
tools
2
transport
HTTP
last updated
Nov 30, 2026
Open website

Own this MCP server? Claim it

What it does

  • Renders with render_document_pdf, which outputs themed HTML and a multi-page PDF 1.7 file with running headers, page footers, and repeated table headers
  • Inspects with inspect_pdf_document, which reports page count, version, encryption, AcroForm presence, and Info metadata from a Base64-encoded PDF
  • Uses a remote Streamable HTTP endpoint with pay-per-request x402 micropayments in USDC on Base, or a monthly API key via Bearer token
  • Designed for agents that generate reports or invoices, and for checking layout issues such as orphan pages and clipped wide tables

Install

$ npx -y add-mcp https://pdf-forge.apikeg.com/mcp --name pdf-forge -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http pdf-forge https://pdf-forge.apikeg.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Dec 1, 2026.

render_document_pdfCompiles Markdown (headings, bold/italic/code, lists, GFM tables, callouts, '---pagebreak---') or HTML into both print-ready themed HTML and a spec-compliant multi-page PDF 1.7 binary with running headers, 'Page X of Y' footers, repeated table headers across page breaks, optio...11 params

Compiles Markdown (headings, bold/italic/code, lists, GFM tables, callouts, '---pagebreak---') or HTML into both print-ready themed HTML and a spec-compliant multi-page PDF 1.7 binary with running headers, 'Page X of Y' footers, repeated table headers across page breaks, optio...

Parameters* required
authorstring
Optional author or organization name rendered in the cover banner and PDF /Author metadata.
content*string
Markdown (headings, bold/italic/code, lists, GFM tables, callouts, '---pagebreak---') or raw HTML body to compile.
contentFormatstring
Input syntax format ('markdown' or 'html').one of markdown · htmldefault: markdown
headerTextstring
Optional running header stamped at the top margin of every page.
includePageNumbersboolean
Include 'Page X of Y' running footers on every page.default: true
orientationstring
Page orientation ('portrait' or 'landscape').one of portrait · landscapedefault: portrait
pageSizestring
Paper size ('Letter', 'A4', or 'Legal').one of Letter · A4 · Legaldefault: Letter
subtitlestring
Optional subtitle rendered below the title and stored in PDF /Subject metadata.
themestring
Corporate print styling theme ('executive', 'invoice', 'technical', or 'memo').one of executive · invoice · technical · memodefault: executive
titlestring
Optional document title rendered in the cover banner and stored in PDF /Title metadata.
watermarkTextstring
Optional diagonal watermark text rendered across every page (e.g. 'CONFIDENTIAL' or 'DRAFT').
inspect_pdf_documentParses a Base64-encoded PDF binary to verify %PDF header/EOF integrity and extract pdfVersion, exact pageCount, byteLength, encryption status, AcroForm presence, and Info dictionary metadata. Pricing: $0.001 USD per PDF binary inspection (x402 instant micropayment). Pass ?dry_...1 params

Parses a Base64-encoded PDF binary to verify %PDF header/EOF integrity and extract pdfVersion, exact pageCount, byteLength, encryption status, AcroForm presence, and Info dictionary metadata. Pricing: $0.001 USD per PDF binary inspection (x402 instant micropayment). Pass ?dry_...

Parameters* required
pdfBase64*string
Base64-encoded PDF binary (standard or URL-safe Base64, optional 'data:application/pdf;base64,' prefix).

Details

Website
pdf-forge.apikeg.com/llms.txt
Transport
HTTP
Registry
MCP registry, active
Resources
3
Prompts
2
Tools verified
Dec 1, 2026

More from apikeg

All 12