Pdfrender logo

Pdfrender

Render HTML and CSS as PDFs through MCP, with temporary download links and CSS-controlled page layout.

Install Pdfrender

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://pdfrender.dev/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Hosted endpointUnreachable · 3d agoRemote Endpoint UnreachableOur automated health check could not connect to this remote SSE endpoint.Last checked 3d ago · Nov 26, 2026, 06:30 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://pdfrender.dev/mcp

Overview

Pdfrender exposes HTML-to-PDF rendering through a streamable HTTP MCP endpoint. Its render_html_to_pdf tool accepts up to 256 KB of HTML and CSS, then returns a temporary download URL with page and file-size details. WeasyPrint handles pagination, paper size, margins, headers, footers, and page numbers without running JavaScript or fetching remote URLs. Use it for agent workflows that need PDFs from self-contained HTML; larger documents should use the REST API.

Use cases

  • Render reports from self-contained HTML templates
  • Generate invoices with CSS page layout
  • Create paginated documents with headers and footers
  • Convert agent-produced HTML into downloadable PDFs

Key features

  • HTML and CSS to PDF rendering
  • CSS-controlled page size and margins
  • Headers, footers, and page numbers
  • Temporary PDF download links
  • Streamable HTTP MCP endpoint
  • REST API for larger documents

Tools1

What Pdfrender lets your agent do. Expand a tool for its parameters.

Verified live~236 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

23/51 checks healthy over the last 105d

What it can do

From the 1 tool this server returned when we ran it.

Makes network requests · 1Read-only tools · 1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit12d agoMost recent push to the default branch.
Availability20%Our rolling endpoint + install checks that succeeded.
Tools exposed1Callable tools this server registers over MCP.

How Pdfrender works

What Pdfrender does

Pdfrender converts HTML and CSS into PDF through the Model Context Protocol. The hosted service uses WeasyPrint for page layout and supports print-oriented CSS for paper size, margins, headers, footers, and page numbers. It does not execute JavaScript or retrieve external URLs, so images and fonts must be embedded as data URIs when they are needed in the output.

The MCP endpoint is hosted at https://api.pdfrender.dev/mcp/. Rendering takes one credit per call. An anonymous tier is available without an API key, while an API key provides the limits associated with the selected plan. The service runs in Germany.

How it works

An MCP-compatible client sends HTML to the render_html_to_pdf tool. The tool returns a JSON object containing a download_url, the PDF page count, its size in bytes, and an expires_in_minutes value. The download link remains usable for 15 minutes, so an agent should give the URL to the user promptly. After expiration, the document must be rendered again.

The standard MCP tool accepts up to 256 KB of HTML. For larger input, the REST API provides POST /v1/render. That API uses the same hosted rendering service and accepts an X-API-Key header for authenticated plan limits. Its documented rendering limits include 2 MB of HTML and 50 pages per render.

Setup and configuration

Configure the remote streamable-HTTP endpoint in an MCP client using:

text
https://api.pdfrender.dev/mcp/

For clients using an MCP server configuration, the endpoint can be assigned to a server entry named pdfrender. Claude Code can add it with its HTTP transport command, and Cursor, Windsurf, Cline, and Claude Desktop can use the same URL in their MCP configuration. An API key is optional for anonymous access; when used, provide it through the PDFRENDER_API_KEY environment variable or the corresponding X-API-Key request header.

Tools and capabilities

  • render_html_to_pdf: Converts up to 256 KB of HTML and CSS into a PDF.
  • Returns a temporary download URL rather than embedding the PDF in the tool response.
  • Reports the generated document's page count and byte size.
  • Supports CSS-defined paper size, margins, headers, footers, and page numbers.
  • Provides REST rendering through POST /v1/render for larger documents.

Limitations and notes

JavaScript is not run during rendering. Remote assets are not fetched, so externally hosted images and fonts will not appear unless included as data URIs. MCP download links expire after 15 minutes. The free plan includes 100 credits per month and does not require a payment card.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pdfrender

Pdfrender is an MCP server that connects AI clients to the pdfrender HTML-and-CSS rendering service and exposes the render_html_to_pdf tool. It accepts up to 256 KB of HTML, returns a temporary PDF download URL, and reports page count and size. JavaScript is not executed.

Add `https://api.pdfrender.dev/mcp/` as a streamable-HTTP MCP server in your client. Claude Code can add it with its HTTP transport command, while Cursor, Windsurf, Cline, and Claude Desktop can use the URL in their MCP server configuration.

Yes, Pdfrender works with Cursor through its streamable-HTTP MCP endpoint. Add `https://api.pdfrender.dev/mcp/` as the server URL in Cursor's MCP configuration.

No, Pdfrender does not run JavaScript. It renders HTML and CSS only, and it does not fetch remote URLs, so required images and fonts must be embedded as data URIs.

Use the REST API endpoint `POST /v1/render` for documents larger than 256 KB. The REST API accepts an `X-API-Key` header for authenticated plan limits and supports up to 2 MB of HTML and 50 pages per render.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPdfrender AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/pdfrender?style=directory)](https://allmcps.com/mcp/pdfrender)
HTML Embed
<a href="https://allmcps.com/mcp/pdfrender"><img src="https://allmcps.com/api/badge/pdfrender?style=directory" alt="Pdfrender on AllMCPs" /></a>