Skip to main content
Glama

QRzap

Free, open-source QR code generator with a web UI, REST API, and MCP server.

Supports URL, WiFi, phone, email, SMS, vCard, and plain text.

qrzap.fun | Docs | API Reference | npm

Features

  • Web UI - Generate and download QR codes instantly. Customize colors, size, error correction.

  • REST API - GET /api/generate?type=url&url=... returns SVG. No API key, CORS enabled.

  • MCP Server - npx qrzap adds QR generation to any AI agent. Works with Claude, Cursor, VS Code.

  • 7 QR types - URL, WiFi, phone, email, SMS, vCard, text. Structured params (pass ssid and password, not raw WiFi strings).

  • Download formats - PNG, SVG, JPEG, WebP from the web UI.

  • Privacy - Everything runs client-side. No data stored. No tracking.

MCP Server

One command to add QR code generation to any AI client:

# Claude Code
claude mcp add qrzap -- npx qrzap@latest

# Claude Desktop / Cursor / VS Code (add to config JSON)
{
  "mcpServers": {
    "qrzap": {
      "command": "npx",
      "args": ["qrzap@latest"]
    }
  }
}

Then ask: "Generate a QR code for my WiFi network MyWiFi with password secret123"

REST API

# URL QR code
curl "https://qrzap.fun/api/generate?type=url&url=https://example.com" -o qr.svg

# WiFi QR code
curl -X POST https://qrzap.fun/api/generate \
  -H "Content-Type: application/json" \
  -d '{"type":"wifi","ssid":"MyNetwork","password":"secret123"}' \
  -o wifi.svg

# Embed in HTML
<img src="https://qrzap.fun/api/generate?type=url&url=https://example.com" width="200" />

Run locally

git clone https://github.com/pranav-bhatkar/qrzap.git
cd qrzap
npm install
npm run dev

Tech stack

Support

If you find QRzap useful, consider supporting the project:

License

MIT