# FoodEx2 Encoder

> FoodEx2 Encoder is a paid MCP server for food and drink. Turn a food description into an EFSA FoodEx2 code from your AI chat. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** Web, API, CLI, self-hosted
- **Website:** https://foodex2-encoder.foodnotes.org
- **Repository:** https://github.com/foodnotes-org/foodex2-encoder
- **MCP Registry name:** org.foodnotes/foodex2-encoder
- **Categories:** food and drink, health and science
- **Listing updated:** 2026-11-15

## About

FoodEx2 is EFSA's coding system for food, and this server does the coding for you. It returns a base term from the MTX catalogue, facet descriptors such as ingredient, process, fat content or production method, and labelled free text for details the code cannot express. Examples on the site include eggplant coded as A00JD and orange nectar with calcium, sugar free and organic built from a base code plus three facets.

The encoding runs on the vendor's side against the official catalogue, not from what a chat model remembers. Each successful call returns the code plus a short explanation. Lookup, decoding, validation and EFSA guidance are handled by a separate free FoodEx2 Atlas MCP that uses the same coding rules.

The repository README is candid about limits: it was tested on a limited set of descriptions in English, German, French, Italian, Spanish and Dutch, and a category can end up coded as a broader group than the words say, so every code should be checked. Terms that need a catalogue walk typically take 60 to 120 seconds. The hosted version is prepaid at an introductory US$0.50 per encode, topped up from US$5, with unused balance refunded on closing the account. The core can also be run locally with Node.js 20, Python 3 and your own OpenAI-compatible model key.

## Features

- **Code with facets:** Returns base term, facet descriptors and labelled free text.
- **Official catalogue:** Encodes against the EFSA FoodEx2 MTX catalogue.
- **Country hint:** An optional country code changes how ambiguous food names are read.
- **Explanation per code:** Each result includes a short explanation of the coding.
- **Local option:** The core runs as a library and stdio server with your own model endpoint.

## Good for

- Code food consumption survey entries
- Standardise recipe ingredients to FoodEx2
- Prepare food data for EFSA reporting
- Check how a food description maps to the catalogue

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http foodex2-encoder https://foodex2-encoder.foodnotes.org/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://foodex2-encoder.foodnotes.org/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "foodex2-encoder": {
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "foodex2-encoder": {
      "type": "http",
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "foodex2-encoder": {
      "serverUrl": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "foodex2-encoder": {
      "type": "http",
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}
```

## Tools

- `encode`: Encodes a food description, with an optional country, into a FoodEx2 code with facets and explanation.

## FAQ

### How much does it cost?

US$0.50 per encode, prepaid, with top-ups from US$5 and a refund of unused balance when you close the account.

### Which languages work?

It was tested on English, German, French, Italian, Spanish and Dutch; others may work with more variable results.

### How long does an encode take?

Simple lexical matches return in about a second; descriptions needing a catalogue walk typically take 60 to 120 seconds.

### Should I check the output?

Yes. The README says to check every code, since a category can be coded more broadly than described.

### Is FoodEx2 Encoder free?

No. FoodEx2 Encoder is a paid product.

### How do I add FoodEx2 Encoder to Claude Code?

Run this command in your terminal: claude mcp add --transport http foodex2-encoder https://foodex2-encoder.foodnotes.org/mcp

### What are the best alternatives to FoodEx2 Encoder?

The closest alternatives to FoodEx2 Encoder are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and Fast Food Index.

## Alternatives

- [Tooluniverse](https://ai-powered.com/mcp/tooluniverse): Tooluniverse is an open-source MCP server for health and science.
- [Oya Browser](https://ai-powered.com/mcp/oya-browser): Oya Browser is a freemium MCP server for browser automation.
- [Later Stages](https://ai-powered.com/mcp/later-stages): Later Stages is a free MCP server for health and science.
- [MedXpert 标准检索连接器](https://ai-powered.com/mcp/medxpert-2): MedXpert 标准检索连接器 is a free MCP server for legal and government.
- [Fast Food Index](https://ai-powered.com/mcp/fast-food-index): Fast Food Index is a free MCP server for food and drink.
- [MedXpert 全球法规连接器 (reg-connector)](https://ai-powered.com/mcp/medxpert-reg-connector): MedXpert 全球法规连接器 (reg-connector) is a free MCP server for legal and government.
- [Splyt](https://ai-powered.com/mcp/splyt): Splyt is a free MCP server for health and science.
- [Health Agent](https://ai-powered.com/mcp/health-agent): Health Agent is an MCP server for health and science.

---
Source: https://ai-powered.com/mcp/foodex2-encoder
