Open Food Facts MCP. Audit nutrition, ingredients, and barcodes instantly.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Open Food Facts API connects your AI agent directly to a global database of food products. You can audit nutrition information, look up ingredients, and find product details using just a barcode or keyword search.
It's built for researchers and health apps that need verified, structured data on everything from Nutri-Scores to specific ingredient lists.
What your AI agents can do
Check api status
Checks if the Open Food Facts service is currently operational and ready to receive queries.
Get food product
Retrieves comprehensive details for a food product using its unique barcode identifier (EAN/UPC).
List food categories
Lists every available, high-level food category defined within the entire database.
You give the agent a barcode number, and it returns all known details about that specific food item.
The tool checks for Nutri-Scores and core nutritional metadata (like fat or sugar content) for any product ID.
It retrieves the full list of ingredients used in a product, which is critical for allergy or dietary research.
You can pull a master list of every food category available in the global database to define search parameters.
The agent searches across thousands of products using keywords (e.g., 'cereal') or filters (e.g., 'dairy-free').
It verifies that the Open Food Facts service is currently running and available for your workflow.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
Open Food Facts API: 4 Tools for Food Research
These four tools let your agent perform every step of a product audit—from checking the service status to retrieving specific nutrient details via barcode.
019d8463check api status
Checks if the Open Food Facts service is currently operational and ready to receive queries.
019d8463get food product
Retrieves comprehensive details for a food product using its unique barcode identifier (EAN/UPC).
019d8463list food categories
Lists every available, high-level food category defined within the entire database.
019d8463search food products
Searches for products based on keywords or filters by a specific food category.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Open Food Facts API, then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
You're connecting your AI agent directly to a massive global food database with this Open Food Facts API. Forget wading through messy web forms or relying on incomplete label photos; this lets you run structured data queries against millions of products worldwide. Your agent can check the service status first by running check_api_status, making sure it's operational before you start any deep work.
When you need details for a specific item, you give your agent the barcode number—the EAN or UPC—and it uses the get_food_product tool. That function returns every known piece of data associated with that unique product ID. You'll get brand information, full descriptions, and core metadata right off the bat.
For deep research, your agent runs several audits on the retrieved product data. It checks for specific nutritional metrics, pulling out things like fat content or sugar levels. Crucially, it can find Nutri-Scores to give you a quick health grade assessment of what's actually in the food. Furthermore, when you need to verify dietary restrictions or manage allergies, your agent retrieves the full ingredient list from that product record—you get every single component used.
If you don't have a barcode, you can still find products. You run list_food_categories first; this pulls a master index of every high-level food category available in the entire database. Knowing those categories lets you define your search parameters precisely. Then, using search_food_products, you tell the agent to look for things based on keywords—say, 'cereal' or 'low sodium'—or filter results down to a specific category like 'dairy-free snacks.' The tool returns lists of relevant products that match your criteria.
So, whether you’re verifying if the whole service is up with check_api_status, running a barcode lookup via get_food_product for product details and ingredients, auditing the nutritional profile for specific metrics like sugar or fat, pulling a category index using list_food_categories, or narrowing down results with a keyword search through search_food_products, your agent handles it.
It's structured data access—no guesswork needed.
How Open Food Facts MCP Works
- 1 First, subscribe to this server on Vinkius. No API key is needed because Open Food Facts runs as a free public service.
- 2 Next, tell your AI client (e.g., Claude or Cursor) what you need: 'Find the Nutri-Score for product X' or 'List all beverage categories.'
- 3 Your agent calls the appropriate tool (
get_food_productorlist_food_categories), executes the query, and returns the raw structured data to your chat interface.
The bottom line is: you talk naturally to your AI client, and it handles the complex database lookups for you.
Who Is Open Food Facts MCP For?
This tool is built for people who deal with product data in bulk—researchers, quality assurance teams, or health apps. If you spend time manually cross-referencing ingredient lists or checking nutritional claims against barcodes, this saves you hours of tedious work.
Uses get_food_product to rapidly audit multiple products by barcode and compare their specific nutrient metadata.
Employs search_food_products combined with list_food_categories to map out competitive product lines or identify gaps in a market segment.
Integrates the API to allow users to input barcodes, and uses the tool to instantly pull structured data for display.
What Changes When You Connect
- Instant Nutritional Audits: Stop manually checking sites. Use
get_food_productto pull Nutri-Scores, fat content, and sugar data for any product barcode in seconds. - Structured Ingredient Data: The tool provides the full ingredient list for a product, letting your agent flag potential allergens or restricted ingredients automatically.
- Precise Market Filtering: Instead of guessing, use
list_food_categoriesto get a master index, then combine it withsearch_food_productsto filter exactly what you need (e.g., 'dairy-free' cereals). - Cross-Functional Data Retrieval: Your agent doesn't just read text; it pulls structured metadata like product identifiers and quantity details from the API call.
- Always On Connectivity: Before starting a major audit, run
check_api_statusto ensure your entire food research workflow stays operational. No guesswork required.
Real-World Use Cases
Comparing Diets for Research
A nutritionist needs to compare three different breakfast cereals. Instead of opening three browser tabs, they ask their agent: 'What is the Nutri-Score and sugar content for these three barcodes?' The agent runs get_food_product three times in sequence and presents a single comparison table.
Checking Ingredient Compliance
A brand manager needs to know if any products contain 'palm oil.' They ask the agent to search for all products containing that keyword. The agent uses search_food_products and filters by ingredient name, quickly giving them a compliance report.
Building an Internal Taxonomy
A data team needs to map out every possible food type they might encounter. They run the list_food_categories tool once to get the master list. This provides the necessary structure for their internal database schema.
Verifying Data Integrity
A QA tester needs to ensure the data source is up. Before running any expensive query, they first run check_api_status. If the tool reports 'offline,' they stop immediately and don't waste time on failed searches.
The Tradeoffs
Generalizing a Barcode Search
Asking the agent, 'Tell me about this food product.' without giving a barcode. The agent doesn't know which product you mean and fails.
→
Always use get_food_product first and provide the full EAN/UPC number. This is the most direct way to get specific details.
Over-relying on Keywords Alone
Asking, 'Show me all sweet snacks.' Keyword search might pull unrelated items like sugary beverages or dessert ingredients.
→
Combine tools: First, use list_food_categories to find the specific category ID (like 'snacks'), then pass that ID to search_food_products for better filtering.
Assuming Status is Always Available
Jumping straight into a complex search query when the underlying service might be down, leading to confusing errors.
→
Always start with check_api_status. If it reports an error, don't run any other tools until the status returns green.
When It Fits, When It Doesn't
Use this server if your task involves structured product data: checking barcodes, auditing nutrition facts, or classifying food items into defined categories. It’s ideal for building research pipelines or internal knowledge bases.
Don't use it if you need real-time inventory counts (use an ERP connector) or current pricing information (use a market feed API). If your goal is to analyze the mood around food, this won't help. It only works with structured product data found in the global Open Food Facts catalog. Remember: get_food_product needs a barcode; if you don’t have one, start by listing categories or searching broadly.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Open Food Facts. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 4 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Manually comparing nutrition labels is a nightmare.
Think about it. You need to compare three different brands of cereal for sugar content. That means opening the box on Brand A, finding the barcode; going online, manually inputting the code; scrolling through pages of text to find 'sugar'; then repeating that entire 5-minute process for Brands B and C. Copying and pasting those numbers into a spreadsheet is tedious.
With this MCP server, you just tell your agent: 'Compare the sugar content of these three barcodes.' It runs `get_food_product` on all three simultaneously, extracts only the sugar data, and hands you a clean, comparison table. You get accurate data in seconds.
Using Open Food Facts API MCP Server: Structured Product Data Access
Before this server, if your team needed to know the full range of available product types (e.g., 'beverages,' 'dairies,' 'condiments'), you had no single source of truth. You were limited by what one person remembered or how many web pages you could crawl.
Now, running `list_food_categories` gives you the entire master index of food types instantly. It's a foundational step that lets your agent build highly specific and reliable queries. The data structure is clean; there’s no guesswork.
Common Questions About Open Food Facts MCP
How do I use `get_food_product` with the Open Food Facts API? +
You must provide the full EAN/UPC barcode number. The tool takes this ID and returns all associated data, including Nutri-Score and ingredient details.
Is `search_food_products` better than listing categories? +
list_food_categories gives you the full list of groups available. Use that to define a scope (like 'breakfast cereals'), then use search_food_products with keywords within that category for targeted results.
What if I don't have a barcode? +
If you lack a specific barcode, start by using list_food_categories to narrow your focus. You can then use search_food_products with keywords (e.g., 'low-sodium') within the chosen category.
Does Open Food Facts API handle expired products? +
The tool queries a public database of product information, not real-time inventory or expiration dates. It provides data on known ingredients and nutritional makeup.
How do I authenticate when using the `get_food_product` tool? +
You don't need an API key. The service is open and free to use, so authentication isn't required for your AI agent to process product data.
If my calls fail or hit a rate limit, how do I check the service health using `check_api_status`? +
Call check_api_status first. This confirms if Open Food Facts is currently operational and available for your agent to use.
When I run `get_food_product`, what specific metadata do I get for ingredient auditing? +
It returns high-resolution details, including the full list of ingredients, brand information, and nutritional scores like Nutri-Score.
If I need to understand all product groups, what's the scope of `list_food_categories`? +
The tool lists thousands of available food categories. This gives your agent a comprehensive view of the entire global product database structure.
Is an API Key required for Open Food Facts API? +
No. Open Food Facts is a free and open database. This server works out of the box without any static credentials required.
Can the agent look up international products? +
Yes. Open Food Facts is a global database covering millions of food products from around the world using the same API metadata.
What is the Nutri-Score? +
It is a nutrition label that converts the nutritional value of products into a simple code of 5 colors and letters (A to E).
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Geocodio
Empower geocoding via Geocodio — perform batch geocoding and reverse geocoding for US/Canada, and retrieve Census and legislative data directly from any AI agent.
IP Subnet Calculator
Flawless binary math. Calculate perfect network boundaries, broadcast addresses, and IP ranges without LLM hallucination.
NAICS/SIC Classification API
Search industry codes — audit NAICS and SIC via AI.
You might also like
Orkes Conductor
Orchestrate microservice workflows via Orkes Conductor — list definitions, track running executions, search workflow history, and inspect task states from any AI agent.
Pagar.me
Create orders, manage subscriptions, and process Pix/Boleto payments via Pagar.me API.
EZO Asset Intelligence
Equip your AI agent to manage fixed assets, track inventory, and monitor checkouts via the EZO.io (EZOfficeInventory) API.