Weblitz
Converts HTML, CSS and JavaScript to PDF, Word, Excel or PowerPoint without a browser
Weblitz is a paid MCP server for files and documents. It runs locally on your machine and is started by your AI client.
- Pricing
- Paid
- Platforms
- API, Self-hosted, Linux
- Runs
- Locally
- Version
- 2.0.0-rc.2
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add weblitz --env SSRS2_LICENSE='<SSRS2_LICENSE>' -- npx -y weblitz-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"weblitz": {
"command": "npx",
"args": [
"-y",
"weblitz-mcp"
],
"env": {
"SSRS2_LICENSE": "<SSRS2_LICENSE>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"weblitz": {
"command": "npx",
"args": [
"-y",
"weblitz-mcp"
],
"env": {
"SSRS2_LICENSE": "<SSRS2_LICENSE>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"weblitz": {
"command": "npx",
"args": [
"-y",
"weblitz-mcp"
],
"env": {
"SSRS2_LICENSE": "<SSRS2_LICENSE>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"weblitz": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"weblitz-mcp"
],
"env": {
"SSRS2_LICENSE": "<SSRS2_LICENSE>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add weblitz --env SSRS2_LICENSE='<SSRS2_LICENSE>' -- npx -y weblitz-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.weblitz]
command = "npx"
args = ["-y", "weblitz-mcp"]
env = { SSRS2_LICENSE = "<SSRS2_LICENSE>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"weblitz": {
"command": "npx",
"args": [
"-y",
"weblitz-mcp"
],
"env": {
"SSRS2_LICENSE": "<SSRS2_LICENSE>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Or run: gemini mcp add -s user -e SSRS2_LICENSE='<SSRS2_LICENSE>' weblitz npx -- -y weblitz-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "weblitz": { "command": "npx", "args": [ "-y", "weblitz-mcp" ], "env": { "SSRS2_LICENSE": "<SSRS2_LICENSE>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
SSRS2_LICENSEYour SSRS2 license key, which covers Weblitz. Optional: without one, PDF and image pages carry a trial watermark.
About Weblitz
Weblitz takes a page written in HTML, CSS and JavaScript and produces a file that matches how Chrome would print it. Its layout and PDF engine are written in .NET, and page scripts run in V8, so there is no Chromium to install, launch or keep running. Pages can also be exported as Excel workbooks, Word documents or PowerPoint slides.
The package is available for .NET, Node.js, Python and Java, and a Docker image exposes the same rendering over HTTP for any language with an HTTP client. Node.js, Python and Java calls reuse the Puppeteer and Playwright option names, which eases migration from those tools. Pages behind a login can be printed by supplying the headers, tokens or cookies they need.
The product suits backend teams that generate invoices, reports or letters from templates and want Chrome-consistent output without operating a headless browser. It is currently a 2.0 release candidate, and a trial watermark applies until a licence key is added.
What it does
- Chrome-style printing
- Lays out pages and writes PDFs in a way intended to match Chrome's Save as PDF output.
- No browser required
- Renders in-process or in package-managed workers, with no Chromium to ship or start.
- Script execution before print
- Runs page JavaScript once so dynamic content such as charts is rendered before output.
- Office file export
- Converts a page into Excel, Word or PowerPoint files without installing Office.
- Multi-language packages
- Available as NuGet, npm, PyPI and Maven packages plus a Docker image.
- Header and footer templates
- Supports paged media rules, margin boxes and Puppeteer-style header and footer templates.
Good for
- Generating invoices from HTML templates in a .NET web API
- Producing PDF reports with charts from a Node.js service
- Exporting report pages to Excel for finance teams
- Rendering letters or statements on a server without a headless browser
- Converting web pages to PDF for archiving after their scripts run
Pricing
Paid
USD 799 a year per company or USD 1,999 for three years; trial watermark without a key.
Prices change. Check weblitzpdf.com before you buy.
Weblitz FAQ
Is there a browser inside?
No. The layout, fonts and PDF are Weblitz's own .NET code, and scripts run in V8, which is built into the package.
Does Weblitz run JavaScript?
Yes, once before printing, which covers React apps, Chart.js charts and pages built from their data.
Can I move from Puppeteer?
From Node.js the options are Puppeteer's page.pdf() options under their own names; from Python they follow Playwright's names.
What happens without a licence key?
Every page carries a trial watermark until a key is added.
Is Weblitz free?
No. Weblitz is a paid product.
How do I add Weblitz to Claude Code?
Run this command in your terminal: claude mcp add weblitz --env SSRS2_LICENSE='<SSRS2_LICENSE>' -- npx -y weblitz-mcp
What are the best alternatives to Weblitz?
The closest alternatives to Weblitz are Printwren: HTML to PDF and URL to PDF (real Chrome), Printwren: HTML to PDF and URL to PDF (real Chrome), Printwren: HTML to PDF and URL to PDF (real Chrome), pdfrender and PdfBroker.io.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.