Generate QR codes from text or URLs. Returns base64 PNG. x402 micropayment.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/qr-code-generator-api)<a href="https://allmcps.com/mcp/qr-code-generator-api"><img src="https://allmcps.com/api/badge/qr-code-generator-api?style=directory" alt="QR Code Generator API on AllMCPs" /></a>