Agent Tools / MCP install guides / Food Facts in Claude

Food Facts in Claude

Look up food by barcode. The MCP server is https://food.openkrill.app/mcp. No key. The steps below are only for Claude. A call to lookup_barcode was checked against that server on 2026-10-01.

What this server answers

Look up a packaged food by its barcode, search for products, compare them side by side and check a product's listed allergens.

Ask "what is in the product with barcode 3017620422003?", "find oat milks sold in France", "which of these three barcodes has the least sugar?" or "does this product contain milk or nuts?".

Food Facts reads Open Food Facts, a free database that people around the world add to by scanning and photographing labels.

A product answer shows the name, brand, size, ingredients, the allergens and traces the entry lists, the Nutri-Score and NOVA group when known, and nutrition per 100 g (energy, fat, saturated fat, carbohydrates, sugars, fibre, protein, salt and sodium).

Because the data is crowd-sourced, it can be incomplete, wrong or out of date, and recipes change. Every answer says how complete the entry looks and reminds you that the physical label wins, especially for allergies.

The allergen check reads the entry's listed allergen tags and its ingredients text. It is a data lookup, not a safety guarantee, and not dietary or medical advice.

Coverage is strongest in France and Europe and thinner in the US and Asia. For recalls of food products, use the Recalls plugin.

Data © Open Food Facts contributors, available under the Open Database Licence (ODbL) v1.0. It stores nothing about you: answers are cached for a few hours, and the only lasting record is a daily count of calls per tool.

What it can do

Tools

Add Food Facts in Claude

Claude connects to a remote MCP server as a custom connector. The connection is made from Anthropic's cloud, not from your laptop, so the server must be on the public internet. Food Facts is. These steps were checked against Claude's custom-connector article (updated 2026-08-11) and the Claude Code MCP docs on 2026-10-01.

On a Pro or Max plan:

  1. Open Customize, then Connectors.
  2. Select the plus button, then Add custom connector.
  3. Paste https://food.openkrill.app/mcp. Leave Advanced settings empty: this server does not need an OAuth client id or secret.
  4. Select Add. The connector is yours. Anthropic has not reviewed it, and it is not a Directory listing.
  5. In a conversation, open the plus button, then Connectors, and enable Food Facts. Ask: What is in the product with barcode 3017620422003?

On Team and Enterprise, an Owner adds the connector first at Organization settings, then Connectors, then Add, then Custom, then Web, and pastes the same URL. Members then connect it from Customize. A Free plan can add one custom connector.

In Claude Code, add it from the project directory:

claude mcp add --transport http food https://food.openkrill.app/mcp

That writes a local or user config. A JSON entry needs "type": "http" (or streamable-http) plus the url. An entry with a url and no type is skipped. Confirm with claude mcp get food. The tools you should see are lookup_barcode, search_products, compare_products, check_allergens.

Enable the connector only in conversations that need it. Claude can call the tools while you work, including during research, so turn off any tool you do not want invoked. Food Facts does not write to your accounts. It still receives the arguments of each call. Read the privacy page before you paste anything that is not public.

A call checked on 2026-10-01

3017620422003 is the Nutella barcode in the plugin's starter prompts. The physical label still wins. The request below was posted to https://food.openkrill.app/mcp as tools/call. HTTP 200. Source: the Food Facts server, read 2026-10-01.

{
  "method": "tools/call",
  "params": {
    "name": "lookup_barcode",
    "arguments": {
      "barcode": "3017620422003"
    }
  }
}

Repeat the call yourself if you need a newer reading. Cached answers expire. A rate limit is not a result: wait and try again. Nothing in the call is a ranking, a filing, or advice.

Same server, other clients

Terms used on this page

Source: plugin listing for food in this repository, and a live tools/call on 2026-10-01. As of 2026-10-01.