br0ski777 avatar

QR Code Generator API

br0ski777/qr-code-x402

Generates QR codes on demand via a remote API endpoint. You pass in text or a URL through the MCP tool interface, and it returns a base64-encoded PNG you can display or save. Runs as a hosted service at qr-code.api.klymax402.com with server-sent events transport, so there's nothing to install locally. Uses x402 micropayments, meaning you'll need credits to generate codes. The repository itself is pretty bare, just the integration layer without much documentation visible. Reach for this when you need programmatic QR code generation in a Claude workflow without spinning up your own encoding library, though you'll want to check pricing and rate limits before committing to it for high-volume use cases.

tool
1
transport
SSE
last updated
May 16, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

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. Returns: 1. image (base64-encoded PNG) 2. width and height in pixels 3. data (the2 params

Use this when you need to generate a QR code from text, a URL, or any string data. Returns base64 image data in JSON. Returns: 1. image (base64-encoded PNG) 2. width and height in pixels 3. data (the

Parameters* required
datastring
The text or URL to encode in the QR code
sizenumber
QR code size in modules (default: 21 for version 1)

Sponsors

Readme

QR Code Generator API

MCP Server x402 License: MIT

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.

Quickstart -- MCP

Add to your MCP client config (Claude Desktop, Cursor, ElizaOS, etc.):

{
  "mcpServers": {
    "qr-code": {
      "url": "https://qr-code.api.klymax402.com/mcp"
    }
  }
}

Quickstart -- HTTP (x402)

curl -X POST "https://qr-code.api.klymax402.com/api/qr" \
  -H "Content-Type: application/json" \
  -d '{"data":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

View the full README on GitHub

Details

Repository
github.com/br0ski777/qr-code-x402
Website
github.com/Br0ski777/qr-code-x402
Transport
SSE
Registry
MCP registry, active

More from br0ski777