Hosted WeasyPrint: render HTML and print CSS to PDF, with PDF/A output on the paid plans.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Your API key; signing in with OAuth works instead
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Render up to 256 KB of HTML to a PDF with WeasyPrint. Returns a download link. Give the user the `download_url` so they can open the PDF. The link works for 15 minutes; after that, render again. The result is `{"download_url": "<link>", "pages": <page count>, "size_bytes": <PDF size>, "expires_in_minutes": 15}`. Only HTML and CSS are rendered; JavaScript is not run. For documents larger than 256 KB, use the REST API (`POST /v1/weasyprint/render`). Credits: 1 per call.
A complete HTML document, up to 256 KB. Inline images, fonts and CSS as data: URIs; external resources are not loaded.
Write the PDF as PDF/A-2b or PDF/A-3b, for archiving. Paid plans only. Leave it out for a regular PDF.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http weasyprint https://api.pagespool.com/mcp/weasyprint/
Headers
X-API-Key (optional, not in the config above): Your API key; signing in with OAuth works insteadRender up to 256 KB of HTML to a PDF with WeasyPrint. Returns a download link. Give the user the `download_url` so they can open the PDF. The link works for 15 minutes; after that, render again. The result is `{"download_url": "<link>", "pages": <page count>, "size_bytes": <PDF size>, "expires_in_minutes": 15}`. Only HTML and CSS are rendered; JavaScript is not run. For documents larger than 256 KB, use the REST API (`POST /v1/weasyprint/render`). Credits: 1 per call.
| Argument | Type | Description |
|---|---|---|
| html* | string | A complete HTML document, up to 256 KB. Inline images, fonts and CSS as data: URIs; external resources are not loaded. |
| pdf_variant | any | Write the PDF as PDF/A-2b or PDF/A-3b, for archiving. Paid plans only. Leave it out for a regular PDF. |
{
"type": "object",
"required": [
"html"
],
"properties": {
"html": {
"type": "string",
"description": "A complete HTML document, up to 256 KB. Inline images, fonts and CSS as data: URIs; external resources are not loaded."
},
"pdf_variant": {
"anyOf": [
{
"enum": [
"pdf/a-2b",
"pdf/a-3b"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Write the PDF as PDF/A-2b or PDF/A-3b, for archiving. Paid plans only. Leave it out for a regular PDF."
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 4, 2026.