io.github.cyanheads/openfoodfacts-mcp-server

io.github.cyanheads/openfoodfacts-mcp-server

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "openfoodfacts-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/openfoodfacts-mcp-server@0.4.3"
      ],
      "env": {
        "OFF_BASE_URL": "https://world.openfoodfacts.org",
        "OFF_RATE_LIMIT_PRODUCT": "15",
        "OFF_RATE_LIMIT_SEARCH": "10",
        "OFF_RATE_LIMIT_TAXONOMY": "10",
        "MCP_LOG_LEVEL": "info"
      }
    }
  }
}
Environment variables
  • OFF_BASE_URLOpen Food Facts API base URL override. Useful for testing against a mock server.
  • OFF_RATE_LIMIT_PRODUCTProduct read rate limit (requests/min). Matches the 15 req/min/IP Open Food Facts documents for product reads.
  • OFF_RATE_LIMIT_SEARCHSearch rate limit (requests/min).
  • OFF_RATE_LIMIT_TAXONOMYTaxonomy 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_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.4.3
Registry
active
Published
11/3/2026

Remotes

  • streamable-httphttps://openfoodfacts.caseyjhand.com/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.cyanheads/openfoodfacts-mcp-server is listed here — it’s also the link we check for a free listing.

io.github.cyanheads/openfoodfacts-mcp-server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-cyanheads-openfoodfacts-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.cyanheads/openfoodfacts-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.cyanheads/openfoodfacts-mcp-server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-cyanheads-openfoodfacts-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.