The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the QR Code Generator API listing page.
Generate QR codes from text or URLs -- base64 PNG output, configurable size. Fast and lightweight. Pay-per-call via x402 (USDC on Base L2) -- no API key, no signup, no rate-limit wall.
Part of the klymax402 marketplace -- 100 x402 micropayment APIs for AI agents, one wallet, USDC on Base.
Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):
Any x402-aware client (@x402/fetch, x402-agent-tools, ATXP) handles the 402 -> sign -> retry cycle automatically.
| Tool | Method | Path | Price | Description |
|---|---|---|---|---|
utility_generate_qr_code | POST | /api/qr | $0.003 | Generate a QR code image from text or URL |
utility_generate_qr_codeUse this when you need to generate a QR code from text, a URL, or any string data. Returns base64 image data in JSON.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
data | string | yes | The text or URL to encode in the QR code |
size | number | no | QR code size in modules (default: 21 for version 1) |
Example response:
When to use: generating shareable links, payment QR codes, Wi-Fi connection codes, vCard contact sharing, and event ticket barcodes.
Not for: screenshots (use capture_screenshot), PDFs (use document_generate_pdf).
eip155:8453)100 x402 micropayment APIs for AI agents -- one wallet, USDC on Base, zero signup.
MIT