UPC & EAN Barcode-to-Product Spec MCP
A serverless MCP server that converts UPC, EAN, and GTIN barcodes into structured product specifications and listing drafts. It aggregates data from OpenFoodFacts, OpenBeautyFacts, and UPCitemdb, supporting free barcode validation and paid catalog lookups via USDC micropayments.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://upc-barcode-spec-mcp.vercel.app/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Validate UPC/EAN/GTIN barcodes locally for free
- Lookup structured product specs for a single barcode
- Batch lookup product specs for multiple barcodes
- Generate eBay/Amazon listing drafts from barcode data
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- upc-barcode-spec-mcp 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 3 advertised
- Resources
- 5 advertised
- Resource templates
- 0 advertised
- Prompts
- 3 advertised
{
"tools": {
"listChanged": true
},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Tools
3 advertised
validate_barcodes — Validate Barcodes (Free)
Local, no-network GS1 barcode pre-validator ($0.00, no x402 payment). ALWAYS call this before paid lookups to filter bad scans, then route valid results to lookup_barcode_spec (1 barcode) or batch_lookup_barcodes (2–5 barcodes); does not fetch product data. Accepts 1–50 raw strings (1–32 chars each; spaces/hyphens stripped automatically), detects format (EAN-8, UPC-A, EAN-13, GTIN-14), verifies GS1 Modulo-10 check digits, and counts duplicates. Returns { summary: { total_received, valid_unique_count, invalid_count, duplicate_count }, results: [{ input, normalized, gtin14, format, valid, error_code }] } in input order. Malformed barcodes do not throw; they return valid: false with error_code (NON_NUMERIC_CHARACTERS, UNSUPPORTED_LENGTH, or INVALID_CHECK_DIGIT).
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"barcodes"
],
"properties": {
"barcodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 32,
"minLength": 1
},
"maxItems": 50,
"minItems": 1,
"description": "List of 1 to 50 raw barcode strings (hyphens/spaces allowed) to validate locally for free."
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}lookup_barcode_spec — Lookup Barcode Spec ($0.005 USDC)
Resolves a single UPC-A (12), EAN-13 (13), EAN-8 (8), or GTIN-14 (14) barcode via a deterministic catalog cascade (OpenFoodFacts → OpenBeautyFacts → UPCitemdb) with a warm-instance LRU cache and UPCitemdb circuit breaker. Paid: $0.005 USDC on Base via x402 PayAI, billed regardless of hit rate. Usage: call validate_barcodes (free) first to drop invalid scans; use batch_lookup_barcodes ($0.01 flat) instead for 2–5 barcodes. Parameters: barcode accepts raw scanned text (spaces/hyphens stripped; invalid check digits fail locally with no upstream call); bypass_cache (default false) reuses cached hits/misses—set true only to force fresh upstream calls against rate limits. Returns normalized product specs, eBay/Amazon listing drafts, data_completeness (0.00–1.00), ODbL attribution, and fallback_trace; misses or invalid inputs return found: false, product: null, error_code, and fallback_trace.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"barcode"
],
"properties": {
"barcode": {
"type": "string",
"maxLength": 24,
"minLength": 8,
"description": "Single UPC-A (12), EAN-13 (13), EAN-8 (8), or GTIN-14 (14) barcode. Spaces and hyphens are stripped automatically."
},
"bypass_cache": {
"type": "boolean",
"default": false,
"description": "Optional. Set true to skip the warm-instance in-memory LRU cache and force a fresh upstream lookup."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}batch_lookup_barcodes — Batch Lookup Barcodes ($0.01 USDC)
Resolves 2–5 UPC/EAN/GTIN barcodes in one call ($0.01 USDC flat on Base via x402 PayAI = $0.002/barcode at 5; billed regardless of hit rate). Usage: call validate_barcodes (free) first to filter invalid scans; use lookup_barcode_spec ($0.005) instead for a single barcode. Pipeline: deduplicates inputs, rejects invalid check digits locally with no upstream call, queries OpenFoodFacts and OpenBeautyFacts concurrently, and routes misses to UPCitemdb (capped at 2 requests/batch under circuit-breaker limits). Parameters: barcodes accepts 2–5 raw strings (spaces/hyphens stripped); bypass_cache (default false) reuses warm-instance LRU cache—set true only to force fresh upstream fetches, consuming rate-limit budget without changing the $0.01 fee. Returns summary (requested, found, not_found, invalid, cache_hits, sources_used) and per-item specs, eBay/Amazon listing drafts, ODbL attribution, and fallback_trace; misses or invalid items return found: false, product: null, and error_code without failing the batch.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"barcodes"
],
"properties": {
"barcodes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 24,
"minLength": 8
},
"maxItems": 5,
"minItems": 2,
"description": "Array of 2 to 5 raw UPC/EAN/GTIN barcodes (spaces/hyphens stripped and deduplicated) to look up in a single $0.01 USDC batch."
},
"bypass_cache": {
"type": "boolean",
"default": false,
"description": "Optional. Set true to skip the warm-instance LRU cache and force fresh upstream lookups for all valid items in the batch."
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
3 advertised
reseller_batch_intake — Reseller Batch Barcode Intake Workflow
Guides an agent to validate raw scanned barcodes for FREE first, chunk valid codes into batches of max 5, call batch_lookup_barcodes ($0.01), and preserve ODbL attribution.
- barcodes_csv
- Comma-separated list of raw scanned UPC/EAN/GTIN barcodes. (required)
- target_platform
- Target resale marketplace for listing drafts. (required)
ebay_listing_prep — eBay Listing Preparation from Barcode
Instructs an agent to call lookup_barcode_spec ($0.005) and assemble an eBay listing draft using listing_draft.ebay_title (<=80 chars) and ebay_item_specifics.
- barcode
- UPC/EAN/GTIN barcode to look up. (required)
- condition
- Item condition for the eBay listing (e.g. 'New', 'Open box', 'Used'). (required)
amazon_catalog_prep — Amazon Catalog Draft Preparation from Barcode
Instructs an agent to call lookup_barcode_spec ($0.005), verify GTIN-12/13 format, and map product + listing_draft.amazon_bullet_hints into an Amazon draft.
- barcode
- UPC/EAN/GTIN barcode to look up. (required)
Resources
5 advertised
pricing — Live Tool Pricing & x402 Payment Details
Machine-readable pricing ($0.00, $0.005, $0.01 USDC), CAIP-2 network, PayAI facilitator URL, and payTo wallet address.
spec://pricingfallback-policy — Catalog Fallback Cascade, Cache & Circuit-Breaker Policy
Exact provider cascade order (OpenFoodFacts → OpenBeautyFacts → UPCitemdb), batch cap (5), cache TTL (6h), and UPCitemdb circuit-breaker behavior.
spec://fallback-policyproduct-spec-schema — Canonical Product Spec JSON Schema & Sample Response
Canonical JSON Schema and realistic sample response for lookup_barcode_spec so agents can verify output fields before paying.
spec://schema/product-specodbl-attribution — ODbL-1.0 Attribution Guidelines
Open Database License (ODbL-1.0) attribution requirements for OpenFoodFacts and OpenBeautyFacts data.
spec://odbl-attributionllms-txt — Agent Discovery & Trust Document (/llms.txt)
Live mirror of GET /llms.txt accessible over MCP transport.
spec://llms.txt90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-12-02: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 1095 ms
- 95th percentile latency
- 1095 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1095 ms · metadata changed · 3 tool(s), 5 resource(s), 0 resource template(s), 3 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http upc-ean-barcode-to-product-spec-mcp https://upc-barcode-spec-mcp.vercel.app/mcpCodex
codex mcp add upc-ean-barcode-to-product-spec-mcp --url https://upc-barcode-spec-mcp.vercel.app/mcpCursor
{
"mcpServers": {
"upc-ean-barcode-to-product-spec-mcp": {
"url": "https://upc-barcode-spec-mcp.vercel.app/mcp"
}
}
}Cline
{
"mcpServers": {
"upc-ean-barcode-to-product-spec-mcp": {
"type": "streamableHttp",
"url": "https://upc-barcode-spec-mcp.vercel.app/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"upc-ean-barcode-to-product-spec-mcp": {
"type": "http",
"url": "https://upc-barcode-spec-mcp.vercel.app/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http upc-ean-barcode-to-product-spec-mcp https://upc-barcode-spec-mcp.vercel.app/mcpClaude Desktop
https://upc-barcode-spec-mcp.vercel.app/mcpWindsurf
{
"mcpServers": {
"upc-ean-barcode-to-product-spec-mcp": {
"serverUrl": "https://upc-barcode-spec-mcp.vercel.app/mcp"
}
}
}Let your agent find its tools
Find servers like UPC & EAN Barcode-to-Product Spec MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.