PluginBench
MCP Server
Active
MIT

Open Food Facts MCP Server

io.github.domdomegg/openfoodfacts-mcp

What is the Open Food Facts MCP server?

Search and contribute to the Open Food Facts database.

How to install Open Food Facts

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • OFF_USER_AGENT
    required

    User-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.

  • OFF_USER_ID

    Open Food Facts user ID (optional, needed for write operations).

  • OFF_PASSWORD
    secret

    Open Food Facts password (optional, needed for write operations).

  • OFF_COUNTRY

    Country subdomain (default: 'world').

  • MCP_TRANSPORT
    required

    Transport type.

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "openfoodfacts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
        "OFF_USER_ID": "<YOUR_OFF_USER_ID>",
        "OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
        "OFF_COUNTRY": "<YOUR_OFF_COUNTRY>",
        "MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "openfoodfacts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
        "OFF_USER_ID": "<YOUR_OFF_USER_ID>",
        "OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
        "OFF_COUNTRY": "<YOUR_OFF_COUNTRY>",
        "MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "openfoodfacts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
        "OFF_USER_ID": "<YOUR_OFF_USER_ID>",
        "OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
        "OFF_COUNTRY": "<YOUR_OFF_COUNTRY>",
        "MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "openfoodfacts-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<YOUR_OFF_USER_AGENT>",
        "OFF_USER_ID": "<YOUR_OFF_USER_ID>",
        "OFF_PASSWORD": "<YOUR_OFF_PASSWORD>",
        "OFF_COUNTRY": "<YOUR_OFF_COUNTRY>",
        "MCP_TRANSPORT": "<YOUR_MCP_TRANSPORT>"
      }
    }
  }
}
Claude Code
claude mcp add openfoodfacts-mcp --env OFF_USER_AGENT=<YOUR_OFF_USER_AGENT> --env OFF_USER_ID=<YOUR_OFF_USER_ID> --env OFF_PASSWORD=<YOUR_OFF_PASSWORD> --env OFF_COUNTRY=<YOUR_OFF_COUNTRY> --env MCP_TRANSPORT=<YOUR_MCP_TRANSPORT> -- npx -y openfoodfacts-mcp

Related MCP servers

Airtable

Active

Give AI assistants read/write access to Airtable bases, tables, records, and comments.

449
TypeScript
MIT
View repository →

Lets Claude control your computer via screenshots, mouse, and keyboard automation.

318
TypeScript
MIT
View repository →

Gmail

Active

Allow AI systems to read, send, archive, and manage emails via Gmail.

7
TypeScript
View repository →

Fetch content from the web, cleaned up nicely for LLMs (using Defuddle).

6
TypeScript
MIT
View repository →

Execute bash commands with background job support.

6
TypeScript
View repository →

Allow AI systems to list, search, upload, download, and manage files and folders in Google Drive.

4
TypeScript
View repository →
Open Food Facts MCP Server | PluginBench