← Index

Open Food Facts

io.github.domdomegg/openfoodfacts-mcp·v2.5.1·Search
Quality Score
93
/100

Search and contribute to the Open Food Facts database.

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "openfoodfacts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<off_user_agent>",
        "OFF_USER_ID": "<off_user_id>",
        "OFF_PASSWORD": "<your-off_password>",
        "OFF_COUNTRY": "<off_country>",
        "MCP_TRANSPORT": "<mcp_transport>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "openfoodfacts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openfoodfacts-mcp"
      ],
      "env": {
        "OFF_USER_AGENT": "<off_user_agent>",
        "OFF_USER_ID": "<off_user_id>",
        "OFF_PASSWORD": "<your-off_password>",
        "OFF_COUNTRY": "<off_country>",
        "MCP_TRANSPORT": "<mcp_transport>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y openfoodfacts-mcp
§02  Environment variables
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.

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').

§03  MCP Quality Score  ·  methodology
freshness
23
completeness
20
installability
25
documentation
15
stability
10
§04  Alternatives in Search