QR codes for AI agents.
qr has a free MCP server, so AI assistants can make QR codes for you: "make me a QR code for my show page with a guitar in the middle" just works. There is also a plain REST API.
Connect your AI app
Add a remote MCP server with this URL. It works without any key (anonymous: up to 10 codes a day, each with a private edit link for you).
https://qr.viennastruggle.at/mcp
Claude (desktop, web): Settings → Connectors → Add custom connector → paste the URL.
Claude Code: claude mcp add --transport http qr https://qr.viennastruggle.at/mcp
Cursor, VS Code and others: add it to the MCP settings:
{
"mcpServers": {
"qr": {
"url": "https://qr.viennastruggle.at/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
The headers part is optional. With a free API key (create one in your account under "API & AI agents") the assistant can also list your codes, change targets, show stats and create codes in bulk.
Tools
- create_qr_code: QR code for a link, optional style (dots, corners, colors, emoji). Returns the image, the short URL, PNG and SVG links.
- update_qr_code: change where a code leads (printed codes keep working).
- get_qr_code_stats: scans, unique visitors, cities, devices.
- list_qr_codes, create_qr_codes_bulk (with an API key).
- get_limits: your plan and quotas.
REST API
curl -X POST https://qr.viennastruggle.at/api/v1/codes \
-H "Content-Type: application/json" \
-d '{"target_url": "https://example.com", "style": {"shape": "dots", "emoji": "1f3a8"}}'
OpenAPI description: https://qr.viennastruggle.at/api/v1/openapi.json. Images of any code: https://qr.viennastruggle.at/qr/CODE.png and .svg.
Limits
| Plan | New codes / day | Requests / hour | Bulk per call |
|---|---|---|---|
| No key | 10 | 30 | – |
| Free key | 100 | 120 | 20 |
| Pro (on request) | 5,000 | 2,000 | 500 |
Codes made through the API never expire, like all qr codes. No tracking cookies, no stored IPs.