epc.is EPCIS Repository
EPCIS 2.0 repository: trace products, query and count events, resolve GS1 Digital Links.
Should I use this
Quality & Safety
Findings (5)
- HIGH
- MEDIUMin query_events
- MEDIUMin validateCbvTerm
- MEDIUMin validateIdentifier
- LOWin get_event
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": {
"mcp": {
"url": "https://mcp.epc.is/mcp"
}
}
}Remote endpoints
https://mcp.epc.is/mcpstreamable-httpWhat it can do
Tool inventory
Tools (18)
🟢checkEpcisConformance(document, suppliedText)
Score an EPCIS document across every conformance dimension at once, including whether it used the identifiers it was given. Use this as a final self-check before presenting a document to a user. Pass suppliedText as what the user actually told you, verbatim — their whole request is fine. This is the only way to detect a FABRICATED identifier, which passes every other check and yet describes a different physical object. Leave it empty only when the user genuinely supplied nothing.
Input Schema
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The complete EPCIS 2.0 JSON-LD document"
},
"suppliedText": {
"type": "string",
"description": "What the user told you, verbatim"
}
},
"required": [
"document",
"suppliedText"
]
}🟢describeCbvTerm(field, term)
Get the CBV's own definition of a term, and its example of use. Use this to confirm that a term means what you think before putting it in a document — the definitions are the standard's text, not a paraphrase.
Input Schema
{
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The event field: bizStep, disposition, bizTransactionType, sourceType/destinationType"
},
"term": {
"type": "string",
"description": "The standard term, e.g. \"collecting\""
}
},
"required": [
"field",
"term"
]
}🟢digitalLinkToUrn(digitalLink, gcpLength)
Convert a GS1 Digital Link URI into the legacy EPC URN form. Supply the GCP (company prefix) length if you know it; pass 0 to let the resolver determine it. Only use URNs when the user explicitly asks for them — Digital Link is the preferred form.
Input Schema
{
"type": "object",
"properties": {
"digitalLink": {
"type": "string",
"description": "A GS1 Digital Link URI"
},
"gcpLength": {
"type": "integer",
"description": "GCP length, or 0 to determine it automatically"
}
},
"required": [
"digitalLink",
"gcpLength"
]
}🟢dpp(identifier, representation)
The Digital Product Passport of a product, Lot or Serial by its GS1 Digital Link, from the DPP API (EN 18223 structure). Read with the user's sign-in, so the fields their access tier allows are included. representation: compressed (default), operational, full, gs1 or eu.
Input Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "the product's GS1 Digital Link, e.g. https://id.epc.is/01/09523001010089"
},
"representation": {
"type": "string",
"description": "compressed (default), operational, full, gs1 or eu"
}
},
"required": [
"identifier"
]
}🟢findCbvTerms(field, description)
Find candidate CBV terms for an EPCIS event field by matching words from a description of what happened. Returns the terms whose names share a word stem with the description, most specific first, or the whole list when nothing matches. This is a NAME match, not a semantic one: it narrows the choice, it does not make it. Two terms can both look plausible for the same sentence — `collecting` and `receiving` are the known example — and only the CBV definitions settle that. Read the returned candidates as a shortlist to reason about, and prefer being explicit with the user over guessing between near-synonyms.
Input Schema
{
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The event field: bizStep, disposition, bizTransactionType, sourceType/destinationType"
},
"description": {
"type": "string",
"description": "What happened, in words, e.g. \"items picked for an order\""
}
},
"required": [
"field",
"description"
]
}🟢get_event(eventId)
One EPCIS event by its eventID, exactly as the repository holds it (JSON-LD), for the signed-in user.
Input Schema
{
"type": "object",
"properties": {
"eventId": {
"type": "string",
"description": "the eventID, e.g. ni:///sha-256;...?ver=CBV2.0 or urn:uuid:..."
}
},
"required": [
"eventId"
]
}🟢links(identifier)
The full GS1 Digital Link linkset of an identifier: every link type the resolver serves for it (product passport, master data, EPCIS repository, instructions and so on), with titles and languages.
Input Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "a GS1 Digital Link"
}
},
"required": [
"identifier"
]
}🟢listCbvTerms(field)
List every standard CBV term for an EPCIS event field. Use this instead of recalling terms from memory — the list is small, closed, and generated from the CBV standard, and a term that is not on it will be rejected when the document is captured.
Input Schema
{
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The event field: bizStep, disposition, bizTransactionType, sourceType/destinationType"
}
},
"required": [
"field"
]
}🟢listDocumentIdentifiers(document)
List the identifiers an EPCIS document actually uses, grouped by the field that carries them. Use this to check at a glance that a document is about the objects and places you intended, without reading the whole JSON.
Input Schema
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The complete EPCIS 2.0 JSON-LD document"
}
},
"required": [
"document"
]
}🟢masterdata(identifier)
What the GS1 Digital Link resolver knows about a product (GTIN, Lot, Serial), a place (GLN, SGLN) or a party (PGLN): name, description, brand, location and the like, as the platform publishes it.
Input Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "a GS1 Digital Link, e.g. https://id.epc.is/01/09523001010089 or /414/<gln>"
}
},
"required": [
"identifier"
]
}🟢query_events(eventType, bizStep, disposition, epc, readPoint, ...)
Query the EPCIS 2.0 repository as the signed-in user, who sees exactly what their account may read. Filters are EPCIS Query Language parameters; every one is optional and they are AND-ed, several values of one comma-separated are OR-ed. Identifiers are GS1 Digital Links (https://id.gs1.org/01/<gtin>/21/<serial>, /10/<lot>, /00/<sscc>, /414/<gln>/254/<ext>) or EPC URNs. Answers one page, newest first, each event compact with its eventID; pass nextPage back for more.
Input Schema
{
"type": "object",
"properties": {
"eventType": {
"type": "string",
"description": "ObjectEvent, AggregationEvent, TransformationEvent, AssociationEvent or TransactionEvent"
},
"bizStep": {
"type": "string",
"description": "CBV bizStep, bare (shipping) or as URI"
},
"disposition": {
"type": "string",
"description": "CBV disposition, bare (in_transit) or as URI"
},
"epc": {
"type": "string",
"description": "an instance or class identifier anywhere in the event (MATCH_anyEPC / MATCH_anyEPCClass)"
},
"readPoint": {
"type": "string",
"description": "Read Point, an SGLN Digital Link (EQ_readPoint)"
},
"bizLocation": {
"type": "string",
"description": "Business Location, an SGLN Digital Link (EQ_bizLocation)"
},
"from": {
"type": "string",
"description": "events at or after this time, ISO 8601 (GE_eventTime)"
},
"to": {
"type": "string",
"description": "events before this time, ISO 8601 (LT_eventTime)"
},
"more": {
"type": "string",
"description": "further EPCIS query parameters as a query string, e.g. EQ_bizTransaction_po=urn:...&EXISTS_mc:orderLines=true"
},
"limit": {
"type": "integer",
"description": "events on this page, 1 to the server's page size"
},
"nextPage": {
"type": "string",
"description": "the nextPage of a previous answer; the other filters are then ignored"
}
},
"required": []
}🟢summarize(groupBy, eventType, bizStep, disposition, epc, ...)
Count the signed-in user's EPCIS events, computed by the repository in one call, grouped by one dimension: eventType, bizStep, disposition, readPoint, bizLocation, action, day or month. Takes the same filters as query_events. Use it for "how many", "which steps", "per day" questions instead of paging through events; then query_events for the events behind a bucket.
Input Schema
{
"type": "object",
"properties": {
"groupBy": {
"type": "string",
"description": "eventType, bizStep, disposition, readPoint, bizLocation, action, day or month"
},
"eventType": {
"type": "string",
"description": "ObjectEvent, AggregationEvent, TransformationEvent, AssociationEvent or TransactionEvent"
},
"bizStep": {
"type": "string",
"description": "CBV bizStep, bare (shipping) or as URI"
},
"disposition": {
"type": "string",
"description": "CBV disposition, bare (in_transit) or as URI"
},
"epc": {
"type": "string",
"description": "an instance or class identifier anywhere in the event"
},
"readPoint": {
"type": "string",
"description": "Read Point, an SGLN Digital Link"
},
"bizLocation": {
"type": "string",
"description": "Business Location, an SGLN Digital Link"
},
"from": {
"type": "string",
"description": "events at or after this time, ISO 8601"
},
"to": {
"type": "string",
"description": "events before this time, ISO 8601"
},
"more": {
"type": "string",
"description": "further EPCIS query parameters as a query string"
},
"size": {
"type": "integer",
"description": "most groups to return, 1 to 100 (default 20)"
}
},
"required": [
"groupBy"
]
}🟢trace(identifier, direction, depth)
Trace a Serial, Lot or container through the repository as the signed-in user. backward: what it was made from (the TransformationEvents that output it, then their inputs, level by level) and the container it was packed in; forward: what was made from it and what it was packed into, down to where each result was last seen. Every step names its eventID, Read Point and time. A Lot is class level (/10/), a Serial or SSCC instance level. A returnable asset (GRAI, /8003/) or an individual asset (GIAI, /8004/), such as a minecart, a pack donkey or a bottle, answers what it carries now (every ADD minus every DELETE of the AggregationEvents it is the parent of), where it was last seen and its latest events.
Input Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "the identifier, a GS1 Digital Link (01, 00, 8003, 8004) or EPC URN"
},
"direction": {
"type": "string",
"description": "backward (default) or forward"
},
"depth": {
"type": "integer",
"description": "levels to walk, 1 to 6 (default 4)"
}
},
"required": [
"identifier"
]
}🟢urnToDigitalLink(urn)
Convert a legacy EPC URN (urn:epc:id:sgtin:0614141.107346.2017) into the preferred GS1 Digital Link URI form. Use this whenever you have a URN but want to emit a Digital Link, rather than assembling the URI by hand.
Input Schema
{
"type": "object",
"properties": {
"urn": {
"type": "string",
"description": "An EPC URN, e.g. urn:epc:id:sgtin:0614141.107346.2017"
}
},
"required": [
"urn"
]
}🟢validateCbvTerm(field, value)
Check whether a value is a standard CBV term for an EPCIS event field, before putting it in a document. Returns VALID, or NOT STANDARD with the nearest standard term when the value is a known near-miss. Use this whenever you are not certain of a term. EPCIS 2.0 JSON requires the bare short name (`shipping`), never the EPCIS 1.x URN (`urn:epcglobal:cbv:bizstep:shipping`) and never the CBV URI (`https://ref.gs1.org/cbv/BizStep-shipping`) — all three are checked here and only the first is accepted.
Input Schema
{
"type": "object",
"properties": {
"field": {
"type": "string",
"description": "The event field: bizStep, disposition, bizTransactionType, sourceType/destinationType"
},
"value": {
"type": "string",
"description": "The value you intend to use, e.g. \"shipping\""
}
},
"required": [
"field",
"value"
]
}🟢validateEpcisDocument(document)
Check an EPCIS 2.0 JSON document against the GS1 schema AND the OpenEPCIS rules — the same two validators the capture endpoint runs. Call this on every document you produce, before you present it; a document that fails here will be rejected on capture. Reports the two layers separately, because they are different properties: the schema permits things that are wrong in this architecture, such as `ilmd` on a serialised item. Repairs are listed as things for YOU to fix, not applied. A document that needed a repair is a document whose shape was wrong.
Input Schema
{
"type": "object",
"properties": {
"document": {
"type": "string",
"description": "The complete EPCIS 2.0 JSON-LD document"
}
},
"required": [
"document"
]
}🟢validateIdentifier(identifier)
Check whether a GS1 identifier is valid, including its mod-10 check digit. Accepts a GS1 Digital Link URI (https://id.gs1.org/01/09521000002159/21/SER-1) or an EPC URN (urn:epc:id:sgtin:...). Use this before putting any identifier into an EPCIS document. Never guess a check digit and never derive a new identifier by changing a digit of an existing one — ask this tool instead.
Input Schema
{
"type": "object",
"properties": {
"identifier": {
"type": "string",
"description": "A GS1 Digital Link URI or EPC URN"
}
},
"required": [
"identifier"
]
}🟢verify_credential(credential, profile)
Verify a Verifiable Credential (JSON-LD with a Data Integrity proof, a VC-JOSE compact JWS or an SD-JWT VC) with the platform's verifier: signature, issuer DID and key, status (revoked or suspended) and the trust of the issuer. Answers valid true or false with the stage-by-stage verdict. The credential is sent to the verifier as given; nothing is stored.
Input Schema
{
"type": "object",
"properties": {
"credential": {
"type": "string",
"description": "the credential: a JSON-LD object as JSON text, a compact JWS or an SD-JWT"
},
"profile": {
"type": "string",
"description": "trust profile: self (default), untp, gs1 or espr-authority"
}
},
"required": [
"credential"
]
}Community
Evidence