llms.txt Content
# MintPDF
> HTML and Markdown to PDF, as a REST API and an MCP server. No template editor, no dashboard,
> no signup required to try. Markdown is styled by default so agent-written documents look right.
## What it does
Send HTML, Markdown, or a public URL; get back a PDF, or a download link valid for one hour.
Built for developers and AI agents that need to hand a person a finished document.
## Use it as an MCP server
Remote (streamable HTTP): https://mintpdf.dev/mcp
Local install: `npx -y mintpdf-mcp`
Tools: generate_pdf (html or markdown in, download URL out), pdf_from_url (public URL in, PDF out).
## Use it as a REST API
POST https://mintpdf.dev/v1/pdf
Body: exactly one of `html`, `markdown`, `url`, plus options:
format (A4, Letter, Legal, A3, A5), landscape, margin, headerText, footerText, pageNumbers,
output ("pdf" for bytes, "url" for a JSON download link).
No key needed for a few renders per day. Free key: POST https://mintpdf.dev/v1/keys {"email": "..."}
## What the markdown renderer supports
GitHub-flavoured markdown, including tables with column alignment and fenced code blocks.
Mermaid: a fenced mermaid block is rendered as a vector diagram in the PDF.
Maths: KaTeX. Use $$ ... $$ for display maths and \( ... \) for inline maths.
Single-dollar $...$ is deliberately NOT treated as maths, so currency in invoice tables survives.
Page breaks keep code blocks, tables and blockquotes whole, repeat table header rows across pages,
and never strand a heading at the foot of a page.
Free browser converter, no key and no signup: https://mintpdf.dev/markdown-to-pdf
## Limits and pricing
Anonymous: 3 renders/day per IP, no signup.
Free key: 100 renders/month, email only, no card.
Solo: $19/month for 3,000 renders/month.
Team: $49/month for 12,000 renders/month.
Scale: $129/month for 50,000 renders/month.
The API key is the account; there is no separate login, no seats and no sales calls.
## Privacy
Generated files are deleted after one hour. No document stora
OpenAPI Spec (preview)
{"openapi":"3.1.0","info":{"title":"MintPDF","version":"0.1.1","description":"Turn HTML or Markdown into a styled PDF, or render a public URL to PDF.","license":{"name":"MIT","url":"https://github.com/TrendTweekers/mintpdf/blob/main/LICENSE"}},"servers":[{"url":"https://mintpdf.dev"}],"paths":{"/v1/pdf":{"post":{"summary":"Render a PDF","description":"Send exactly one of html, markdown or url. Returns PDF bytes, or JSON with a download link when output is \"url\".","security":[{},{"bearerAuth":[