Skip to main content
Glama
JagjeevanAK

OpenFoodFacts-mcp

by JagjeevanAK

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoThe HTTP port for HTTP/SSE transport28375
TRANSPORTNoThe transport type for the MCP server (stdio, http)stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchProductsC

Search products by name, brand, or category

getProductByBarcodeA

Get product details by barcode (EAN/UPC)

analyzeProductC

Get AI nutritional analysis of a product

compareProductsC

Compare two products using AI

suggestRecipesC

Get AI recipe suggestions using a product

searchByCategoryC

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

autocompleteB

Get autocomplete suggestions for categories, brands, labels, ingredients, allergens, or additives

getNutriScoreC

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

getAdditivesInfoA

List all additives in a product with their E-numbers and NOVA processing level

getAllergenCheckB

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

getProductInsightsB

Get AI-generated insights about products (detected labels, categories, ingredients issues, etc.)

getInsightTypesB

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

NameDescription
analyze-productGet a detailed health analysis of any food product
compare-productsCompare two products to find the healthier option
find-healthy-alternativesFind healthier alternatives to a product
check-allergensCheck if a product is safe for your allergies
whats-for-dinnerGet recipe ideas using a product

Resources

Contextual data attached and managed by the client

NameDescription
helpHow to use the Open Food Facts tools - quick reference
nutriscore-guideUnderstanding Nutri-Score health ratings (A-E)
ecoscore-guideUnderstanding Eco-Score environmental ratings (A-E)
allergens-listCommon food allergens and where they hide
additives-guideUnderstanding E-numbers and food additives
nova-guideUnderstanding food processing levels (1-4)

TDQS

B3.2/5.0

Scored across 21 tools

Disambiguation4/5

Most tools have distinct purposes, but some overlap exists between search tools (advancedSearch, searchByBrand, searchByCategory) and allergen check tools (getAllergenCheck, checkMultipleAllergens). However, descriptions clarify differences, making selection manageable.

Naming Consistency5/5

Tool names follow a consistent verb+noun pattern (e.g., getProductByBarcode, searchByBrand, checkMultipleAllergens). Even longer names like getProductAIQuestions maintain clarity. No mixing of conventions or obscure verbs.

Tool Count4/5

With 21 tools, the set is comprehensive for a food database API. While slightly above typical ideal range, each tool serves a specific function (search, details, scores, allergies, prices, AI insights). No unnecessary redundancy.

Completeness4/5

The tool set covers key read operations for OpenFoodFacts: search, product details, nutritional scores, allergens, prices, and AI insights. Missing create/update/delete, but that aligns with a read-only public API. Minor gaps like direct nutrient data access are mitigated by analyzeProduct.

Maintenance

ActivityInactive
ResponsivenessUnresponsive