TollNode

QR code generator API and MCP for AI agents

TollNode gives Claude, Cursor or any AI agent a QR code for any URL or text, returned as SVG markup and a PNG in one call, with your choice of error correction, from $0.002 per code.

Ask in plain words, like 'make a QR code for tollnode.com that survives a logo on top', and get both files.

No subscription · Sign-up optional · From $0.002 per call · Charged only when it works · No account needed

Claude Code

Make a QR code for https://tollnode.com/nodes/linkedin

TollNode · qr-code$0.002 · 1 code · 1 s

FieldValue
FormatsSVG and PNG
Version3
Modules29 x 29
Error correctionM

Real result.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

What your agent gets from a QR call

Every result is structured JSON your agent can sort, filter, summarize or turn into a spreadsheet.

What people ask their AI to do with it

Use it as a QR code generator MCP server in Claude, Cursor or Codex

Connect once. Then just ask.

Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's QR code generator node. Call POST https://tollnode.com/api/v1/nodes/qr-code with ecc (optional), text (required), scale (optional). The price is one flat price per call, charged only when it returns a result. Over MCP, call the "qr-code" tool; use list_models to see prices. Return results as tables when I ask for lists.

Price

$0.002

per QR code

Charged only when a call returns a result. Failed or empty calls cost $0.

QR code generator without running your own tools

FAQ

Is there an official QR code API?
QR codes are an open standard, so there is no single official service. TollNode generates the code itself and returns it as SVG and PNG.
Can I use it as a QR code generator MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "qr-code" tool appears with its fields and price.
Can it add colors or a logo?
No. It returns plain black and white codes. Use the highest error correction (H) if you plan to overlay a logo yourself.
What do I send?
The URL or text to encode. Optionally ecc (L, M, Q or H, default M) and scale (PNG pixels per module, default 10).
Can it read a QR code?
No. It only creates them.
Do I need an account with another service?
No. Your agent calls TollNode, and you never log in to another service or share cookies.
What if nothing comes back?
You're not charged. TollNode only collects payment when a usable result is returned, and your agent can try a different input.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/qr-code

Input

FieldTypeNotes
eccenumError correction: L (most data) to H (survives damage or a logo). Default M (L, M, Q, H)
text*stringThe URL or text to encode
scaleintegerPNG pixels per module, default 10

Example response

{
  "ecc": "M",
  "png": "data:image/png;base64,…",
  "svg": "<svg …>",
  "text": "https://tollnode.com",
  "modules": 25,
  "version": 2,
  "pngBytes": 2400
}

Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.