Barcode & QR Generator
QR, DataMatrix, PDF417, EAN/UPC, Code 128 and more as SVG or PNG, verified scannable.
Generate a barcode or QR code as SVG or PNG: QR, DataMatrix, PDF417, Code 128, Code 39, EAN-13, EAN-8, UPC-A, ISBN-13, ITF and GS1-128. EAN/UPC/ISBN check digits are computed (or verified, never silently replaced). QR and DataMatrix support colours, square/rounded/dot styles and (QR) a centre logo from an https URL. Every format is verified scannable. Returns SVG text or base64 PNG plus a data URI ready to embed in HTML, PDF or labels.
What agents use it for
- Put QR codes on invoices, tickets and payment links
- Print EAN/UPC product and shipping labels with correct check digits
- Branded QR codes with colours, dot style and a centre logo
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | "qrcode" | "datamatrix" | "pdf417" | "code128" | "code39" | "ean13" | "ean8" | "upca" | "isbn13" | "itf" | "gs1_128" · default "qrcode" | no | Barcode format |
text | string | yes | Data to encode (URL, text, digits for EAN/UPC/ISBN...) |
format | "svg" | "png" · default "svg" | no | Output image format |
scale | integer | no | Size: pixels per module (2D) or bar-width step (1D); default 4 (SVG) / 8 (PNG) |
color | string · default "#000000" | no | Foreground colour #RRGGBB |
background | string · default "#FFFFFF" | no | Background colour #RRGGBB |
style | "square" | "rounded" | "dots" · default "square" | no | Module style (qrcode, datamatrix) |
ec | "L" | "M" | "Q" | "H" · default "M" | no | QR error correction level (H when a logo is used) |
logo_url | string | no | QR only: https URL of a PNG/JPEG/WebP logo (max 200 KB) placed in the centre |
include_text | boolean · default true | no | Print the human-readable text under linear barcodes |
height_mm | number · default 15 | no | Bar height for linear barcodes, in mm |
Call it
{
"name": "generate_barcode",
"arguments": {
"type": "qrcode",
"text": "https://ishob.com",
"format": "svg"
}
}curl -i -X POST "https://api.ishob.com/v1/barcode" \
-H "Content-Type: application/json" \
-d '{"type":"qrcode","text":"https://ishob.com","format":"svg"}'Paid with x402: the first call returns HTTP 402 with the price; an x402 client (for example @x402/fetch or @x402/mcp) signs a USDC payment and retries. Calls that fail are not charged.
Connect the MCP server: setup for Claude, Cursor and other clients.