openfoodfacts-mcp-server
MCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.
README
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
Installation
pip install openfoodfacts-mcp-server
Usage
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"openfoodfacts": {
"command": "openfoodfacts-mcp-server"
}
}
}
Direct Run
openfoodfacts-mcp-server
Tools
| Tool | Description |
|---|---|
lookup_product_by_barcode |
Full product info by EAN barcode |
search_food |
Search products by name, ingredient, or brand |
get_nutrition_facts |
Nutrition data + Nutri-Score explanation |
check_allergens |
All 14 EU allergens + traces |
get_eco_score |
Eco-Score + CO₂ + packaging info |
find_alternatives |
Better products by Nutri-Score or Eco-Score |
get_product_additives |
E-numbers / additives list |
get_product_labels |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.