pdfrender MCP server
Commit Nov 7, 2026Converts HTML and CSS into PDF documents using WeasyPrint with support for headers, footers, and page numbering.
Also known as pdfrender-dev/pdfrender
- Stars
- 0
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.0.1
- Last commit
- Nov 7, 2026
- License
- MIT
What is pdfrender MCP?
pdfrender converts HTML and CSS into PDF documents using WeasyPrint with support for headers, footers, and page numbering.
Summary generated from the project's README
About pdfrender MCP server
This service converts HTML and CSS into PDF documents using the WeasyPrint engine. It is designed for developers who need to generate documents with specific layouts, including headers, footers, and page numbering, all controlled through print CSS. The server operates without a headless browser, meaning it does not execute JavaScript or fetch external URLs, requiring images and fonts to be provided as data URIs.
Users can access the functionality via a REST API or as an MCP server through a streamable-HTTP endpoint. It integrates with clients like Claude Code, Cursor, Windsurf, Cline, and Claude Desktop. While an anonymous tier is available without an API key, using an X-API-Key allows for higher limits. The service is hosted in Germany and imposes a limit of 2 MB of HTML and 50 pages per individual render. The free plan provides 100 credits every month without requiring a credit card.
What you can do with it
- 1Generate styled PDF documentsConvert raw HTML content into a formatted PDF file using CSS for layout control.
- 2Create paginated reportsProduce documents that include specific page headers, footers, and automatic page numbering.
Written from the project's README. Every use case is checked against a quote from it.
How to install pdfrender MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall pdfrender MCP in Claude Code
$ claude mcp add --transport http pdfrender https://api.pdfrender.dev/mcp/Install pdfrender MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"pdfrender": {
"url": "https://api.pdfrender.dev/mcp/"
}
}
}Install pdfrender MCP in VS Code
.vscode/mcp.json
{
"servers": {
"pdfrender": {
"type": "http",
"url": "https://api.pdfrender.dev/mcp/"
}
}
}Install pdfrender MCP in VS Code CLI
$ code --add-mcp '{"name":"pdfrender","type":"http","url":"https://api.pdfrender.dev/mcp/"}'Install pdfrender MCP in Codex
$ codex mcp add pdfrender --url https://api.pdfrender.dev/mcp/Install pdfrender MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.pdfrender] url = "https://api.pdfrender.dev/mcp/"
Install pdfrender MCP in Gemini CLI
$ gemini mcp add -s user --transport http pdfrender https://api.pdfrender.dev/mcp/Install pdfrender MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"pdfrender": {
"url": "https://api.pdfrender.dev/mcp/",
"type": "http"
}
}
}Automated checks
Ran Nov 15, 2026Full report →Not verified yet. A server needs a score of 80, no serious finding, and enough data for us to check. How checks work · What to fix for more points
- Source repository linked and reachablepdfrender-dev/pdfrender is public and reachablegithub.com/pdfrender-dev/pdfrender ↗Pass
- Package names this repository as its sourceNot checked
- Build provenance (Sigstore attestation)Not checked
- Open source license (OSI)MITspdx.org/licenses/MIT.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-11-07github.com/pdfrender-dev/pdfrender ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNot checked
- No critical advisory in the package or its dependenciesNot checked
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeinitialize answered with protocol 2025-06-18 in 362 msPass
README
View on GitHubpdfrender
HTML and CSS to PDF API and MCP server. WeasyPrint with page headers, footers and page numbers, no headless browser. Hosted in Germany.
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.
Quickstart
Render HTML to a PDF in one call. The anonymous tier needs no key; add
-H "X-API-Key: $PDFRENDER_API_KEY" for your plan's limits.
curl -X POST https://api.pdfrender.dev/v1/render \
-H 'content-type: application/json' \
-d '{"html":"<h1>Hello</h1>"}' -o hello.pdf
The response is the PDF itself (content-type: application/pdf), saved as
hello.pdf. Page size, margins, headers, footers and page numbers are set in
the HTML's print CSS.
Use it from
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/
Claude Code: /plugin marketplace add pdfrender-dev/pdfrender then /plugin install pdfrender@pdfrender (set PDFRENDER_API_KEY for your key).
Cursor / Windsurf / Cline / Claude Desktop:
{
"mcpServers": {
"pdfrender": {
"url": "https://api.pdfrender.dev/mcp/"
}
}
}
One-click installs for every client: https://pdfrender.dev/connect
Integrations (Dify, Python SDK and templates): https://github.com/pdfrender-dev/pdfrender-integrations
Templates
Ready-made workflows: https://pdfrender.dev/templates
Links
- Website: https://pdfrender.dev/go/github
- API docs: https://api.pdfrender.dev/docs · OpenAPI
- Pricing: https://pdfrender.dev/pricing
- Render HTML free: https://pdfrender.dev/tools/html-to-pdf
- llms.txt: https://pdfrender.dev/llms.txt
- Privacy policy: https://pdfrender.dev/privacy
- Support: https://pdfrender.dev/support
API
Base URL https://api.pdfrender.dev/ — authenticate with an X-API-Key header;
anonymous calls work at a lower rate limit.
About the files here
.claude-plugin/— Claude Code plugin, with this repo as its own marketplace..mcp.json— the MCP server the Claude Code plugin connects to.gemini-extension.json— Gemini CLI extension manifest.glama.json— Glama server claim (names the maintainer).mcp.json— Agent Plugins 1.0 MCP server config.plugin.json— Agent Plugins 1.0 plugin manifest.server.json— the entry in the official MCP Registry.skills/— an Agent Skill (agentskills.io SKILL.md) for skill galleries.
pdfrender MCP questions
How do I add pdfrender MCP to Claude Code?
Run claude mcp add --transport http pdfrender https://api.pdfrender.dev/mcp/ in your terminal. Add --scope user to make it available in every project.
How do I add pdfrender MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
What are the file size and page limits?
The server limits HTML input to 2 MB and a maximum of 50 pages per render.
How can I control page headers and footers?
Page size, margins, headers, footers, and page numbers are controlled via the HTML's print CSS.
Is there a free tier available?
Yes, the free plan provides 100 credits per month and does not require a credit card.