Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

pdfrender

HTML and CSS to PDF, without a headless browser

pdfrender turns HTML and CSS into PDF over a REST API and an MCP server. WeasyPrint 70 lays out the pages, with paper size, margins, headers, footers and page numbers set in CSS. It runs no JavaScript and fetches no URLs, so images and fonts go in as data: URIs. Limits are 2 MB of HTML and 50 pages per render. The servers are in Germany. The free plan has 100 credits a month and needs no card.

Links

MCP server

Streamable-HTTP endpoint: https://api.pdfrender.dev/mcp/ — the anonymous tier works without a key; an API key raises the limits.

Claude Code:

claude mcp add --transport http pdfrender https://api.pdfrender.dev/mcp/

Cursor / Windsurf / Cline / Claude Desktop:

{
  "mcpServers": {
    "pdfrender": {
      "url": "https://api.pdfrender.dev/mcp/"
    }
  }
}

One-click installs for every client: https://pdfrender.dev/connect

API

Base URL https://api.pdfrender.dev/ — authenticate with an X-API-Key header; anonymous calls work at a lower rate limit.

About

HTML and CSS to PDF API and MCP server. WeasyPrint with page headers, footers and page numbers, no headless browser. Hosted in Germany.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors