
Openfoodfacts Mcp Server
Connect your agent to Open Food Facts for barcode lookup, nutrition search, and side-by-side product comparison in health or retail apps.
Overview
Open Food Facts MCP Server is a MCP server for the Build phase that looks up barcodes, searches nutrition data, and compares products from the Open Food Facts catalog.
What is this MCP server?
- Barcode lookup, nutrition search, and product comparison against 3M+ crowd-sourced food products
- Configurable OFF_BASE_URL for mocks or regional Open Food Facts hosts
- Documented rate limits: OFF_RATE_LIMIT_PRODUCT default 100 req/min, OFF_RATE_LIMIT_SEARCH default 10 req/min
- stdio (Bun @cyanheads/openfoodfacts-mcp-server) plus hosted streamable-http remote
- Version 0.1.3 with environment-driven tuning for logs and throttling
- 3M+ crowd-sourced food products (catalog scope per server description)
- Default OFF_RATE_LIMIT_PRODUCT: 100 requests/min; OFF_RATE_LIMIT_SEARCH: 10 requests/min
- Server version 0.1.3
Community signal: 1 GitHub stars.
What problem does it solve?
Your nutrition or shopping app needs Open Food Facts data in the agent workflow, but barcode and search endpoints are easy to misconfigure and hit rate limits.
Who is it for?
Solo builders shipping scanner apps, diet tools, or grocery comparators who want Open Food Facts inside Claude Code or Cursor during integration work.
Skip if: Products requiring certified nutritional labeling, offline-only catalogs, or proprietary retailer inventory without Open Food Facts coverage.
What do I get? / Deliverables
Your agent returns product and nutrition results from 3M+ entries while you control base URL and per-minute rate limits via env vars.
- Agent tools for product search, barcode resolution, and comparisons
- Configurable connection to world.openfoodfacts.org (or custom base URL)
Recommended MCP Servers
Journey fit
Food catalog integrations land in Build when you wire real product APIs into scanners, label tools, or comparison features. Integrations is the right shelf for MCP bridges that call external nutrition and barcode APIs from the agent.
How it compares
MCP bridge to Open Food Facts, not a mobile SDK or a curated food skill pack.
Common Questions / FAQ
Who is Open Food Facts MCP Server for?
Developers building agent-assisted food, health, or retail apps who need barcode and nutrition queries without custom API glue each sprint.
When should I use Open Food Facts MCP Server?
During Build integrations when wiring barcode scan flows, nutrition search, or product comparison features to live Open Food Facts data.
How do I add Open Food Facts MCP Server to my agent?
Run @cyanheads/openfoodfacts-mcp-server with Bun/npm over stdio, optionally set OFF_BASE_URL and rate-limit env vars, register in your MCP client, or use the public streamable-http endpoint.