API Keg — PDF Forge & Layout Diagnostics
Markdown and HTML to themed multi-page PDFs, plus PDF inspection, for agents
Answered our latest tool-list check 3 days ago with 6 tools. It will be marked verified after 3 successful checks in 7 days.
API Keg — PDF Forge & Layout Diagnostics is a freemium MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Freemium
- Platforms
- API, Web
- Runs
- Remotely
- What it can do
- Can delete data (1 tool)
- Version
- 1.0.0
- Listing updated
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add --transport http pdf-forge https://pdf-forge.apikeg.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"pdf-forge": {
"type": "http",
"url": "https://pdf-forge.apikeg.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://pdf-forge.apikeg.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pdf-forge": {
"url": "https://pdf-forge.apikeg.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"pdf-forge": {
"type": "http",
"url": "https://pdf-forge.apikeg.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://pdf-forge.apikeg.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add pdf-forge --url https://pdf-forge.apikeg.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.pdf-forge]
url = "https://pdf-forge.apikeg.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://pdf-forge.apikeg.com/mcpEnter a Name (for example "API Keg — PDF Forge & Layout Diagnostics"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pdf-forge": {
"type": "http",
"url": "https://pdf-forge.apikeg.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "pdf-forge": { "httpUrl": "https://pdf-forge.apikeg.com/mcp" } } }Or run: gemini mcp add -s user --transport http pdf-forge https://pdf-forge.apikeg.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "pdf-forge": { "serverUrl": "https://pdf-forge.apikeg.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "pdf-forge": { "url": "https://pdf-forge.apikeg.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "pdf-forge": { "type": "streamableHttp", "url": "https://pdf-forge.apikeg.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "pdf-forge": { "url": "https://pdf-forge.apikeg.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "pdf-forge": { "url": "https://pdf-forge.apikeg.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "pdf-forge": { "url": "https://pdf-forge.apikeg.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "pdf-forge": { "url": "https://pdf-forge.apikeg.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About API Keg — PDF Forge & Layout Diagnostics
Pass in Markdown or HTML and get back a styled PDF 1.7 file with running headers, page-numbered footers, repeated table headers across page breaks, and an optional diagonal watermark. Four built-in themes (executive, invoice, technical, memo) set the look without any template work.
Every render also returns a layout report that flags orphaned trailing pages, tables wider than the page, and broken images, so problems can be caught before a document goes out. A separate tool parses an existing Base64-encoded PDF and reports its version, page count, byte length, encryption status, form fields and Info dictionary metadata.
The server is aimed at AI agents and backend teams that need reports, invoices or memos generated on demand. It can be reached over streamable HTTP with pay-per-request x402 payments, or with a monthly API key, and a dry-run flag validates payloads without charge.
Tools this server provides (6)
Read directly from the server.
The server marks 1 of 6 tools as able to delete data and 3 as able to change data.
From the server's own tool labels and tool names; not verified by us.
- render_document_pdfSays read-only
- 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, optional watermark, and deterministic layoutDiagnostics. Pricing: $0.004 USD per rendered PDF document (x402 instant micropaymen
- inspect_pdf_documentSays read-only
- 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). Defaults to HTTP 402 (x402); if your client lacks 402 support, sign in via MCP OAuth or subscribe at https://apikeg.com/account. Pass
- account_send_verification_codeSays it can change data
- Free ($0.00). Sends a 9-character verification code (AAA-AAA-AAA) to the user's email address to register, sign in, or view their current ak_live_... API key without rotating it. Ask for the email and resulting code using your built-in interactive question tool (AskUserQuestion / ask_question).
- account_verify_and_checkoutSays it can change data
- Free ($0.00). Verifies the 9-character email code from account_send_verification_code, returns the user's current ak_live_... API key on the first call (even if already registered, without rotating their key!), and optionally creates a direct Stripe Checkout URL for "pdf-forge" ($5, $20, or $50/mo).
- account_create_checkoutSays it can change data
- Free ($0.00). Generates a direct Stripe Checkout URL (https://checkout.stripe.com/...) for "pdf-forge" ($5, $20, or $50/mo) using either the connected Authorization header or an apiKey.
- account_rotate_api_keySays it can change data
- Free ($0.00). Rotates the user's ak_live_... API key immediately without requiring an email verification code, authenticating with either the connected Authorization header or the current apiKey.
What it does
- Markdown and HTML compilation
- Converts headings, lists, GFM tables, callouts and explicit page breaks into a multi-page PDF.
- Built-in corporate themes
- Offers executive, invoice, technical and memo styles selectable per render.
- Layout diagnostics
- Reports orphan trailing pages, wide tables and broken images alongside each render.
- Table header continuation
- Repeats table headers automatically when a table breaks across pages.
- PDF inspection
- Reads version, exact page count, encryption, form presence and Info metadata from a PDF.
- Dry-run validation
- Checks any request payload at no cost before a paid call is made.
Good for
- Generate an invoice PDF from structured data inside an agent workflow
- Produce a multi-page executive report from Markdown notes
- Check a generated PDF for clipped tables or a stranded last page before sending
- Verify page count and encryption status of PDFs received from users
- Add a watermark to draft memos rendered for review
Pricing
Freemium, from $5 a month
Pay-per-request ($0.004 per render, $0.001 per inspection) or monthly plans from $5
Prices change. Check pdf-forge.apikeg.com before you buy.
API Keg — PDF Forge & Layout Diagnostics FAQ
How is the service connected to an AI client?
It exposes a Streamable HTTP MCP endpoint at pdf-forge.apikeg.com/mcp, and a JSON config snippet for adding it to a client is published on the site.
How much does a render cost?
Pay-per-request is $0.004 per rendered document and $0.001 per PDF inspection, paid in USDC on Base via x402. Monthly API key plans are listed at $5, $20 and $50 per product.
Can I test a request without being charged?
Yes. Adding dry_run=true to the URL or sending an X-Dry-Run header validates the payload at no cost.
Which PDF version is produced?
The renderer outputs spec-compliant PDF 1.7 documents.
How do I add API Keg — PDF Forge & Layout Diagnostics to Claude Code?
Run this command in your terminal: claude mcp add --transport http pdf-forge https://pdf-forge.apikeg.com/mcp
What are the best alternatives to API Keg — PDF Forge & Layout Diagnostics?
The closest alternatives to API Keg — PDF Forge & Layout Diagnostics are PDF Generator API, PodPDF, Makespdf, PDF Table & Document to JSON + Markdown MCP and pdfzen.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 3 December 2026.
- Install steps: from the official MCP Registry entry.