Barcode / GTIN Validation

live Utility

Validate EAN-13/UPC-A/EAN-8/GTIN-14 barcodes offline (keyless): mod-10 check digit, format detection, GTIN-14 normalization, and GS1 prefix to issuing country.

2 tools
0ms auth
free tier 50 calls/day

Tools

validate_gtin

Validate a barcode number — EAN-13, UPC-A (12), EAN-8, or GTIN-14 (keyless, offline). Checks the mod-10 check digit, reports the format, normalizes to GTIN-14, and returns the GS1 prefix + issuing cou

No parameters required.

Try it
gtin_check_digit

Compute the mod-10 check digit for GTIN/EAN/UPC data digits (all digits EXCEPT the check digit). Use to generate or repair a barcode.

No parameters required.

Try it

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/gtin/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/gtin/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"validate_gtin","arguments":{}}}'

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("validate_gtin", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("validate ean-13/upc-a/ean-8/gtin-14 barcodes offline (keyless): mod-10 check digit, format detection, gtin-14 normalization, and gs1 prefix to issuing country");