Skip to main content
Glama
AiAgentKarl

openfoodfacts-mcp-server

by AiAgentKarl

openfoodfacts-mcp-server

MCP Server for Open Food Facts — the world's largest open-source food product database with 3M+ products from 200+ countries. No API key required.

PyPI version License: MIT

Features

  • Barcode Lookup — Get full product info by EAN barcode

  • Product Search — Search 3M+ products by name, ingredient, or brand

  • Nutrition Facts — Detailed nutritional data + Nutri-Score (A–E)

  • Allergen Check — All 14 EU major allergens + traces

  • Eco-Score — Environmental impact, CO₂ footprint, packaging info

  • Find Alternatives — Find healthier or more eco-friendly products

  • Additives / E-Numbers — List all additives in a product

  • Labels & Certifications — Organic, Vegan, Fairtrade, Halal, Kosher, Gluten-Free

Related MCP server: openfoodfacts-mcp

Installation

pip install openfoodfacts-mcp-server

Usage

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "openfoodfacts": {
      "command": "openfoodfacts-mcp-server"
    }
  }
}

Direct Run

openfoodfacts-mcp-server

Tools

Tool

Description

lookup_product_by_barcode

Full product info by EAN barcode

search_food

Search products by name, ingredient, or brand

get_nutrition_facts

Nutrition data + Nutri-Score explanation

check_allergens

All 14 EU allergens + traces

get_eco_score

Eco-Score + CO₂ + packaging info

find_alternatives

Better products by Nutri-Score or Eco-Score

get_product_additives

E-numbers / additives list

get_product_labels

Organic, Vegan, Fairtrade, Halal, Kosher, etc.

Example Queries

"What are the allergens in product 3017620422003?"
"Find vegan pasta products with a good Nutri-Score"
"What is the eco-score of this chocolate bar?"
"Find healthier alternatives to this snack"
"List all E-numbers in product 5449000214911"

Data Source

All data comes from Open Food Facts — a free, open-source, collaborative food database. No API key required. Data is available under the Open Database License (ODbL).

License

MIT © AiAgentKarl

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    B
    quality
    F
    maintenance
    This MCP is used to get realtime food data from OpenFoodFacts database. OpenFoodFacts is a largest food database in the world.
    Last updated
    21
    29
    17
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server for the Open Food Facts API that allows users to search, read, and contribute to a global food database. It enables looking up nutrition data by barcode or name and managing product information through natural language.
    Last updated
    10
    80
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for agriculture and farming data. 8 tools: soil conditions (temperature, moisture), crop weather forecasts, historical climate data (NASA POWER, since 1981), global agriculture statistics (World Bank, 20+ indicators), and food product database (Open Food Facts, 3M+ products). All APIs free, no keys required.
    Last updated
    8
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Nutrition MCP — wraps Open Food Facts API (free, no auth)

  • Open Beauty Facts MCP — Open Beauty Facts API (free, no auth, keyless).

  • This MCP server provides seamless access to Malaysia's government open data, including datasets, w…

View all MCP Connectors

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/AiAgentKarl/openfoodfacts-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server