# MCP CPG Knowledge Graph [Health: Active]

**Category:** 🛒 E-Commerce  
**Repository:** https://github.com/greencore-solutions/cpg-knowledge-graph  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-cpg-knowledge-graph-2

## Description
AI Agent Skills for the GSC CPG Knowledge Graph — https://mcp.cpgknowledgegraph.ai/mcp

## Tools
Capabilities this server exposes over MCP:

- **resolve_jurisdiction** — Where is this going? Resolve a ship-to (e.g. 'DE', 'US-CA', 'UK', 'FR', 'EU-NL', 'JP') to one of the 20 markets and its rule set (14 rule sets; the seven EU markets share one food-law set with national riders). UK is the label; machine fields carry the ISO code GB.
- **resolve_actor** — Who is asking? Maker, brand owner, private label, distributor, importer, broker or retail buyer (trade only); auditor (read-only); agent (inherits the class of the credential it presents — none returns DENY_UNLICENSED_AGENT). The consumer is never the counterparty. Returns communication_class: trade_information or public.
- **gate_transaction** — Allow or deny, with the reason and the rule. Takes an item (GTIN or catalogue id; optional), the ship-to market, the actor class and, when no record exists yet, the product type, ingredients and claims. Returns one of twelve reason codes (ALLOW · REQUIRE_NOTIFICATION · REQUIRE_RESPONSIBLE_PERSON · DENY_NOT_PERMITTED_HERE · DENY_INGREDIENT_BANNED · DENY_INGREDIENT_LIMIT · DENY_CLAIM · DENY_MARKET · DENY_ACTOR_CLASS · DENY_UNLICENSED_AGENT · DENY_NO_GTIN · DENY_NOT_VERIFIED), the rule-set version, the source page and a decision_id for the downstream tools.
- **search_cleared_items** — Find items cleared for this market: validated SKU records in a market (query by product name, brand, maker or category; filters: temperature ambient · chilled · frozen · fresh, attribute lane organic · free-from · plant-based · artisan · origin · premium, department). Only validated rows are served; each item carries its claim status, market status and source class.
- **get_item** — Product record from gtinfetch.ai (signed); hub layer: seat, market, claim, price, availability. One item by GTIN (EAN in European copy), fully resolved: temperature, department → super category → category, attribute lanes, pack, brand and maker, market, claim status, market status, availability; after the gate also ingredients, allergens, claims, origin, certificates, variants and offers.
- **verify_gtin** — Product record from gtinfetch.ai (signed); hub layer: seat, market, claim, price, availability. Is this GTIN real, and whose is it? Check-digit validation, the GS1 prefix, and the validated record(s) that carry it on this hub with their brand, maker and claim status.
- **get_label_and_claims** — What the label must say, and which claims are allowed: the labelling requirements of the market (food information, allergens, origin, nutrition) and the claims rules of record (nutrition and health claims, organic, free-from), each with its source page. Optional claims are checked against the rules.
- **compare_items** — Compare items, variants and pack sizes side by side (two to eight GTINs or catalogue ids).
- **find_verified_buyer** — Retail buyer desks for this market: banner records (banner, parent group, channel discounter · e-commerce · local · in-store · traditional, local format, cited POS count or NULL, buyer desk by department) with their claim status — verified first, then claimed, then listed. Filters: channel, department. Takes the decision_id of an allow decision.
- **find_verified_supplier** — Verified makers, brand owners, private-label owners, distributors and importers for this item or category in a market: maker records with their claim status — verified first, then claimed, then listed. Takes the decision_id of an allow decision.
- **get_product_documents** — Certificates and paper: the documents on an item record (organic certificate, PDO/PGI, halal, kosher, specification, allergen statement, origin declaration, lot where it applies), each a URL with its read date and source class; decision_id required.
- **log_audit** — Write a line to the audit record for a gate decision, an order intent or a handoff (returns the line id).
- **get_price** — The price for this buyer: the price basis (list · contract · promotion window) from the maker's offers on the record, once gate_transaction has answered allow (decision_id). Plain $ on human surfaces. Tiers buy services, never rank.
- **get_availability** — In stock, and where: the availability block of an item (banners on the shelf of record, product URLs read live at load, POS counts where the banner record carries a cited one) once gate_transaction has answered allow (decision_id).
- **create_order_intent** — Open an order between two agents: an order intent for a cleared item after the gate; the intent carries reason_code + rule_set_version and settles by x402 on a2a-x402.ai.
- **a2a_handoff** — Hand the buyer to the right agent over Agent-to-Agent (A2A): with an allow decision the order intent goes to the counterparty's agent (envelope + card URL); with a deny, the market agent of the ship-to — a referral, never a sale to a consumer.
- **claim_seat** — A brand's agent claims its seat on A2A Grocery. Give the agent's card URL and the GTINs the brand claims: every GTIN must resolve on gtinfetch.ai to the maker the card names, and the category comes first (grocery proceeds; a beauty record is referred to a2a-cosmetics.ai; peptides to a2a-peptides.ai; beer, wine and spirits are refused; an unresolved GTIN is refused). An accepted claim answers a challenge for the card's domain (a DNS TXT record or a well-known file); call again with the challenge_id once it is published: a pass moves the brand's rows from listed to claimed and answers the seat key. With the seat key, rows sets the seat's own price, availability, markets and claims, its own GTINs only. Every claim, accepted or refused, is logged. Verified is a person's step, never a tool's.
- **search_catalog** — Universal Commerce Protocol (UCP) catalogue search, version 2026-08-25 (dev.ucp.shopping.catalog.search). arguments: meta {'ucp-agent': {profile}} (required) and catalog {query, context {address_country}, filters {categories, price {min, max} in minor units}, pagination {limit, cursor}}. Serves the priced subset: rows whose maker's list price is on the record (claimed seats with a listed price), keyed by GTIN, each with its claim_status. Every other row stays on search_cleared_items.
- **lookup_catalog** — Universal Commerce Protocol (UCP) catalogue lookup, version 2026-08-25 (dev.ucp.shopping.catalog.lookup). arguments: meta {'ucp-agent': {profile}} (required) and catalog {ids: product ids (GTIN) or variant ids (<market>:<gtin14>), up to 50; context; filters}. Found rows come back as products with their claim_status; an id outside the priced subset answers an info not_found message.
- **get_product** — Universal Commerce Protocol (UCP) product detail, version 2026-08-25 (dev.ucp.shopping.catalog.lookup). arguments: meta {'ucp-agent': {profile}} (required) and catalog {id: a GTIN or a variant id <market>:<gtin14>; context; filters}. One product of the priced subset with its variants per market, list price and claim_status; outside the subset, ucp.status error and not_found.
- **get_market_status** — Is this product type a food here, and under which regime? Product type by market: food, special class (novel food, food supplement, infant formula, fortified, organic-certified, alcohol excise) or not permitted — with the rule-set version and the regulator's page.
- **get_notification_requirements** — What must be filed before sale in a market: the food business registration or import notification scheme, the food business operator of record, and, for a product type in a special class, the extra step (novel-food authorisation, organic certification, supplement notification) — each with its source page.
- **get_enforcement_watch** — Recalls, withdrawals and food-safety alerts, dated: enforcement events by market, category, brand or since a date, each with its source page.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "mcp-cpg-knowledge-graph": {
    "url": "https://mcp.cpgknowledgegraph.ai/mcp"
  }
}
```

## Documentation

## What MCP CPG Knowledge Graph does

MCP CPG Knowledge Graph exposes GSC’s Consumer Packaged Goods data over MCP. The graph links products and variants to GS1 GTINs, packs, brands, makers, retail banners, markets, claims, eligibility signals, and SPARKS classification dimensions. It covers supply-side entities such as makers, brand owners, distributors, and importers, alongside demand-side retail banners.

The server is designed for decisions that should be made before a product is offered or ordered. An agent can determine whether an item may ship to a market, whether an actor is allowed to transact, what a label must contain, which claims are permitted, and which commercial counterparties or documents are available.

## How it works

The canonical endpoint is `https://mcp.cpgknowledgegraph.ai/mcp`, using streamable HTTP. It is stateful: the initialization response supplies an `Mcp-Session-Id`, which subsequent calls must carry. The repository functions as a connect kit with examples and installable skills; the live endpoint supplies the operational data.

A typical workflow starts by resolving a jurisdiction and actor, then calling `gate_transaction` with a GTIN or catalogue identifier. An allowed decision produces a `decision_id` used by downstream tools such as buyer, supplier, document, price, availability, and order-intent operations. Denied decisions can be passed to `a2a_handoff` for a market-agent referral.

The graph also exposes analytical operations for GTIN coverage, nodes, makers, retailers, SKU types, brands, SPARKS tiers, and signal chains. Separate UCP methods search, look up, and return priced catalogue products using the required UCP agent metadata and catalogue structures.

## Setup and configuration

Connect an MCP client to the streamable-HTTP endpoint. The repository includes Python examples using only the standard library and TypeScript examples that run with Node.js 24 without dependencies. It also contains Agent Skills for CPG navigation and onboarding. Claude Code can use these by copying a skill directory into a project or personal `.claude/skills/` directory, or by installing the repository as a plugin marketplace source.

Read access is exposed through the MCP surface. Transactional agentic commerce is authorized at the GSC Navigator boundary with Microsoft Entra OAuth 2.0 and human approval for each commit. The declared resource scope is `mcp:read`; protected-resource metadata is available at `/.well-known/oauth-protected-resource`.

## Tools and capabilities

- Resolve jurisdictions, actor classes, GTINs, products, markets, and procurement eligibility.
- Check food categories, special regulatory classes, notification requirements, labelling rules, allergens, origins, nutrition, and health claims.
- Search cleared items and priced UCP catalogue products, compare variants, and inspect product records.
- Find verified or claimed buyers and suppliers, then retrieve certificates, specifications, declarations, and other item documents.
- Read maker offers and availability after an allowed gate decision.
- Create order intents, hand off to counterparty or market agents, log audit events, and claim a brand seat after GTIN and domain verification.
- Query GSC graph structures including sovereign nodes, makers, retailers, SKU types, SPARKS dimensions, and signal chains.

## Limitations and notes

The live server’s `tools/list` response is the source of truth for available operations, so the tool surface can change as the graph evolves. Some downstream commerce tools require a prior allowed decision and its `decision_id`. Product, price, availability, and claim results are tied to the records and source classes held by the graph. Brand-seat claims are restricted by product category and require an external domain challenge before claimed status is applied. Transaction commits remain human-signed under the stated authorization model.

_Full upstream README: https://allmcps.com/mcp/mcp-cpg-knowledge-graph-2/readme_

