# pdfrender

> HTML and CSS to PDF MCP server with page headers, footers and page numbers. No headless browser.

- name: dev.pdfrender/pdfrender
- version: 1.0.1
- connection class: R0 (autonomous)
- trust: 96/100
- quality: 85/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/dev.pdfrender%2Fpdfrender
- tools: https://api.protogrid.dev/v1/servers/dev.pdfrender%2Fpdfrender/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "pdfrender": {
      "type": "http",
      "url": "https://api.pdfrender.dev/mcp/",
      "headers": {
        "X-API-Key": "${X_API_KEY}"
      }
    }
  }
}
```

Placeholders to fill: `${X_API_KEY}`.

## Trust

- hygiene: 100
- liveness: 100
- freshness: 100
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-100% +updated-21d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 85/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 1 of 1 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: render_html_to_pdf (destructiveHint, idempotentHint)
- pass `tools.token_cost`: about 257 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: 5 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 1, about 257 tokens to load them all
- tool set hash: cab5b017a3c780269d5a1bd2fa3e9e65
- tools last changed: 2026-10-01T22:35:59.488Z
- badge: [![protogrid quality](https://protogrid.dev/badge/dev.pdfrender/pdfrender.svg)](https://protogrid.dev/servers/dev.pdfrender/pdfrender)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

- 2026-10-01 `render_html_to_pdf` changed (annotations)
- 2026-10-01 `render_html_to_pdf` changed (description)
  - before: Render up to 256 KB of HTML to a PDF. Returns the PDF as base64 and its page count. Only HTML and CSS are rendered; JavaScript is not run. The result is `{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}`. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.
  - after: Render up to 256 KB of HTML to a PDF. Returns a download link to the PDF. 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/render`). Credits: 1 per call.
- 2026-10-01 `render_html_to_pdf` changed (inputSchema)
- 2026-09-25 `render_html_to_pdf` changed (description)
  - before: Render an HTML document to a PDF, returned base64-encoded. Only HTML and CSS are rendered; JavaScript is not run. Returns `{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}`. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.
  - after: Render up to 256 KB of HTML to a PDF. Returns the PDF as base64 and its page count. Only HTML and CSS are rendered; JavaScript is not run. The result is `{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}`. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.
- 2026-09-25 `render_html_to_pdf` changed (title, description, inputSchema, annotations)
  - before: Render an HTML document to a PDF, returned base64-encoded. `html` is a complete HTML string. Inline any images, fonts and CSS as `data:` URIs — external http(s) resources are not fetched, and no JavaScript is executed (HTML + CSS only). Returns `{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}`. Costs one credit. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.
  - after: Render an HTML document to a PDF, returned base64-encoded. Only HTML and CSS are rendered; JavaScript is not run. Returns `{"pdf_base64": "<base64-encoded PDF>", "pages": <page count>}`. For documents larger than 256 KB, use the REST API (`POST /v1/render`). Credits: 1 per call.

Full history: https://api.protogrid.dev/v1/servers/dev.pdfrender%2Fpdfrender/changes

## Remotes

- https://api.pdfrender.dev/mcp/ (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (1)

- `render_html_to_pdf`: Render up to 256 KB of HTML to a PDF. Returns a download link to the PDF.

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/render`).

Credits: 1 per call.
