# HTML to PDF MCP Server

> Use this tool when you need to convert HTML content into PDF format, solving problems such as generating reports, invoices, or printable documents from web pages. It takes HTML files or content as input and produces PDF files as output, allowing for customization of page formats, margins, and header/footer templates. Ideal for use cases where accurate browser-based rendering of HTML and CSS is required.

Canonical page: https://skillsregistry.net/skills/jesamkim-html2pdf  
JSON: https://api.skillsregistry.net/v1/skills/jesamkim-html2pdf

## Description

Converts HTML files or HTML content to PDF using Puppeteer's browser rendering engine with support for CSS, JavaScript, custom page formats, margins, and header/footer templates.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** browser-automation
- **Updated:** 2026-09-02

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/xstbbso6r3)
- **Repository:** <https://github.com/jesamkim/html2pdf>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "jesamkim-html2pdf"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jesamkim-html2pdf` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jesamkim-html2pdf/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
