Generate QR codes with an AI agent (MCP)
"Make me a Wi-Fi QR code for the guest network" is exactly the kind of chore an AI assistant should handle end-to-end. With the Model Context Protocol (MCP), it can: HonestQR runs a free remote MCP server that lets Claude, Cursor, or any MCP client generate real, scannable QR codes from a plain-language request — and proves each one scans before handing it over.
What is MCP, in one paragraph
MCP is an open standard that lets AI applications call external tools. Instead of the model drawing a QR-looking picture (which usually doesn't scan), the agent calls a real QR encoder over MCP and returns the actual image. Our server is listed in the official MCP Registry ascom.zalize.qr/honestqr.
Setup: 60 seconds per client
The endpoint is https://qr.zalize.com/mcp — remote, over Streamable HTTP, no API key.
Claude Code
claude mcp add --transport http honestqr https://qr.zalize.com/mcpClaude Desktop
Settings → Developer → Edit Config, then add to claude_desktop_config.json:
{
"mcpServers": {
"honestqr": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://qr.zalize.com/mcp"]
}
}
}Cursor
Settings → MCP → Add new global MCP server, or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"honestqr": {
"url": "https://qr.zalize.com/mcp"
}
}
}No client installed? Try it in the browser with the official Inspector:npx @modelcontextprotocol/inspector https://qr.zalize.com/mcp
What the agent can do
- generate_qr — URL, text, Wi-Fi, vCard, SMS, WhatsApp, geo and calendar-event codes; PNG or SVG, 128–2048 px, themes and custom colors, error correction L/M/Q/H.
- generate_pixel_art_qr — halftone pixel-art codes with embedded pixel text or one of 26 built-in icons, 12 gradient themes.
- decode_qr — paste a QR image and get back its payload and detected type.
- list_themes / list_icons — discover the 20 themes and 26 icons.
Example prompts
- "Generate a Wi-Fi QR code for network CafeGuest, password sunshine42, in the sunset-glow theme."
- "Make a vCard QR code for Jane Doe, jane@example.com, +1 555 0100, as a 1024px SVG."
- "Create a pixel-art QR for https://example.com with a rocket icon."
- "Decode this QR image and tell me where it points."
The honest part
AI-generated "QR art" is notorious for looking right and scanning never. That's why every code from this server is decode-verified server-side before it is returned: the response includes the decoded payload so the agent (and you) can see it matches the request. And because these are static codes, the content lives in the pixels — nothing expires, nothing is held ransom.
Full tool reference and more clients: MCP server docs. Prefer plain HTTP? See the free QR code API.
FAQ
Can AI agents like Claude generate QR codes?
Yes — through the Model Context Protocol (MCP). HonestQR runs a free remote MCP server at https://qr.zalize.com/mcp: connect it to Claude Desktop, Claude Code, Cursor or any MCP client and ask in plain language for URL, Wi-Fi, vCard, SMS, geo or calendar QR codes.
Do I need an API key?
No. The HonestQR MCP server requires no authentication and no account. Requests are rate-limited to 30 per minute per IP.
How do I know the QR code the AI made actually scans?
Every code the server returns is first decoded server-side with a real QR reader. The tool response includes a verification block confirming the decoded payload matches your request exactly — if a code does not scan, it is never returned.
Generate a free QR code that never expires
No signup. No subscription. Generated in your browser.
Open the free generator →