Barcode Tools (decode, render, GTIN validate)
Decode, render, validate barcodes: QR, DataMatrix, EAN, UPC, PDF417. All tools free, no auth.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"barcode": {
"url": "https://mcp.casuyi.com/mcp"
}
}
}Remote-Endpunkte
https://mcp.casuyi.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (4)
⚪decode_barcode(image_base64, formats)
Detect and decode all barcodes in an image. Input: base64-encoded image bytes (PNG/JPEG/WebP/anything sharp reads). Output: JSON array of {format, text}. Supports QR, Aztec, DataMatrix, Code128/39/93, EAN-13/8, UPC-A/E, ITF, PDF417, Codabar. Use formats filter to restrict results.
Eingabe-Schema
{
"type": "object",
"properties": {
"image_base64": {
"type": "string",
"description": "Base64-encoded image file bytes (no data: URI prefix)"
},
"formats": {
"description": "Optional canonical format ids to keep, e.g. [\"qr\",\"ean13\"]",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"image_base64"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢render_barcode(text, format, scale)
Render text as a barcode PNG. format: one of qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417. Output: base64 PNG plus 'decoded' self-check flag (we decode our own render; upca intentionally verifies as zero-padded EAN-13). GTIN codes must have a valid mod-10 checksum.
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Payload to encode (digits for GTIN symbologies)"
},
"format": {
"type": "string",
"description": "Symbology id: qr, aztec, datamatrix, code128, code39, code93, ean13, ean8, upca, itf, pdf417"
},
"scale": {
"description": "Rasterization scale, default 6",
"type": "integer",
"minimum": 2,
"maximum": 12
}
},
"required": [
"text",
"format"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢validate_gtin(code)
Check a product code against GTIN rules: length + mod-10 checksum. Returns {valid, type: ean13|ean8|upcA|null, normalized}. Rejects codes with a broken checksum (e.g. 8595234703191).
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Candidate product code, digits only"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_formats
Static table of supported barcode formats with render/decode support and notes.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Nachweis