PluginBench
MCP Server
Active
Apache-2.0

io.github.cyanheads/openfoodfacts-mcp-server MCP Server

io.github.cyanheads/openfoodfacts-mcp-server

What is the io.github.cyanheads/openfoodfacts-mcp-server MCP server?

Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.

How to install io.github.cyanheads/openfoodfacts-mcp-server

Copy-paste configuration for popular MCP clients.

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

    Open Food Facts API base URL override. Useful for testing against a mock server.

  • OFF_RATE_LIMIT_PRODUCT

    Product read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads.

  • OFF_RATE_LIMIT_SEARCH

    Search rate limit (requests/min).

  • OFF_RATE_LIMIT_TAXONOMY

    Taxonomy resolution rate limit (requests/min). Applies to the live tag-vocabulary lookups off_browse_taxonomy makes, to tag-value resolution on text searches, and to checking allergen and trace exclusions on every search; a spent budget falls back to the offline sample, or to the tag value as normalized, rather than failing, except that an exclusion it could not check is refused as retryable.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "openfoodfacts-mcp-server": {
      "command": "bun",
      "args": [
        "-y",
        "@cyanheads/openfoodfacts-mcp-server",
        "run",
        "start:stdio"
      ],
      "env": {
        "OFF_BASE_URL": "<YOUR_OFF_BASE_URL>",
        "OFF_RATE_LIMIT_PRODUCT": "<YOUR_OFF_RATE_LIMIT_PRODUCT>",
        "OFF_RATE_LIMIT_SEARCH": "<YOUR_OFF_RATE_LIMIT_SEARCH>",
        "OFF_RATE_LIMIT_TAXONOMY": "<YOUR_OFF_RATE_LIMIT_TAXONOMY>",
        "MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
        "MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
        "MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
        "MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
        "MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
      }
    }
  }
}

Related MCP servers

Search books and authors, fetch editions, browse subjects, and resolve cover images.

1
TypeScript
Apache-2.0
View repository →

Search bills, legislators, committees, and events across all 50 US states, DC, and 5 US territories.

1
TypeScript
Apache-2.0
View repository →

Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.

2
TypeScript
Apache-2.0
View repository →

Researcher profiles, works, affiliations, funding, and peer reviews from the ORCID registry.

2
TypeScript
View repository →

Query OSV.dev for package vulnerabilities and batch-audit dependency lists via MCP.

1
TypeScript
Apache-2.0
View repository →

Offline global aviation reference — airports, runways, navaids, frequencies from OurAirports.

1
TypeScript
Apache-2.0
View repository →