MCP server
Openfoodfacts MCP Server
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food…
- Pricing
- Open source
- Runs
- Locally or Remotely
- Version
- 0.4.4
- Listing updated
- 4 days ago
About Openfoodfacts MCP Server
Openfoodfacts MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.
Install
Run in a terminal
claude mcp add --transport http openfoodfacts-mcp-server https://openfoodfacts.caseyjhand.com/mcpAdd to Settings → Connectors → Add custom connector
https://openfoodfacts.caseyjhand.com/mcpInstall in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"url": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"openfoodfacts-mcp-server": {
"type": "http",
"url": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"serverUrl": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"type": "http",
"url": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}Configuration
OFF_BASE_URLOpen Food Facts API base URL override. Useful for testing against a mock server.OFF_RATE_LIMIT_PRODUCTProduct read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads.OFF_RATE_LIMIT_SEARCHSearch rate limit (requests/min).OFF_RATE_LIMIT_TAXONOMYTaxonomy 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.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').MCP_TRANSPORT_TYPESelects the HTTP transport.OFF_BASE_URLOpen Food Facts API base URL override. Useful for testing against a mock server.OFF_RATE_LIMIT_PRODUCTProduct read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads.OFF_RATE_LIMIT_SEARCHSearch rate limit (requests/min).OFF_RATE_LIMIT_TAXONOMYTaxonomy 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.MCP_HTTP_HOSTThe hostname for the HTTP server.MCP_HTTP_PORTThe port to run the HTTP server on.MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
Pricing
Open source
Openfoodfacts MCP Server FAQ
Is Openfoodfacts MCP Server free?
Yes. Openfoodfacts MCP Server is open source, so you can use and self-host it for free.
How do I add Openfoodfacts MCP Server to Claude Code?
Run this command in your terminal: claude mcp add --transport http openfoodfacts-mcp-server https://openfoodfacts.caseyjhand.com/mcp