Search and contribute to the Open Food Facts database.
Connect Runs on your machine
claude mcp add openfoodfacts-mcp -e OFF_USER_AGENT=<OFF_USER_AGENT> -e OFF_USER_ID=<OFF_USER_ID> -e OFF_PASSWORD=<OFF_PASSWORD> -e OFF_COUNTRY=<OFF_COUNTRY> -- npx -y [email protected]
{
"mcpServers": {
"openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OFF_USER_AGENT": "<OFF_USER_AGENT>",
"OFF_USER_ID": "<OFF_USER_ID>",
"OFF_PASSWORD": "<OFF_PASSWORD>",
"OFF_COUNTRY": "<OFF_COUNTRY>"
}
}
}
}
{
"mcpServers": {
"openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OFF_USER_AGENT": "<OFF_USER_AGENT>",
"OFF_USER_ID": "<OFF_USER_ID>",
"OFF_PASSWORD": "<OFF_PASSWORD>",
"OFF_COUNTRY": "<OFF_COUNTRY>"
}
}
}
}
{
"servers": {
"openfoodfacts-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OFF_USER_AGENT": "<OFF_USER_AGENT>",
"OFF_USER_ID": "<OFF_USER_ID>",
"OFF_PASSWORD": "<OFF_PASSWORD>",
"OFF_COUNTRY": "<OFF_COUNTRY>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OFF_USER_AGENTRequired | User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API. |
OFF_USER_IDOptional | Open Food Facts user ID (optional, needed for write operations). |
OFF_PASSWORDOptional, secret | Open Food Facts password (optional, needed for write operations). |
OFF_COUNTRYOptional | Country subdomain (default: 'world'). |
Details
| Package | [email protected] (NPM, stdio) |
| Package | [email protected] (NPM, streamable-http) |
| First published | 9 Jul 2026 |
| Last updated | 9 Jul 2026 |
| Registry name | io.github.domdomegg/openfoodfacts-mcp |
More search and web servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
