pdfrender MCPサーバー
コミット 2026年11月7日WeasyPrintを使用して、ヘッダー、フッター、ページ番号をサポートしたHTMLおよびCSSからPDFドキュメントに変換します。
別名 pdfrender-dev/pdfrender
- スター
- 0
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- 1.0.1
- 最終コミット
- 2026年11月7日
- ライセンス
- MIT
pdfrender MCPとは
pdfrenderはMCPサーバーです。 WeasyPrintを使用して、ヘッダー、フッター、ページ番号をサポートしたHTMLおよびCSSからPDFドキュメントに変換します。.
プロジェクトのREADMEから生成された概要
pdfrender MCP server について
このサービスは、WeasyPrintエンジンを使用してHTMLとCSSをPDFドキュメントに変換します。print CSSを通じて、ヘッダー、フッター、ページ番号を含む特定のレイアウトを持つドキュメントを生成する必要がある開発者向けに設計されています。このサーバーはヘッドレスブラウザを使用せずに動作するため、JavaScriptの実行や外部URLの取得は行いません。画像やフォントはデータURIとして提供する必要があります。
ユーザーは、REST APIまたはstreamable HTTPエンドポイントを介したMCP serverとして機能にアクセスできます。Claude Code、Cursor、Windsurf、Cline、Claude Desktopなどのクライアントと統合可能です。APIキーなしで利用できる匿名ティアもありますが、X-API-Keyを使用することでより高い制限を利用できます。サービスはドイツでホストされており、個別のレンダリングごとに2 MBのHTMLと50ページの制限があります。無料プランでは、クレジットカードの登録なしで毎月100クレジットが提供されます。
できること
- 1スタイリングされたPDFドキュメントの生成CSSによるレイアウト制御を使用して、生のHTMLコンテンツをフォーマット済みのPDFファイルに変換します。
- 2ページ番号付きレポートの作成特定のページヘッダー、フッター、および自動ページ番号を含むドキュメントを作成します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
pdfrender MCPのインストール方法
フォーマット検証日 2026年11月10日Cursor に追加Gooseに追加Claude Codeにpdfrender MCPをインストール
$ claude mcp add --transport http pdfrender https://api.pdfrender.dev/mcp/Cursorにpdfrender MCPをインストール
~/.cursor/mcp.json
{
"mcpServers": {
"pdfrender": {
"url": "https://api.pdfrender.dev/mcp/"
}
}
}VS Codeにpdfrender MCPをインストール
.vscode/mcp.json
{
"servers": {
"pdfrender": {
"type": "http",
"url": "https://api.pdfrender.dev/mcp/"
}
}
}VS Code CLIにpdfrender MCPをインストール
$ code --add-mcp '{"name":"pdfrender","type":"http","url":"https://api.pdfrender.dev/mcp/"}'Codexにpdfrender MCPをインストール
$ codex mcp add pdfrender --url https://api.pdfrender.dev/mcp/Codex config.tomlにpdfrender MCPをインストール
~/.codex/config.toml
[mcp_servers.pdfrender] url = "https://api.pdfrender.dev/mcp/"
Gemini CLIにpdfrender MCPをインストール
$ gemini mcp add -s user --transport http pdfrender https://api.pdfrender.dev/mcp/Gemini settings.jsonにpdfrender MCPをインストール
~/.gemini/settings.json
{
"mcpServers": {
"pdfrender": {
"url": "https://api.pdfrender.dev/mcp/",
"type": "http"
}
}
}自動チェック
実行日 2026年11月15日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能pdfrender-dev/pdfrender is public and reachablegithub.com/pdfrender-dev/pdfrender ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-11-07github.com/pdfrender-dev/pdfrender ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答initialize answered with protocol 2025-06-18 in 362 ms合格
README
GitHubで見るpdfrender
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のよくある質問
pdfrender MCPをClaude Codeに追加するには
ターミナルでclaude mcp add --transport http pdfrender https://api.pdfrender.dev/mcp/を実行します。すべてのプロジェクトで利用するには--scope userを追加します。
pdfrender MCPをCursorに追加するには
~/.cursor/mcp.jsonを開き、上記のインストールセクションに示すCursor設定を使ってmcpServersの下にサーバーを追加します。
ファイルサイズとページ数の制限はありますか?
サーバーの制限により、HTMLの入力は2 MBまで、1回のレンダリングにつき最大50ページまでとなっています。
ページヘッダーとフッターを制御する方法は?
ページサイズ、余白、ヘッダー、フッター、およびページ番号は、HTMLのprint CSSを通じて制御できます。
無料プランはありますか?
はい、無料プランでは毎月100クレジットを提供しており、クレジットカードの登録は不要です。