# Open Food Facts MCP for AI Agents AI Agent Connect

> Open Food Facts MCP gives you direct access to the world's largest open food database. Use it to pull nutrition facts, ingredient lists, and environmental scores for millions of products. It's the go-to tool for anyone who needs to verify what's inside a package without having to read every tiny label manually. Whether you're tracking macros or checking for allergens, this Connector puts the data in your hands.

## Overview
- **Category:** knowledge-management
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_UbS0tE7w0pcsizMsWZiRGetdpNV4XS7n5PzCDPEb/ai-agent-connect
- **Tags:** nutrition-facts, barcode-scanner, food-database, ingredients-analysis, eco-score

## Description

Checking what's actually in your food shouldn't feel like a research project. Most people spend way too much time squinting at tiny labels or searching through different websites to find out if a snack is healthy, vegan, or eco-friendly. This Connector changes that by giving your agent a direct line to a massive, collaborative database of food products from all over the world. Instead of you doing the heavy lifting, you can just ask your agent to find specific items, check for hidden additives, or pull a full nutritional breakdown for a specific barcode. You can even filter the entire database by labels like "Organic" or "Vegan" to see what's available in your area. Because it's hosted on Vinkius, you can get this connected to your favorite AI client in minutes. It's built for people who want to make better choices based on real data, whether you're a parent watching for allergens, a fitness enthusiast tracking macros, or a researcher studying food trends. You get clear, structured information on Nutri-Scores, Eco-Scores, and full 100g nutritional profiles without ever having to open another tab or manually calculate percentages. It turns a tedious search into a quick conversation where the data is always ready. This means you can compare dozens of products in seconds, identifying the healthiest options for your specific diet without the usual friction of manual data entry. You no longer have to guess about the contents of a package; you just get the facts straight from the source.

## Tools

### search_products
Find specific food items using keywords like "vegan" or "organic" along with other filters. It helps you browse the global database quickly.

### get_product
Retrieve the full data sheet for a product using its EAN-13 barcode. This gives you everything from ingredients to Nutri-Scores in one go.

## Prompt Examples

**Prompt:** 
```
Is this yogurt safe for someone with a nut allergy?
```

**Response:** 
```
I've checked the ingredients for that yogurt. It does not contain peanuts or tree nuts, but it does list milk and soy as allergens. Here is a quick breakdown of the main ingredients:

* **Milk**
* **Soy**
* **Fruit Prebiotics**
* **Natural Flavorings**

Would you like me to check for any other specific additives?
```

**Prompt:** 
```
Find me some organic dark chocolate brands.
```

**Response:** 
```
I found several organic dark chocolate options in the database. Here are some notable brands:

| Brand | Notable Features |
| :--- | :--- |
| **Alter Eco** | Organic, Fair Trade |
| **Green & Black's** | Organic, High Cocoa % |

Would you like me to list the specific products and their cocoa percentages?
```

**Prompt:** 
```
What's the Nutri-Score for barcode 3017620422003?
```

**Response:** 
```
The product for barcode 3017620422003 is Nutella (400g). It has a **Nutri-Score of E**. 

Here is the nutritional breakdown per 100g:
* **Energy:** 533 kcal
* **Fats:** 31g
* **Sugars:** 26g
* **Proteins:** 6g

It also contains palm oil and sugar.
```

## Capabilities

### Look up products by barcode
Get full details for a product using its EAN-13 code.

### Filter food by category
Search for items using brands, categories, and specific labels.

### Identify hidden allergens
Inspect ingredient lists for hidden additives or common allergens.

### Compare nutritional values
Access 100g breakdowns for energy, fats, sugars, and proteins.

### Check environmental impact
Pull Eco-Scores to see the environmental footprint of products.

## Use Cases

### Checking for allergens
A parent wants to know if a specific brand of crackers contains hidden dairy. The agent uses `get_product` to confirm the ingredients instantly.

### Dietary research
A nutritionist needs a list of all organic dark chocolate brands available in the database. The agent uses `search_products` to gather the list.

### Sustainability tracking
A shopper wants to find the lowest-impact beverage options for a party. The agent pulls Eco-Scores for various drinks to find the best match.

### App development
A developer wants to pull structured nutritional data to build a custom calorie tracker. The agent pulls 100g breakdowns for a list of products.

## Benefits

- Stop guessing about ingredients by using `get_product` to see exactly what's inside a package.
- Make cleaner shopping choices by pulling Eco-Scores and Nutri-Scores instantly for any item.
- Spot hidden allergens or additives without manual label reading by letting your agent scan the full list.
- Compare multiple products side-by-side using 100g nutritional breakdowns for more accurate comparisons.
- Filter huge amounts of data using `search_products` to find specific dietary categories like "Gluten-Free".

## How It Works

The bottom line is you get a direct line to the world's largest food database without the manual research.

1. Subscribe to the Connector and connect it to your preferred AI client.
2. Optionally provide a User Agent string to identify your specific application.
3. Ask your agent to search the database or pull specific data using a barcode.

## Frequently Asked Questions

**Can I use Open Food Facts MCP to check for allergens?**
Yes, it pulls the full ingredient list for products, which helps you quickly identify common allergens like nuts, dairy, or soy.

**How does Open Food Facts MCP help with eco-friendly shopping?**
It retrieves Eco-Scores from the database, allowing you to see the environmental impact of different food products at a glance.

**Can Open Food Facts MCP find specific brands?**
Yes, you can search for specific brands or filter by category to see what is available in the global database.

**Does Open Food Facts MCP work for international products?**
Yes, it connects to a global, collaborative database that includes food products from all over the world.

**Can I use Open Food Facts MCP to compare products?**
Yes, you can get detailed 100g nutritional breakdowns for multiple products to compare their energy, fat, and sugar content.

**Is the data in Open Food Facts MCP updated frequently?**
The database is collaborative and open, meaning it is constantly being updated by a global community of contributors.

**How do I look up a specific food item using its barcode?**
Use the `get_product` tool and provide the barcode (EAN-13). The agent will return the product name, ingredients, Nutri-Score, and detailed nutritional facts.

**Can I search for products that are specifically labeled as Organic or Vegan?**
Yes! Use the `search_products` tool and specify the `labels` parameter (e.g., 'Organic' or 'Vegan') to filter the results accordingly.

**Is it possible to filter out products that contain additives?**
Absolutely. When using the `search_products` tool, set the `additives` parameter to 'without' to find products that do not contain any food additives.