Open Food Facts MCP
An MCP server providing access to the Open Food Facts crowd-sourced database of over 3 million products. It enables agents to fetch product details by barcode, search for items using text, tags, allergens, or nutrition filters, compare up to 10 products side-by-side on metrics like Nutri-Score and NOVA, and resolve human-readable terms to canonical tag IDs for filtering.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Fetch product ingredients and nutrition facts by barcode
- Search for products by allergen exclusions or nutrient thresholds
- Compare multiple products side-by-side on health scores
- Resolve common food terms to canonical taxonomy tags
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/openfoodfacts-mcp-server 0.4.1
{
"version": "0.4.1",
"transport": "stdio",
"identifier": "@cyanheads/openfoodfacts-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "OFF_BASE_URL",
"format": "string",
"default": "https://world.openfoodfacts.org",
"description": "Open Food Facts API base URL override. Useful for testing against a mock server."
},
{
"name": "OFF_RATE_LIMIT_PRODUCT",
"format": "string",
"default": "15",
"description": "Product read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads."
},
{
"name": "OFF_RATE_LIMIT_SEARCH",
"format": "string",
"default": "10",
"description": "Search rate limit (requests/min)."
},
{
"name": "OFF_RATE_LIMIT_TAXONOMY",
"format": "string",
"default": "10",
"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."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"open-food-facts-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfoodfacts-mcp-server@0.4.1"
],
"env": {
"OFF_BASE_URL": "<YOUR_OFF_BASE_URL>",
"OFF_RATE_LIMIT_PRODUCT": "<YOUR_OFF_RATE_LIMIT_PRODUCT>",
"OFF_RATE_LIMIT_SEARCH": "<YOUR_OFF_RATE_LIMIT_SEARCH>",
"OFF_RATE_LIMIT_TAXONOMY": "<YOUR_OFF_RATE_LIMIT_TAXONOMY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"open-food-facts-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfoodfacts-mcp-server@0.4.1"
],
"env": {
"OFF_BASE_URL": "<YOUR_OFF_BASE_URL>",
"OFF_RATE_LIMIT_PRODUCT": "<YOUR_OFF_RATE_LIMIT_PRODUCT>",
"OFF_RATE_LIMIT_SEARCH": "<YOUR_OFF_RATE_LIMIT_SEARCH>",
"OFF_RATE_LIMIT_TAXONOMY": "<YOUR_OFF_RATE_LIMIT_TAXONOMY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"open-food-facts-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/openfoodfacts-mcp-server@0.4.1"
],
"env": {
"OFF_BASE_URL": "<YOUR_OFF_BASE_URL>",
"OFF_RATE_LIMIT_PRODUCT": "<YOUR_OFF_RATE_LIMIT_PRODUCT>",
"OFF_RATE_LIMIT_SEARCH": "<YOUR_OFF_RATE_LIMIT_SEARCH>",
"OFF_RATE_LIMIT_TAXONOMY": "<YOUR_OFF_RATE_LIMIT_TAXONOMY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"open-food-facts-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openfoodfacts-mcp-server@0.4.1"
],
"env": {
"OFF_BASE_URL": "<YOUR_OFF_BASE_URL>",
"OFF_RATE_LIMIT_PRODUCT": "<YOUR_OFF_RATE_LIMIT_PRODUCT>",
"OFF_RATE_LIMIT_SEARCH": "<YOUR_OFF_RATE_LIMIT_SEARCH>",
"OFF_RATE_LIMIT_TAXONOMY": "<YOUR_OFF_RATE_LIMIT_TAXONOMY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like Open Food Facts MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.