Search and contribute to the Open Food Facts database.
npx -y openfoodfacts-mcp{
"OFF_USER_AGENT": "YOUR_VALUE_HERE",
"OFF_USER_ID": "YOUR_VALUE_HERE",
"OFF_PASSWORD": "YOUR_SECRET_VALUE",
"OFF_COUNTRY": "YOUR_VALUE_HERE",
"MCP_TRANSPORT": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-domdomegg-openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp"
],
"env": {
"OFF_USER_AGENT": "YOUR_VALUE_HERE",
"OFF_USER_ID": "YOUR_VALUE_HERE",
"OFF_PASSWORD": "YOUR_SECRET_VALUE",
"OFF_COUNTRY": "YOUR_VALUE_HERE",
"MCP_TRANSPORT": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
Open Food Facts is an MCP server for Search and contribute to the Open Food Facts database.. It supports STDIO, HTTP transport.
Use the generated config in Install. This server runs with npx -y openfoodfacts-mcp; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y openfoodfacts-mcp. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y openfoodfacts-mcp. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y openfoodfacts-mcp. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y openfoodfacts-mcp. Add required environment variables before starting Cursor or VS Code.
Open Food Facts uses STDIO, HTTP transport. Use the package or command config in Install.
Open Food Facts inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
Open Food Facts is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
openfoodfacts-mcpstdio | npm | 2.5.1 | Env: OFF_USER_AGENT required Env: OFF_USER_ID Env: OFF_PASSWORD secret Env: OFF_COUNTRY |