# UPC & EAN Barcode-to-Product Spec MCP — Restrictions & Requirements

Last updated: 2026-11-28

## Pricing & Payment Requirements

- **Free Discovery & Validation**: `initialize`, `ping`, `tools/list`, `resources/list`, `resources/read`, `prompts/list`, `prompts/get`, and `validate_barcodes` are completely free ($0.00).
- **Pay-Per-Call Catalog Lookups**: `lookup_barcode_spec` ($0.005 USDC) and `batch_lookup_barcodes` ($0.01 USDC) require an x402-compatible MCP client funded with USDC on Base Mainnet (`eip155:8453`).
- **No Subscription or API Key**: No monthly plan, user account, or OAuth app is required.

## Technical Constraints

- **Supported Barcode Formats**: GS1 EAN-8 (8 digits), UPC-A (12 digits), EAN-13 (13 digits), and GTIN-14 (14 digits) with valid Modulo-10 check digits.
- **Batch Limits**: `validate_barcodes` accepts 1–50 barcodes; `batch_lookup_barcodes` accepts 2–5 barcodes per call.
- **Request Size Limit**: Inbound `POST /mcp` JSON-RPC payloads are capped at 32 KB.
- **UPCitemdb Free-Tier Quota Protection**: UPCitemdb is queried strictly as a last resort behind a rate-limit circuit breaker (max 5 req/min per isolate, max 2 UPCitemdb HTTP calls per batch). When tripped, `fallback_trace` reports `CIRCUIT_OPEN` or `RATE_LIMIT_BUDGET_EXCEEDED` while OpenFoodFacts and OpenBeautyFacts continue normally.
- **ODbL-1.0 Attribution**: Consumers republishing data where `attribution.license === "ODbL-1.0"` must retain `attribution.attribution_text`.

## Related Links

- [Documentation](https://upc-barcode-spec-mcp.vercel.app/docs)
- [Privacy Policy](https://upc-barcode-spec-mcp.vercel.app/privacy)
- [Trust Center](https://upc-barcode-spec-mcp.vercel.app/trust)
