# EAN Check barcode and shipping tools

> GS1 barcodes, check digits, freight class, CBM, Julian dates and shelf life, worked out from input.

- name: com.eancheck/barcode-tools
- version: 1.0.4
- connection class: R0 (autonomous)
- trust: 83/100 flags: no-repository
- quality: 91/100 (strong)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.eancheck%2Fbarcode-tools
- tools: https://api.protogrid.dev/v1/servers/com.eancheck%2Fbarcode-tools/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "barcode-tools": {
      "type": "http",
      "url": "https://eancheck.com/api/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website +reachable +uptime-100% +updated-7d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 91/100 (strong)

### protocol: 88 (weight 25)

- pass `protocol.modern`: supports 2026-07-28 (server/discover)
- pass `protocol.stateless`: answers without a session
- pass `protocol.transport`: streamable HTTP
- warn `protocol.list_ttl`: tools/list declares ttlMs 0, so clients re-fetch it on every use

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 89 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 14 of 14 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: calculate_check_digits (destructiveHint); validate_gtins (destructiveHint); freight_class (destructiveHint); …
- pass `tools.token_cost`: about 3,497 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump
- pass `tools.hidden_text`: no hidden text in tool names, descriptions, schemas or annotations
- pass `tools.poisoning`: no instructions aimed at the model in tool definitions

### stability: 100 (weight 15)

- pass `stability.changes`: 4 tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name
- pass `stability.new_links`: no tool change named a new site

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 14, about 3,497 tokens to load them all
- tool set hash: e0af9d4d67746a7f89090f79e7c6a3e8
- tools last changed: 2026-11-22T23:35:43.219Z
- badge: [![protogrid quality](https://protogrid.dev/badge/com.eancheck/barcode-tools.svg)](https://protogrid.dev/servers/com.eancheck/barcode-tools)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Definition changes

- 2026-11-22 `shelf_life_calculator` added
  - Work out an expiry date, a production date or a shelf life from the other two, and how much of the shelf life is left on a check date. Send two of `production`, `shelf_life` and `expiry`, or only `expiry` for the days left. Months and years are calendar months: a day that does not exist in the new month becomes its last day (31 January + 1 month = 28 February), and the answer says so. Dates are read as packs print them, GS1 dates included. An expiry given as month and year is the last day of the month, a production date given as month and year the first day (a GS1 date with day 00 stays the last day, as GS1 defines it). Optional `minimum` checks a minimum life left, as a share (2/3, 70%) or a time (105 days). Dates from 1900 to 2199. The tool does not know how long a product keeps.
- 2026-11-19 `julian_date` added
  - Convert a day-number date code (a "Julian date" on packaging: DDD, YDDD, YYDDD, CYYDDD or YYYYDDD) or an astronomical Julian Date (JD, MJD) to a calendar date, or a calendar date to every code form. Give `code` or `date`, not both. Dates from 1583-01-01 to 9999-12-31. A code that is not a date gets an error and a hint, not a guess. An answer for a code with a year in it says how old the date is, counted from `today`; for a three-digit code, the day this year once it has come.
- 2026-11-19 `cbm_calculator` added
  - Work out the volume of a shipment in cubic metres (CBM) and cubic feet, how much of a 20 ft, 40 ft, 40 ft high cube and 45 ft high cube dry container it fills, how many pieces of one size go into each container by size, and, when weights are given, the chargeable weight for air freight (divisor 6000), courier (5000) and sea freight LCL (1 m3 = 1000 kg). Each line is one piece size: length x width x height, optionally x quantity, optionally x weight of one piece. Up to 20 lines. A malformed line, unit or divisor gets an error, not a volume.
- 2026-11-16 `freight_class` added
  - Work out the density (pounds per cubic foot) and the freight class of a US LTL shipment on the NMFC density scale with 13 steps, in force since 2025-07-19. Each line is one piece size: length x width x height x weight of one piece, and optionally x number of pieces. Up to 20 lines. A malformed line or unit gets an error, not a class.

Full history: https://api.protogrid.dev/v1/servers/com.eancheck%2Fbarcode-tools/changes

## Remotes

- https://eancheck.com/api/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (14)

- `barcode_size`: 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.
- `calculate_check_digits`: 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.
- `cbm_calculator`: Work out the volume of a shipment in cubic metres (CBM) and cubic feet, how much of a 20 ft, 40 ft, 40 ft high cube and 45 ft high cube dry container it fills, how many pieces of one size go into each container by size, and, when weights are given, the chargeable weight for air freight (divisor 6000), courier (5000) and sea freight LCL (1 m3 = 1000 kg). Each line is one piece size: length x width x height, optionally x quantity, optionally x weight of one piece. Up to 20 lines. A malformed line, unit or divisor gets an error, not a volume.
- `check_amazon_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.
- `convert_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.
- `convert_upc_e`: 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.
- `freight_class`: Work out the density (pounds per cubic foot) and the freight class of a US LTL shipment on the NMFC density scale with 13 steps, in force since 2025-07-19. Each line is one piece size: length x width x height x weight of one piece, and optionally x number of pieces. Up to 20 lines. A malformed line or unit gets an error, not a class.
- `identify_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.
- `julian_date`: Convert a day-number date code (a "Julian date" on packaging: DDD, YDDD, YYDDD, CYYDDD or YYYYDDD) or an astronomical Julian Date (JD, MJD) to a calendar date, or a calendar date to every code form. Give `code` or `date`, not both. Dates from 1583-01-01 to 9999-12-31. A code that is not a date gets an error and a hint, not a guess. An answer for a code with a year in it says how old the date is, counted from `today`; for a three-digit code, the day this year once it has come.
- `make_barcode`: 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).
- `parse_gs1`: Split GS1 data (GS1-128, GS1 DataMatrix, Digital Link) into its Application Identifiers, with the name of each AI and any format error.
- `repair_gtin`: Recover a GTIN with unreadable digits: mark each unknown digit with ? or * and get every number that passes the GS1 check digit.
- `shelf_life_calculator`: Work out an expiry date, a production date or a shelf life from the other two, and how much of the shelf life is left on a check date. Send two of `production`, `shelf_life` and `expiry`, or only `expiry` for the days left. Months and years are calendar months: a day that does not exist in the new month becomes its last day (31 January + 1 month = 28 February), and the answer says so. Dates are read as packs print them, GS1 dates included. An expiry given as month and year is the last day of the month, a production date given as month and year the first day (a GS1 date with day 00 stays the last day, as GS1 defines it). Optional `minimum` checks a minimum life left, as a share (2/3, 70%) or a time (105 days). Dates from 1900 to 2199. The tool does not know how long a product keeps.
- `validate_gtins`: 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.
