Open Food Facts MCP
An open-source Model Context Protocol server that enables AI agents to interact with the Open Food Facts database. It supports searching for products by name or barcode, retrieving detailed nutrition data and ingredients, filtering by categories or health scores, and contributing new product data or images to the community-maintained database.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 3 GitHub stars
What you can do with it
- Look up a product by name to retrieve nutrition data
- Look up a product by barcode to fetch ingredients and Nutri-Score
- Search for healthy options using category and nutrition grade filters
- Contribute data by adding or updating product entries
Source and maintenance
- Last repository push
- Latest release
- v2.6.0
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
openfoodfacts-mcp 2.6.0
{
"version": "2.6.0",
"transport": "stdio",
"identifier": "openfoodfacts-mcp",
"runtimeHint": "npx",
"registryType": "npm",
"environmentVariables": [
{
"name": "OFF_USER_AGENT",
"isRequired": true,
"description": "User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API."
},
{
"name": "OFF_USER_ID",
"description": "Open Food Facts user ID (optional, needed for write operations)."
},
{
"name": "OFF_PASSWORD",
"description": "Open Food Facts password (optional, needed for write operations)."
},
{
"name": "OFF_COUNTRY",
"description": "Country subdomain (default: 'world')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"open-food-facts-mcp-openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp@2.6.0"
],
"env": {
"OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
"OFF_USER_ID": "<YOUR_OFF_USER_ID>",
"OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
"OFF_COUNTRY": "<YOUR_OFF_COUNTRY>"
}
}
}
}Cline
{
"mcpServers": {
"open-food-facts-mcp-openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp@2.6.0"
],
"env": {
"OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
"OFF_USER_ID": "<YOUR_OFF_USER_ID>",
"OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
"OFF_COUNTRY": "<YOUR_OFF_COUNTRY>"
}
}
}
}VS Code
{
"servers": {
"open-food-facts-mcp-openfoodfacts-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp@2.6.0"
],
"env": {
"OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
"OFF_USER_ID": "<YOUR_OFF_USER_ID>",
"OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
"OFF_COUNTRY": "<YOUR_OFF_COUNTRY>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"open-food-facts-mcp-openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp@2.6.0"
],
"env": {
"OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
"OFF_USER_ID": "<YOUR_OFF_USER_ID>",
"OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
"OFF_COUNTRY": "<YOUR_OFF_COUNTRY>"
}
}
}
}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.