MCPs βΊ Dev tools βΊ html2img - HTML to Image API
Give your AI agent production-quality rendering: this MCP server turns the HTML your agent writes into pixel-perfect PNG images and A4 vector PDFs, and captures live web pages by URL. It is the official MCP server for the [HTML to Image API](https://html2img.com/), rendered on real headless Chrome, with every result uploaded to a fast CDN and returned as a shareable URL. ## Tools - **generate-image-from-html** - render HTML and CSS into a PNG (social cards, OG images, charts, banners) or a paginated A4 PDF with selectable text (invoices, reports, certificates). PNG results include an inline preview, so the agent can see what it made and refine the markup. - **screenshot-url** - capture any public web page as a full-page or viewport PNG screenshot, or archive it as a vector PDF. Supports custom viewports, element selectors, injected CSS, waits and retina scaling. The same rendering engine powers our [Screenshot API](https://html2img.com/screenshot-api/) and [HTML to PDF API](https://html2img.com/html-to-pdf/) if you would rather integrate directly over REST. ## Authentication You will need an API key (`htim_...`) from a paid HTML to Image plan - each render costs one credit. Sign up at [html2img.com](https://html2img.com/pricing/), create a key in the dashboard, and enter it when connecting. Setup guides for Claude, Cursor and other clients are on the [MCP page](https://html2img.com/mcp/) and in the [installation docs](https://html2img.com/docs/mcp/installation/).
Not monetized yet
Turn html2img - HTML to Image APIβs tool calls into revenue: one disclosed sponsored slot, 70% revenue share, fail-open by design.
Install html2img - HTML to Image API
For anyone using html2img - HTML to Image API β no Lulu account neededclaude mcp add --transport http html2img---html-to-image-api https://html2img.run.tools
Real-time weather for any city, built on the lulu-ads widget gallery. First-party, free forever.
View server βFAQ
Run: claude mcp add --transport http html2img---html-to-image-api https://html2img.run.tools
Yes β itβs a remote MCP server, so no local install is needed.
ChatGPT: Settings β Connectors β Advanced β Developer mode β Add connector, then paste https://html2img.run.tools.
Claude.ai: Settings β Connectors β Add custom connector, then paste the same URL.
Unrated out of 100, computed from cross-registry traction signals (installs, stars, registry presence) β never influenced by sponsorship.
Similar servers
Works well together