OpenFoodFacts-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | The HTTP port for HTTP/SSE transport | 28375 |
| TRANSPORT | No | The transport type for the MCP server (stdio, http) | stdio |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| searchProductsC | Search products by name, brand, or category |
| getProductByBarcodeB | Get product details by barcode (EAN/UPC) |
| analyzeProductC | Get AI nutritional analysis of a product |
| compareProductsC | Compare two products using AI |
| suggestRecipesB | Get AI recipe suggestions using a product |
| searchByCategoryB | Search products within a specific food category (e.g., beverages, snacks, dairy, cereals) |
| searchByBrandC | Find all products from a specific brand |
| advancedSearchB | Advanced product search with multiple filters: category, brand, nutri-score, eco-score, NOVA group, allergen-free, labels, country |
| autocompleteA | Get autocomplete suggestions for categories, brands, labels, ingredients, allergens, or additives |
| getNutriScoreA | Get the Nutri-Score grade (A-E) for a product - quick health assessment at a glance |
| getEcoScoreB | Get the Eco-Score (environmental impact rating A-E) for a product |
| getAdditivesInfoB | List all additives in a product with their E-numbers and NOVA processing level |
| getAllergenCheckC | Check if a product contains a specific allergen (gluten, milk, eggs, nuts, peanuts, soy, fish, shellfish, etc.) |
| checkMultipleAllergensB | Check if a product contains any of multiple allergens at once |
| getProductAIQuestionsA | Get AI-generated questions about a product that need human verification (e.g., "Is this product organic?", "Does this contain gluten?") |
| getRandomAIQuestionsB | Get random AI-generated questions from Robotoff that need human verification - great for community contribution |
| getProductInsightsC | Get AI-generated insights about products (detected labels, categories, ingredients issues, etc.) |
| getInsightTypesA | Get a summary of available AI insight types in Robotoff |
| getProductPricesC | Get crowd-sourced price data for a specific product - see where it costs less |
| searchPricesC | Search for crowd-sourced price data with filters (barcode, currency, etc.) |
| getRecentPricesC | Get the most recently added price data from the community |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze-product | Get a detailed health analysis of any food product |
| compare-products | Compare two products to find the healthier option |
| find-healthy-alternatives | Find healthier alternatives to a product |
| check-allergens | Check if a product is safe for your allergies |
| whats-for-dinner | Get recipe ideas using a product |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| help | How to use the Open Food Facts tools - quick reference |
| nutriscore-guide | Understanding Nutri-Score health ratings (A-E) |
| ecoscore-guide | Understanding Eco-Score environmental ratings (A-E) |
| allergens-list | Common food allergens and where they hide |
| additives-guide | Understanding E-numbers and food additives |
| nova-guide | Understanding food processing levels (1-4) |
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/JagjeevanAK/OpenFoodFacts-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server