EAN Check barcode tools
GS1 check digits, code identification, UPC-E and ISBN conversion, GTIN repair and barcodes.
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-tools": {
"url": "https://eancheck.com/api/mcp"
}
}
}Remote-Endpunkte
https://eancheck.com/api/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (10)
🟢calculate_check_digits(codes)
Add the GS1 check digit to GTIN numbers that are missing it (7, 11, 12 or 13 digits become GTIN-8, UPC-A, EAN-13 or GTIN-14). One number per line or comma separated.
Eingabe-Schema
{
"type": "object",
"properties": {
"codes": {
"type": "string",
"description": "Numbers without their check digit, one per line"
}
},
"required": [
"codes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢validate_gtins(codes)
Check complete GTIN, EAN, UPC and ITF-14 numbers: says for each one whether the check digit is right and which GTIN length it is.
Eingabe-Schema
{
"type": "object",
"properties": {
"codes": {
"type": "string",
"description": "Complete numbers, one per line or comma separated"
}
},
"required": [
"codes"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢identify_code(code)
Find out what kind of code a string is: GTIN, ISBN, ISSN, SSCC, GLN, GS1-128 data, GS1 Digital Link, VIN, IMEI, ASIN, Amazon LPN or FNSKU, with its check digit status.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code exactly as printed or scanned"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢check_amazon_code(code)
Read the code from an Amazon sticker: tells an LPN (License Plate Number) from an FNSKU, ASIN, FBA box label, Amazon Logistics tracking number or UPC/EAN, and explains each part. It cannot look up which product a code belongs to.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The code as printed on the sticker, e.g. LPN RR AB1234567"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢convert_upc_e(code)
Convert a UPC-E (6, 7 or 8 digits) to the full 12-digit UPC-A, or a UPC-A to UPC-E when one of the four GS1 zero-suppression rules fits. Checks the check digit.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "A UPC-E or a UPC-A, digits only"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢convert_isbn(isbn)
Convert an ISBN-10 to ISBN-13 or back, with the check digit recalculated and the hyphenated form. ISBN-13 starting with 979 has no ISBN-10.
Eingabe-Schema
{
"type": "object",
"properties": {
"isbn": {
"type": "string",
"description": "An ISBN-10 or ISBN-13, with or without hyphens"
}
},
"required": [
"isbn"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢repair_gtin(code)
Recover a GTIN with unreadable digits: mark each unknown digit with ? or * and get every number that passes the GS1 check digit.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The GTIN with ? or * for each unknown digit, e.g. 59012341?3457"
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢parse_gs1(data)
Split GS1 data (GS1-128, GS1 DataMatrix, Digital Link) into its Application Identifiers, with the name of each AI and any format error.
Eingabe-Schema
{
"type": "object",
"properties": {
"data": {
"type": "string",
"description": "GS1 data such as (01)09506000134352(17)271231(10)ABC123, FNC1 form or a Digital Link URL"
}
},
"required": [
"data"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢make_barcode(type, value, magnification, x_mm, gs1, ...)
Draw a print-ready barcode and return it as SVG (or EPS) in millimetres, plus a link that opens it in the generator. Types: upc-a, ean-13, ean-8, itf-14, code-128, code-39, code-93, interleaved-2-of-5, codabar, msi, pharmacode, data-matrix, pdf417, aztec. GS1 retail types use magnification 80 to 200 (percent).
Eingabe-Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"upc-a",
"ean-13",
"ean-8",
"itf-14",
"code-128",
"code-39",
"code-93",
"interleaved-2-of-5",
"codabar",
"msi",
"pharmacode",
"data-matrix",
"pdf417",
"aztec"
],
"description": "Barcode type"
},
"value": {
"type": "string",
"description": "The data. GTIN types accept the number without its check digit."
},
"magnification": {
"type": "number",
"description": "GS1 types only: size in percent, 100 is the standard size"
},
"x_mm": {
"type": "number",
"description": "Other types: narrowest bar or module width in mm"
},
"gs1": {
"type": "boolean",
"description": "Data Matrix only: treat the value as GS1 data like (01)09506000134352(17)271231"
},
"format": {
"type": "string",
"enum": [
"svg",
"eps"
],
"description": "File format, default svg"
}
},
"required": [
"type",
"value"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}🟢barcode_size(type, magnification, x_mm)
Give the printed size of a barcode type at a GS1 magnification (retail and carton types) or an X-dimension, with the GS1 allowed range.
Eingabe-Schema
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"upc-a",
"ean-13",
"ean-8",
"itf-14",
"code-128",
"code-39",
"code-93",
"interleaved-2-of-5",
"codabar",
"msi",
"pharmacode",
"data-matrix",
"pdf417",
"aztec"
],
"description": "Barcode type"
},
"magnification": {
"type": "number",
"description": "GS1 types: size in percent"
},
"x_mm": {
"type": "number",
"description": "Other types: narrowest bar width in mm"
}
},
"required": [
"type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": {}
}Community
Nachweis