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 Name | openbeautyfacts_barcode_lookup |
|---|---|
| Subdomain & Mode | product_barcode · live_public_api |
| REST Endpoint | POST https://devour-com.fastmesh.dev/v1/organs/openbeautyfacts_barcode_lookup/invoke |
| MCP Endpoint | POST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp) |
| Verified Probe Latency | 2085.21 ms (HTTP 200, verified 2026-12-02T10:48:16Z) |
| Archive Cache TTL | 14 days (1209600s) cross-tenant verified-hit cache |
| Empty / Error Rule | Charge $0.00 when barcode is malformed, HTTP status != 200, JSON status == 0, or product record is missing product_name. |
| Plans & Privacy | Starter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale |
Production Use Cases
| Scenario | Trigger Input | Deterministic Output Value |
|---|---|---|
| INCI Ingredient Screening | Skincare storefront checks formulation claims | Surfaces ingredients_text and brand metadata in strict JSON |
| Cosmetic Dropship Onboarding | Wholesale feed supplies raw EAN-13 codes | Enriches product titles while filtering unindexed barcodes at $0 |
| Retail Shelf Audit | Mobile store auditor scans personal care SKUs | Normalizes 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.