Open Food Facts MCP Server

This is a Model Context Protocol (MCP) server implementation for Open Food Facts. It enables AI assistants to access food product information, providing nutritional analysis, product comparisons…

Local serverstdio

What is the Open Food Facts MCP Server?

Open Food Facts MCP Server is an MCP project maintained in the jagjeevanak/openfoodfacts-mcp repository. The maintainer describes its purpose as “This is a Model Context Protocol (MCP) server implementation for Open Food Facts. It enables AI assistants to access food product information, providing nutritional analysis…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares TRANSPORT. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
searchProductsSearch for products in the Open Food Facts database by name, brand, category, or other keywords
getProductByBarcodeGet detailed information about a product by its barcode (EAN, UPC, etc.)
analyzeProductGet AI-powered nutritional analysis of a food product
compareProductsCompare two products with AI-powered insights
suggestRecipesGet AI-powered recipe suggestions using a product
searchByCategorySearch products within a specific food category (e.g., beverages, snacks, dairy, cereals)
searchByBrandFind all products from a specific brand
advancedSearchAdvanced product search with multiple filters including category, brand, Nutri-Score, Eco-Score, NOVA group, allergen-free options, labels, and country
autocompleteGet autocomplete suggestions for categories, brands, labels, ingredients, allergens, or additives
getNutriScoreGet the Nutri-Score grade (A-E) for a product - quick health assessment at a glance
getEcoScoreGet the Eco-Score (environmental impact rating A-E) for a product
getAdditivesInfoList all additives in a product with their E-numbers and NOVA processing level
getAllergenCheckCheck if a product contains a specific allergen (gluten, milk, eggs, nuts, peanuts, soy, fish, shellfish, etc.)
checkMultipleAllergensCheck if a product contains any of multiple allergens at once
getProductAIQuestionsGet AI-generated questions about a product that need human verification
getRandomAIQuestionsGet random AI-generated questions from Robotoff that need human verification - great for community contribution
getProductInsightsGet AI-generated insights about products (detected labels, categories, ingredients issues, etc.)
getInsightTypesGet a summary of available AI insight types in Robotoff
getProductPricesGet price history and current prices for a product from Open Prices
searchPricesSearch for prices with filters (currency, country, date range)
getRecentPricesGet recently added prices to discover what's available

How to install the Open Food Facts MCP Server

{
  "mcpServers": {
    "openfoodfacts": {
      "command": "node",
      "args": [
        "/path/to/OpenFoodFacts-MCP/dist/index.js"
      ],
      "env": {
        "TRANSPORT": "stdio"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
TRANSPORTDeclared in the maintainer’s client configuration.Check documentation