F

Foodex2 Encoder

by foodnotes.org · org.foodnotes/foodex2-encoder

Turns an English food description into an EFSA FoodEx2 code, including base term, facet descriptors, and free text. Also provides search and term lookup tools over the FoodEx2 catalogue.

Remote GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "org-foodnotes-foodex2-encoder": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://foodex2-encoder.foodnotes.org/mcp"
      ]
    }
  }
}

Restart Claude Desktop to activate the new server. If the server uses OAuth (not known from registry metadata), mcp-remote opens a browser to sign in on first start and caches tokens in ~/.mcp-auth.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "org-foodnotes-foodex2-encoder": {
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "org-foodnotes-foodex2-encoder": {
      "type": "http",
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}

The server will be available in the next Claude Code session. If the server uses OAuth, run /mcp inside Claude Code to authenticate.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "org-foodnotes-foodex2-encoder": {
      "type": "http",
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}

Reload the VS Code window to activate.

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

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "org-foodnotes-foodex2-encoder": {
      "serverUrl": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "org-foodnotes-foodex2-encoder": {
      "type": "streamableHttp",
      "url": "https://foodex2-encoder.foodnotes.org/mcp"
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
FOODEX2_MODEL No Model identifier to use for encoding. Default: openai/gpt-5.4
OPENROUTER_API_KEY No OpenRouter API key. Alternative to FOODEX2_LLM_API_KEY.
FOODEX2_LLM_API_KEY No API key for the OpenAI-compatible model endpoint. Required if OPENROUTER_API_KEY is not set.
FOODEX2_LLM_BASE_URL No Base URL of the OpenAI-compatible model endpoint. Default: https://openrouter.ai/api/v1

Similar servers