AI & API

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

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

PlanNew codes / dayRequests / hourBulk per call
No key1030–
Free key10012020
Pro (on request)5,0002,000500

Codes made through the API never expire, like all qr codes. No tracking cookies, no stored IPs.