# Weblitz

> Weblitz is a paid MCP server for files and documents. Converts HTML, CSS and JavaScript to PDF, Word, Excel or PowerPoint without a browser. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API, Self-hosted, Linux, macOS, Windows
- **Website:** https://weblitzpdf.com
- **MCP Registry name:** io.github.AntoineGou/weblitz
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add weblitz --env SSRS2_LICENSE='<SSRS2_LICENSE>' -- npx -y weblitz-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "weblitz": {
      "command": "npx",
      "args": [
        "-y",
        "weblitz-mcp"
      ],
      "env": {
        "SSRS2_LICENSE": "<SSRS2_LICENSE>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "weblitz": {
      "command": "npx",
      "args": [
        "-y",
        "weblitz-mcp"
      ],
      "env": {
        "SSRS2_LICENSE": "<SSRS2_LICENSE>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add weblitz --env SSRS2_LICENSE='<SSRS2_LICENSE>' -- npx -y weblitz-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.weblitz]
command = "npx"
args = ["-y", "weblitz-mcp"]
env = { SSRS2_LICENSE = "<SSRS2_LICENSE>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "weblitz": {
      "command": "npx",
      "args": [
        "-y",
        "weblitz-mcp"
      ],
      "env": {
        "SSRS2_LICENSE": "<SSRS2_LICENSE>"
      }
    }
  }
}
```

## 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.

## Alternatives

- [Printwren: HTML to PDF and URL to PDF (real Chrome)](https://ai-powered.com/mcp/printwren-html-to-pdf-and-url-to-pdf-real-chrome-2): Printwren: HTML to PDF and URL to PDF (real Chrome) is a freemium MCP server for files and documents.
- [Printwren: HTML to PDF and URL to PDF (real Chrome)](https://ai-powered.com/mcp/printwren-html-to-pdf-and-url-to-pdf-real-chrome-3): Printwren: HTML to PDF and URL to PDF (real Chrome) is a freemium MCP server for files and documents.
- [Printwren: HTML to PDF and URL to PDF (real Chrome)](https://ai-powered.com/mcp/printwren-html-to-pdf-and-url-to-pdf-real-chrome): Printwren: HTML to PDF and URL to PDF (real Chrome) is a freemium MCP server for files and documents.
- [pdfrender](https://ai-powered.com/mcp/pdfrender): pdfrender is a freemium MCP server for browser automation.
- [PdfBroker.io](https://ai-powered.com/mcp/pdfbroker-io): PdfBroker.io is a freemium MCP server for files and documents.
- [Markdown Pdf Export](https://ai-powered.com/mcp/markdown-pdf-export): Markdown Pdf Export is an open-source MCP server for files and documents.
- [webcapture](https://ai-powered.com/mcp/webcapture): webcapture is a freemium MCP server for files and documents.
- [boxpdf-html](https://ai-powered.com/mcp/boxpdf-html): boxpdf-html is an open-source MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/weblitz
