Koskamo

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.

UPC & EAN Barcode-to-Product Spec MCP logo, by RizkySugihartoCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-01Published by RizkySugiharto
MCP endpoint (Streamable HTTP)
https://upc-barcode-spec-mcp.vercel.app/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 3 of 3 with parameters document them all

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

Community listingRegistry 1.0.0
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
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "prompts": {
    "listChanged": true
  },
  "resources": {
    "listChanged": true
  }
}

Tools

3 advertised

validate_barcodes — Validate Barcodes (Free)
Advertised by the server during the last successful anonymous check.
Advertised read-only

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).

validate_barcodes input schema
{
  "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."
    }
  }
}
validate_barcodes annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
lookup_barcode_spec — Lookup Barcode Spec ($0.005 USDC)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

lookup_barcode_spec input schema
{
  "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."
    }
  }
}
lookup_barcode_spec annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
batch_lookup_barcodes — Batch Lookup Barcodes ($0.01 USDC)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

batch_lookup_barcodes input schema
{
  "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."
    }
  }
}
batch_lookup_barcodes annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

3 advertised

reseller_batch_intake — Reseller Batch Barcode Intake Workflow

Advertised by the server during the last successful anonymous check.

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

Advertised by the server during the last successful anonymous check.

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

Advertised by the server during the last successful anonymous check.

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

Advertised by the server during the last successful anonymous check.

Machine-readable pricing ($0.00, $0.005, $0.01 USDC), CAIP-2 network, PayAI facilitator URL, and payTo wallet address.

pricing URI
spec://pricing

MIME type: application/json

fallback-policy — Catalog Fallback Cascade, Cache & Circuit-Breaker Policy

Advertised by the server during the last successful anonymous check.

Exact provider cascade order (OpenFoodFacts → OpenBeautyFacts → UPCitemdb), batch cap (5), cache TTL (6h), and UPCitemdb circuit-breaker behavior.

fallback-policy URI
spec://fallback-policy

MIME type: application/json

product-spec-schema — Canonical Product Spec JSON Schema & Sample Response

Advertised by the server during the last successful anonymous check.

Canonical JSON Schema and realistic sample response for lookup_barcode_spec so agents can verify output fields before paying.

product-spec-schema URI
spec://schema/product-spec

MIME type: application/json

odbl-attribution — ODbL-1.0 Attribution Guidelines

Advertised by the server during the last successful anonymous check.

Open Database License (ODbL-1.0) attribution requirements for OpenFoodFacts and OpenBeautyFacts data.

odbl-attribution URI
spec://odbl-attribution

MIME type: text/markdown

llms-txt — Agent Discovery & Trust Document (/llms.txt)

Advertised by the server during the last successful anonymous check.

Live mirror of GET /llms.txt accessible over MCP transport.

llms-txt URI
spec://llms.txt

MIME type: text/plain

90-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.

Too few checks for a percentage yet (1 of 1 answered).

  1. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http upc-ean-barcode-to-product-spec-mcp https://upc-barcode-spec-mcp.vercel.app/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add upc-ean-barcode-to-product-spec-mcp --url https://upc-barcode-spec-mcp.vercel.app/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable upc-ean-barcode-to-product-spec-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "upc-ean-barcode-to-product-spec-mcp": {
      "url": "https://upc-barcode-spec-mcp.vercel.app/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "upc-ean-barcode-to-product-spec-mcp": {
      "type": "streamableHttp",
      "url": "https://upc-barcode-spec-mcp.vercel.app/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start upc-ean-barcode-to-product-spec-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "upc-ean-barcode-to-product-spec-mcp": {
      "type": "http",
      "url": "https://upc-barcode-spec-mcp.vercel.app/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http upc-ean-barcode-to-product-spec-mcp https://upc-barcode-spec-mcp.vercel.app/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://upc-barcode-spec-mcp.vercel.app/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.