Product & Barcode Intelligence · Live API Slug: openbeautyfacts_barcode_lookup 0-LLM Deterministic

OpenBeautyFacts Cosmetic & Personal Care Barcode MCP Tool

Beauty marketplaces, clean-ingredient checkers, and pharmacy ERP workflows require reliable brand and ingredients_text fields keyed by retail barcode.

5-Second Try-Now Console Connect via /mcp FastMesh SuperBus

How It Works & Live Probe Telemetry

Connected directly to world.openbeautyfacts.org API v2, this tool enforces 8-to-14-digit barcode syntax and filters out empty shell records where status equals 0 or product_name is blank. Live verification against barcode 8719325558425 completed with HTTP 200 in 2,085.21 ms, resolving 'Wasmiddel vanilla & cotton navulling' under brand 'Marcel's Green Soap'. Valid hits enter a 14-day verified archive cache so downstream agents reuse clean JSON in sub-millisecond local reads.

Verified Endpoint & Billing Contract

MCP Tool Nameopenbeautyfacts_barcode_lookup
Subdomain & Modeproduct_barcode · live_public_api
REST EndpointPOST https://devour-com.fastmesh.dev/v1/organs/openbeautyfacts_barcode_lookup/invoke
MCP EndpointPOST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp)
Verified Probe Latency2085.21 ms (HTTP 200, verified 2026-12-02T10:48:16Z)
Archive Cache TTL14 days (1209600s) cross-tenant verified-hit cache
Empty / Error RuleCharge $0.00 when barcode is malformed, HTTP status != 200, JSON status == 0, or product record is missing product_name.
Plans & PrivacyStarter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale

Production Use Cases

ScenarioTrigger InputDeterministic Output Value
INCI Ingredient ScreeningSkincare storefront checks formulation claimsSurfaces ingredients_text and brand metadata in strict JSON
Cosmetic Dropship OnboardingWholesale feed supplies raw EAN-13 codesEnriches product titles while filtering unindexed barcodes at $0
Retail Shelf AuditMobile store auditor scans personal care SKUsNormalizes product names across multilingual European packaging

MCP JSON-RPC 2.0 & REST Invocation Examples

Call via MCP tools/call on https://devour-com.fastmesh.dev/mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "openbeautyfacts_barcode_lookup",
    "arguments": {
      "barcode": "8719325558425"
    }
  }
}

Or invoke directly via REST (POST /v1/organs/openbeautyfacts_barcode_lookup/invoke):

curl -sS -X POST https://devour-com.fastmesh.dev/v1/organs/openbeautyfacts_barcode_lookup/invoke \
  -H 'Content-Type: application/json' \
  -d '{"input": {"barcode": "8719325558425"}}'

Verified structured JSON response:

{
  "ok": true,
  "barcode": "8719325558425",
  "product_name": "Wasmiddel vanilla & cotton navulling",
  "brands": "Marcel's Green Soap",
  "ingredients_text": null,
  "billable_usd": "0.01"
}

Strict Input Schema

{
  "type": "object",
  "properties": {
    "barcode": {
      "type": "string",
      "pattern": "^[0-9]{8,14}$",
      "description": "Cosmetic/personal care EAN or UPC barcode."
    }
  },
  "required": [
    "barcode"
  ],
  "additionalProperties": false
}

Frequently Asked Questions

What happens when a cosmetic barcode is not yet in OpenBeautyFacts?

When the upstream API returns HTTP 200 with status=0 or lacks a product_name, the runtime classifies it as an empty miss and bills $0.00.

Can I invoke this tool from desktop MCP clients or Cursor without writing Python?

Yes. Point your MCP client to https://devour-com.fastmesh.dev/mcp and invoke openbeautyfacts_barcode_lookup via tools/call.

Related Commerce & Marketing MCP Tools