Home / Market / openfoodfacts-mcp-server

openfoodfacts-mcp-server

Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.

mcp★ 0510 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-openfoodfacts-mcp-server-759bea42fcc8a9f05724": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/openfoodfacts-mcp-server@0.5.1", "openfoodfacts-mcp-server" ], "env": { "OFF_BASE_URL": "${ENV_OFF_BASE_URL}", "OFF_RATE_LIMIT_PRODUCT": "${ENV_OFF_RATE_LIMIT_PRODUCT}", "OFF_RATE_LIMIT_SEARCH": "${ENV_OFF_RATE_LIMIT_SEARCH}", "OFF_RATE_LIMIT_TEXT_SEARCH": "${ENV_OFF_RATE_LIMIT_TEXT_SEARCH}", "OFF_RATE_LIMIT_TAXONOMY": "${ENV_OFF_RATE_LIMIT_TAXONOMY}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_OFF_BASE_URL", "label": "OFF_BASE_URL", "description": "Open Food Facts API base URL override. Useful for testing against a mock server.", "required": false, "secret": false, "default": "https://world.openfoodfacts.org" }, { "id": "ENV_OFF_RATE_LIMIT_PRODUCT", "label": "OFF_RATE_LIMIT_PRODUCT", "description": "Product read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads.", "required": false, "secret": false, "default": "15" }, { "id": "ENV_OFF_RATE_LIMIT_SEARCH", "label": "OFF_RATE_LIMIT_SEARCH", "description": "Tag-only search rate limit (requests/min). Applies to searches by tag filters alone that read /api/v2/search. Matches the 10 req/min/IP Open Food Facts documents for that endpoint.", "required": false, "secret": false, "default": "10" }, { "id": "ENV_OFF_RATE_LIMIT_TEXT_SEARCH", "label": "OFF_RATE_LIMIT_TEXT_SEARCH", "description": "Text search rate limit (requests/min). Applies to searches carrying a query, nutrient filters, or an ingredient filter, which read search.openfoodfacts.org, and to the text index date check sent beside them.", "required": false, "secret": false, "default": "10" }, { "id": "ENV_OFF_RATE_LIMIT_TAXONOMY", "label": "OFF_RATE_LIMIT_TAXONOMY", "description": "Taxonomy resolution rate limit (requests/min). Applies to the live tag-vocabulary lookups off_browse_taxonomy makes, to tag-value resolution on text searches, and to checking allergen and trace exclusions on every search; a spent budget falls back to the offline sample, or to the tag value as normalized, rather than failing, except that an exclusion it could not check is refused as retryable.", "required": false, "secret": false, "default": "10" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/openfoodfacts-mcp-server", "registryVersion": "0.5.1", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fopenfoodfacts-mcp-server/versions/0.5.1", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/openfoodfacts-mcp-server", "version": "0.5.1", "integrity": "sha512-PVLhyHSZiCdc0d3IvfFjHrsNOlN1cgkGwa84hmCiAGztfPDW/83CMBCnvlxa8rDedxJMBhIemSbdp27ZGVCHIg==", "registryNameMatched": "io.github.cyanheads/openfoodfacts-mcp-server", "checkedAt": "2026-11-30T16:19:23.806Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }