# pdfzen MCP server

Render PDFs from 45 starter templates or raw HTML. Pay-per-render with USDC via x402.

## Links
- Registry page: https://www.getdrio.com/mcp/site-pdfzen-render
- Repository: https://github.com/yalamber/pdfzen
- Website: https://pdfzen.site

## Install
- Endpoint: https://api.pdfzen.site/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://api.pdfzen.site/mcp

## Tools
- list_starters - List pdfzen's 45 public starter templates — invoices, receipts, contracts, certificates, NDAs, letters, reports, resumes, boarding passes, menus, bank statements, lab reports, lease agreements, performance reviews, and more. Returns an array of { slug, name, description, icon, pageOptions, fonts, dataKeys }. Free, no payment, no auth required. Call this first to discover what fits the user request, then optionally call get_starter to see the expected data shape, then call render_template_to_pdf to produce the PDF. Endpoint: https://api.pdfzen.site/mcp
- get_starter - Fetch the full HTML body, CSS, sampleData, and pageOptions for one starter template by slug. Use this when you need to understand the exact shape of `data` the template expects before calling render_template_to_pdf, or when you want to fork a starter into custom HTML. Free, no payment, no auth required. Endpoint: https://api.pdfzen.site/mcp
- render_template_to_pdf - Prepare a paid PDF render from one of the 45 starter templates. Validates your template + data and returns the exact, ready-to-execute HTTP request to run against pdfzen's render endpoint — POST /v402/render/pdf (x402, $0.006 USDC on Base, no API key) or POST /v1/render/pdf (pdfzen API key, credit-billed). pdfzen renders are executed over HTTP, not streamed in-band over MCP; this tool is the bridge. Your `data` is merged ON TOP of the starter sampleData at render time, so partial payloads inherit demo defaults (e.g. ship just the customer name + total). Endpoint: https://api.pdfzen.site/mcp
- render_html_to_pdf - Prepare a paid PDF render from arbitrary Handlebars-flavoured HTML. Use only when no starter fits (one-off layouts, custom branding). Prefer render_template_to_pdf when a starter matches. Validates your HTML and returns the exact, ready-to-execute HTTP request to run against pdfzen's render endpoint — POST /v402/render/pdf (x402, $0.006 USDC on Base, no API key) or POST /v1/render/pdf (pdfzen API key). pdfzen renders are executed over HTTP, not streamed in-band over MCP; this tool is the bridge. Endpoint: https://api.pdfzen.site/mcp

## Resources
Not captured

## Prompts
Not captured

## Metadata
- Owner: site.pdfzen
- Version: 1.0.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: May 14, 2026
- Source: https://registry.modelcontextprotocol.io
