Skip to main content
MCP server CX Codex

PDF Generator — Claude Code MCP server for HTML-to-PDF

PDF Generator — HTML/Markdown to Professional PDFs is an MCP server for Claude Code that creates PDFs from HTML or Markdown with configurable page settings and headers or footers.

no license 2,182 installs updated 2026-04-12

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http pdf-generator https://pdf-generator--axel-belfort.run.tools
Open on GitHub

What PDF Generator — HTML/Markdown to Professional PDFs does

This MCP server generates PDF documents from HTML or Markdown content. You can set the page format, margins, and headers or footers; A4 and Letter are among the listed formats. The result comes back as base64-encoded data.

Call the document_generate_pdf tool to create a file. No API key is needed, but each call costs $0.008 through x402 on Base L2. The server generates a document from supplied content; capturing an existing web page calls for a different tool. That distinction matters when you need a page capture rather than a newly generated PDF.

What it helps with

  • generate a PDF from HTML content
  • turn a Markdown report into a PDF
  • set page format and document margins
  • add headers and footers to a PDF

Example prompts for the agent

  • Create a PDF from this HTML using A4 and add a page number in the footer.
  • Convert this Markdown report to a PDF with Letter pages and custom margins.
  • Make a PDF invoice from this HTML and return the file.

How to install PDF Generator — HTML/Markdown to Professional PDFs

Platform CLI: remote server

claude mcp add --transport http pdf-generator https://pdf-generator--axel-belfort.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about PDF Generator — HTML/Markdown to Professional PDFs

How do I install PDF Generator in Claude Code?

Run claude mcp add --transport http pdf-generator https://pdf-generator--axel-belfort.run.tools to add the server over HTTP.

What does PDF Generator do?

It creates PDFs from HTML or Markdown and lets you configure page settings and headers or footers. The output is returned as base64 data.

Does PDF Generator require an API key?

No API key is needed. Each call costs $0.008 through x402 on Base L2.

Similar MCP servers

All MCP servers for Writing and docs →

Project sponsors

Companies that keep this analytics open