MintPDF HTML & Markdown → PDF · MCP native

PDF rendering API

Markdown in.
Finished document out.

A PDF API for developers and AI agents. No template editor, no template IDs, no dashboard. One POST request, or one MCP tool call. Markdown arrives with a stylesheet that makes agent-written documents look right by default.

Paste Markdown, get a PDF Read the API No signup. No card. 10 a day free.
markdown in → invoice · editable, this is the real thing
rendered · 0.9s · A4

Invoice #42

ItemPrice
Widget$9.00
Gadget$24.00
Generated with MintPDF1 / 1

01

One request. Chromium renders it. You get a document.

No signup needed · 10 seconds

# Markdown or HTML in, PDF bytes out
curl -X POST https://mintpdf.dev/v1/pdf \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Invoice #42\n\n| Item | Price |\n|---|---|\n| Widget | $9.00 |","pageNumbers":true}' \
  --output invoice.pdf

# → 200 application/pdf · one A4 page, table already styled

# want a link instead of bytes? add:
  "output": "url"  → {"download_url": "…", "expires_at": "…"}

02

The work is in the print CSS

Where a page breaks is the whole problem

FRAGMENTATION

Nothing gets sliced

Tables, code blocks and blockquotes are not cut across a page boundary, and a row is never split in half.

REPETITION

Headers repeat

A table running over three pages carries its header onto each one, so page three is not a wall of numbers with no columns.

ORPHANS

Headings stay put

A heading is never stranded at the foot of a page with its content on the next.


03

Built for agents, not just for people

Remote over HTTP, or local over stdio

REMOTE

Nothing to install

Point any MCP client at https://mintpdf.dev/mcp over streamable HTTP. Two tools: generate_pdf and pdf_from_url.

LOCAL

One line, no key

npx -y mintpdf-mcp starts the stdio server. It works immediately on the anonymous tier, so nothing needs configuring to try it.


04

What you can send, and what happens after

sendMarkdown, HTML, or a public URL
get backPDF bytes, or a link that expires in an hour
page setupA4 · Letter · Legal · A3 · A5, landscape, custom margins
furnitureHeader and footer text, page numbers
rich contentMermaid diagrams and LaTeX maths render to vectors, not images
retentionFiles auto-delete after one hour. No accounts, no document storage, and what you render is not logged.
self-hostingMIT licensed, container published at ghcr.io/trendtweekers/mintpdf

05

Priced by what you render

Renders per month

Free
$0
100 / month, or 10 a day with no account
Solo
$19 /mo
3,000 / month
Team
$49 /mo
12,000 / month
Scale
$129 /mo
50,000 / month

FREE KEY

One email, one key, no card

Raises the anonymous 10 a day to 100 a month. Lost your key? Ask again with the same email.

UPGRADE

Already have a key

Paste it, pick a tier, and checkout carries it across. The key is the account, so nothing else changes.