
Open Food Facts
Connects Claude to the Open Food Facts database with both read and write access. You can search products by name or barcode, filter by nutrition grades like Nutri-Score, and pull detailed ingredient and nutrition data. The server also supports write operations if you provide credentials, letting you add or update product entries and upload images directly from your conversations. Useful when you need nutritional lookups, want to compare food products, or need to contribute data to the open database. Ships with both standard search filters and Lucene syntax for complex queries, plus autocomplete for brands and categories.
- GitHub stars
- 3
- tools
- 9
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 5
- last updated
- Jul 9, 2026
Tools
9 toolsPublic tool metadata for what this MCP can expose to an agent.
get_productGet product info by barcode
Get product info by barcode
No parameter schema in public metadata yet.
search_products_standardSearch with structured filters (brand, category, Nutri-Score)
Search with structured filters (brand, category, Nutri-Score)
No parameter schema in public metadata yet.
search_products_luceneSearch with Lucene syntax, negation, and boolean logic
Search with Lucene syntax, negation, and boolean logic
No parameter schema in public metadata yet.
autocompleteAutocomplete brands, categories, labels, etc.
Autocomplete brands, categories, labels, etc.
No parameter schema in public metadata yet.
add_or_edit_productAdd or update a product
Add or update a product
No parameter schema in public metadata yet.
upload_imageUpload a product image
Upload a product image
No parameter schema in public metadata yet.
select_imageSelect, crop, and rotate an image
Select, crop, and rotate an image
No parameter schema in public metadata yet.
call_apiCall any OFF API endpoint directly
Call any OFF API endpoint directly
No parameter schema in public metadata yet.
get_api_docsGet OFF API documentation
Get OFF API documentation
No parameter schema in public metadata yet.
Sponsors
Configuration
OFF_USER_AGENT*User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.
OFF_USER_IDOpen Food Facts user ID (optional, needed for write operations).
OFF_PASSWORDsecretOpen Food Facts password (optional, needed for write operations).
OFF_COUNTRYCountry subdomain (default: 'world').
MCP_TRANSPORT*default: httpTransport type.
Readme
openfoodfacts-mcp
MCP server for the Open Food Facts API - search, read, and contribute to the world's largest open food database.
Use Cases
Look up a product by name: "How many calories in a Sainsbury's buffalo chicken wrap?" -> searches by name, finds the product, and returns nutrition data.
Look up a product by barcode: "What's in this product with barcode 3017620422003?" -> fetches Nutella's ingredients, Nutri-Score, and nutrition data.
Find healthy options: "Search for breakfast cereals with Nutri-Score A" -> searches with category and nutrition grade filters.
Contribute data: "Add the product name and brand for barcode 12345678" -> creates or updates a product entry on Open Food Facts.
Explore the database: "What brands of organic chocolate are in the database?" -> uses autocomplete and search to explore.
Setup
Details
- Repository
- github.com/domdomegg/openfoodfacts-mcp
- Website
- github.com/domdomegg/openfoodfacts-mcp#readme
- Categories
- Databases, Search & Web Crawling
- Package
openfoodfacts-mcp- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active