Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Openfoodfacts Server

FreeNot checked

MCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.

GitHubEmbed

About

MCP server for Open Food Facts, enabling food product lookup by barcode, search, nutrition facts, allergen checks, and eco-scores without an API key.

README

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

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

from github.com/AiAgentKarl/openfoodfacts-mcp-server

Install Openfoodfacts Server in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install openfoodfacts-mcp-server

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add openfoodfacts-mcp-server -- uvx openfoodfacts-mcp-server

FAQ

Is Openfoodfacts Server MCP free?

Yes, Openfoodfacts Server MCP is free — one-click install via Unyly at no cost.

Does Openfoodfacts Server need an API key?

No, Openfoodfacts Server runs without API keys or environment variables.

Is Openfoodfacts Server hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Openfoodfacts Server in Claude Desktop, Claude Code or Cursor?

Open Openfoodfacts Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Openfoodfacts Server with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs