openfoodfacts-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@openfoodfacts-mcp-serverWhat are the allergens in product 3017620422003?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
openfoodfacts-mcp-server
MCP Server for Open Food Facts — the world's largest open-source food product database with 3M+ products from 200+ countries. No API key required.
Features
Barcode Lookup — Get full product info by EAN barcode
Product Search — Search 3M+ products by name, ingredient, or brand
Nutrition Facts — Detailed nutritional data + Nutri-Score (A–E)
Allergen Check — All 14 EU major allergens + traces
Eco-Score — Environmental impact, CO₂ footprint, packaging info
Find Alternatives — Find healthier or more eco-friendly products
Additives / E-Numbers — List all additives in a product
Labels & Certifications — Organic, Vegan, Fairtrade, Halal, Kosher, Gluten-Free
Related MCP server: openfoodfacts-mcp
Installation
pip install openfoodfacts-mcp-serverUsage
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"openfoodfacts": {
"command": "openfoodfacts-mcp-server"
}
}
}Direct Run
openfoodfacts-mcp-serverTools
Tool | Description |
| Full product info by EAN barcode |
| Search products by name, ingredient, or brand |
| Nutrition data + Nutri-Score explanation |
| All 14 EU allergens + traces |
| Eco-Score + CO₂ + packaging info |
| Better products by Nutri-Score or Eco-Score |
| E-numbers / additives list |
| Organic, Vegan, Fairtrade, Halal, Kosher, etc. |
Example Queries
"What are the allergens in product 3017620422003?"
"Find vegan pasta products with a good Nutri-Score"
"What is the eco-score of this chocolate bar?"
"Find healthier alternatives to this snack"
"List all E-numbers in product 5449000214911"Data Source
All data comes from Open Food Facts — a free, open-source, collaborative food database. No API key required. Data is available under the Open Database License (ODbL).
License
MIT © AiAgentKarl
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AiAgentKarl/openfoodfacts-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server