QR Code
live UtilitiesGenerate and decode QR codes via api.qrserver.com
2 tools
0ms auth
free tier 50 calls/day
Tools
create_qr
required: data Generate a QR code for any text or URL. Returns the image URL — no image is fetched. The URL can be embedded directly in an <img> tag or downloaded.
Parameters
Name Type Description
data req string The text or URL to encode in the QR code. size opt number Width and height of the QR code image in pixels (default 200). Try it
Response
read_qr
required: url Decode a QR code from a publicly accessible image URL. Returns the decoded text.
Parameters
Name Type Description
url req string Publicly accessible URL of the QR code image to decode. Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/qrcode/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/qrcode/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"create_qr","arguments":{"data": "https://pipeworx.io"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("create_qr", {"data":"example"}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("generate and decode qr codes via api"); Related packs
Other Pipeworx packs in the same categories (Utilities):