MCP Server Ready

$ gen-pdf _

PDF generation MCP server for AI agents. Transform markdown into publication-ready documents with LaTeX, Mermaid, and code highlighting.

✓ Images & media embedding
✓ Syntax highlighting (100+ languages)
✓ LaTeX mathematical expressions
✓ Mermaid diagrams & flowcharts
✓ Complex tables with merging
✓ Cover pages & table of contents
Free
To get started
∞
Possibilities
mcp.json
{
  "mcpServers": {
    "gen-pdf": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://gen-pdf.com/mcp"
      ]
    }
  }
}
→ Ready to generate PDFs ●
Document preview 1
Document preview 2
Document preview 3

How it works

From markdown to PDF in seconds

01

Configure MCP

Add gen-pdf to your mcp.json configuration file.

{ "mcpServers": { "gen-pdf": {...} } }
02

Write Markdown

Create your document using familiar markdown syntax.

# Report\n\n## Introduction...
03

Generate PDF

Your AI generates a beautifully formatted PDF.

→ output.pdf ✓

Examples

See what you can create

Document preview 1
Document preview 2
Document preview 3
Document preview 5
Document preview 6

Why Gen-PDF?

Stop wrestling with PDF libraries

Traditional PDF generation is painful. Complex APIs, ugly output, and hours of debugging. Gen-PDF lets your AI create beautiful documents in seconds.

Instant Setup

Add one line to your config and start generating PDFs immediately. No API keys, no complex setup.

Developer-First

Built for AI agents. Your LLM writes markdown, we handle the beautiful PDF output.

TeX-Quality Output

Professional typesetting with LaTeX math, syntax highlighting, and Mermaid diagrams.

Blazing Fast

Rust-powered Typst compiler generates PDFs in milliseconds, not seconds.

Use Cases

Built for every document type

From simple letters to complex technical reports, Gen-PDF handles it all with professional quality.

Reports & Analysis

Reports & Analysis

Generate data-driven reports with charts, tables, and insights.

Invoices & Contracts

Invoices & Contracts

Create professional business documents with precise formatting.

Technical Documentation

Technical Documentation

Write docs with code blocks, diagrams, and mathematical formulas.

Comparison

Gen-PDF vs. Traditional Solutions

See why developers choose Gen-PDF over complex PDF libraries and services.

FeatureGen-PDFOthers
Setup Time< 1 seconds30+ seconds
RenderingTypstBrowser-based printing
LaTeX Math Support✓ NativeLimited/None
Mermaid Diagrams✓ Built-inRequires plugins
Code Highlighting100+ languagesBasic
AI-Optimized✓ MCP NativeREST API only

What Developers Say

Built for AI-powered workflows

"Finally, a PDF solution that just works with my AI agent. Setup took 30 seconds and the output quality is incredible."

"The LaTeX support is phenomenal. My AI can now generate publication-ready papers automatically."

"We replaced our entire invoice generation pipeline with Gen-PDF. It's faster, prettier, and our team loves it."

Ready to automate your PDF generation?

Start generating beautiful PDFs in under a minute. Free to try, no credit card required.

✓ 20 free PDFs per month • ✓ No credit card required • ✓ Cancel anytime

Pricing

Simple, transparent pricing

Start free, scale as you grow. No hidden fees, no surprises. Pay only for what you use.

Free

Perfect to get started

$0 /month
  • 20 PDF pages per month
  • All document features included
  • LaTeX, Mermaid, code highlighting
  • No credit card required
Start Free
Most Popular

Pro

For production workloads

$9 /month

+ $0.001 per page after 1,000

  • 1,000 pages included monthly
  • Unlimited document size
  • No watermark
  • Priority support

✓ 30-day money-back guarantee • ✓ Cancel anytime • ✓ Secure payment via Stripe