Barcode Generator
Generate barcodes and QR codes in 35 symbologies: QR, Data Matrix, PDF417, EAN-13, Code 128, more.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"barcode-generator": {
"url": "https://www.barcodegen.net/mcp"
}
}
}Remote endpoints
https://www.barcodegen.net/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
🟢generate_barcode(type, value, caption, format, errorCorrection, ...)
Encode a value into any of 35 barcode and QR symbologies and return the rendered image. Supports QR Code, Data Matrix, PDF417, Aztec, EAN-13, UPC-A, Code 128/39/93, ITF-14 and more. Returns SVG markup by default (or a data: URI when asked), plus a link to the online generator pre-filled with the same value. Use "type" with the canonical name from list_barcode_types; common spellings like "qr" or "code-128" are accepted. Linear formats such as EAN-13 enforce strict charset and length rules and will fail on invalid input.
Input Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Barcode symbology, e.g. \"Qrcode\", \"Ean13\", \"Code128\", \"Datamatrix\", \"Pdf417\", \"gs1-128\"."
},
"value": {
"type": "string",
"maxLength": 1024,
"description": "The data to encode — a URL, product number, tracking code, phone number, Wi-Fi string, etc."
},
"caption": {
"type": "string",
"description": "Optional human-readable text drawn under the symbol. Defaults to the value itself."
},
"format": {
"type": "string",
"enum": [
"svg",
"data-uri"
],
"default": "svg",
"description": "Output encoding. \"svg\" returns XML markup; \"data-uri\" returns a ready-to-embed data: URL."
},
"errorCorrection": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "M",
"description": "QR error-correction level. Higher levels survive more damage but produce a denser symbol. Ignored by linear formats."
},
"height": {
"type": "number",
"minimum": 20,
"maximum": 400,
"default": 100,
"description": "Symbol height in pixels (linear formats mainly)."
},
"showText": {
"type": "boolean",
"default": true,
"description": "Draw the human-readable caption under the symbol."
}
},
"required": [
"type",
"value"
]
}🟢list_barcode_types(family, category)
List every symbology this server can generate (35 formats), grouped by family, with a one-line summary and sample data for each. Call this first when you are unsure which "type" to pass to generate_barcode. Optionally narrow by family (e.g. "EAN / UPC", "2D Barcodes") or category ("linear", "stacked", "2d").
Input Schema
{
"type": "object",
"properties": {
"family": {
"type": "string",
"description": "Case-insensitive substring match on the family name, e.g. \"Code 128\", \"2D\", \"EAN\"."
},
"category": {
"type": "string",
"enum": [
"linear",
"stacked",
"2d"
],
"description": "Restrict to one structural class of symbology."
}
},
"required": []
}🟢get_barcode_type(type)
Return the full technical reference for one symbology: character set, data length, check digit rules, X-dimension and quiet-zone guidance, print ratio, magnification, governing standard, inventor and year, typical applications, FAQ, and related formats. Use this to pick a format for a requirement, or to find out why generate_barcode rejected a value.
Input Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Barcode symbology to look up, e.g. \"Qrcode\", \"Ean13\", \"gs1-128\", \"pdf417\"."
}
},
"required": [
"type"
]
}Community
Evidence