Skip to content
MCP server

Openfoodfacts

MCP server for looking up food products, nutrition and allergens from Open Food Facts

Install
Pricing
Freemium
Platforms
API, CLI, Web
Runs
Locally or Remotely
Version
0.2.1
Listing updated
today

Similar MCP servers

About Openfoodfacts

Openfoodfacts is a freemium MCP server for food and drink. It can run locally on your machine or as a hosted remote server.

The README says the server wraps the Open Food Facts collaborative database, which holds roughly three million food products with ingredients, nutrition, allergen, Nutri-Score and packaging details. It is an unofficial integration run through the Pipeworx gateway and does not require an upstream key.

The pack exposes five tools: a barcode lookup for EAN-13 and UPC-A codes, full-text search, and listings filtered by category, brand or country. Each tool takes paging parameters, and the search tool also accepts sorting and field selection. Connections can use a hosted streamable-HTTP endpoint or a local stdio bridge launched with npx.

According to the README, the hosted endpoint also lists shared Pipeworx meta-tools such as ask_pipeworx, and the stdio package lists only this pack's tools unless an environment flag is set. Calls are anonymous and capped daily, with a higher limit for a free registered key.

Install

Run in a terminal

claude mcp add --transport http openfoodfacts https://gateway.pipeworx.io/openfoodfacts/mcp

Add to Settings → Connectors → Add custom connector

https://gateway.pipeworx.io/openfoodfacts/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "openfoodfacts": {
      "url": "https://gateway.pipeworx.io/openfoodfacts/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "openfoodfacts": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/openfoodfacts/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "openfoodfacts": {
      "serverUrl": "https://gateway.pipeworx.io/openfoodfacts/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "openfoodfacts": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/openfoodfacts/mcp"
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PIPEWORX_API_KEYOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

Tools this server provides (5)

Taken from the project documentation; the running server may differ.

product
Product by barcode (EAN-13 / UPC-A).
search
Full-text search with paging, sorting and field options.
category
Products by category.
brand
Products by brand.
country
Products from a country.

What it does

Barcode product lookup
Returns product details for an EAN-13 or UPC-A barcode.
Full-text product search
Searches the food database by keyword with paging, sorting and field selection.
Browse by category
Lists products belonging to a given food category.
Browse by brand
Lists products published under a specific brand name.
Browse by country
Lists products sold or registered in a specified country.

Good for

  • Checking ingredients and allergens for a scanned grocery item inside an AI assistant
  • Comparing Nutri-Score and nutrition data across products in a category
  • Building a meal or diet planning tool that needs packaged food data
  • Researching which products a brand or country has listed in the database

Pricing

Freemium, from $49 a month

Anonymous use capped at 50 calls/day; free account 200 calls/day; paid tiers from $49/month

Prices change. Check pipeworx.io before you buy.

Openfoodfacts FAQ

Does the server need an API key?

The README says the upstream Open Food Facts source is keyless. The Pipeworx gateway allows anonymous calls capped at 50 per day, and a free account raises that to 200 per day.

Which tools does the server expose?

The README lists product, search, category, brand and country tools. The hosted endpoint also lists shared gateway meta-tools such as ask_pipeworx.

Can it run without a network connection?

No. The README states the npm bridge needs network access and there is no offline mode.

Is Openfoodfacts free?

Openfoodfacts has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

How do I add Openfoodfacts to Claude Code?

Run this command in your terminal: claude mcp add --transport http openfoodfacts https://gateway.pipeworx.io/openfoodfacts/mcp

What are the best alternatives to Openfoodfacts?

The closest alternatives to Openfoodfacts are Spoonacular and Foodish.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers