Open Food Facts
● Activeio.github.domdomegg/openfoodfacts-mcp
Search and contribute to the Open Food Facts database.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"openfoodfacts-mcp": {
"command": "npx",
"args": [
"-y",
"openfoodfacts-mcp@2.6.0"
],
"env": {
"OFF_USER_AGENT": "<your OFF_USER_AGENT>",
"OFF_PASSWORD": "<your OFF_PASSWORD>"
}
}
}
}claude mcp add --env OFF_USER_AGENT='<your OFF_USER_AGENT>' --env OFF_PASSWORD='<your OFF_PASSWORD>' --transport stdio openfoodfacts-mcp -- npx -y openfoodfacts-mcp@2.6.0codex mcp add openfoodfacts-mcp --env OFF_USER_AGENT='<your OFF_USER_AGENT>' --env OFF_PASSWORD='<your OFF_PASSWORD>' -- npx -y openfoodfacts-mcp@2.6.0code --add-mcp '{"name":"openfoodfacts-mcp","type":"stdio","command":"npx","args":["-y","openfoodfacts-mcp@2.6.0"],"env":{"OFF_USER_AGENT":"<your OFF_USER_AGENT>","OFF_PASSWORD":"<your OFF_PASSWORD>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- OFF_USER_AGENTrequiredUser-Agent string in format 'AppName/Version (email)'. Required by the Open Food Facts API.
- OFF_PASSWORDsecretOpen Food Facts password (optional, needed for write operations).
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Food, Home & Lifestyle
- Version
- 2.6.0
- Registry
- active
- Published
- 7/9/2026
Is it safe? Is it maintained?
Serverdex check: Nov 18, 2026Looks healthy: Open Food Facts is maintained, open source.
- Maintained
- Active
- Last commit 9 days ago (Nov 13, 2026), 2 open issues.
- Official registry
- Active
- Published as io.github.domdomegg/openfoodfacts-mcp in the official MCP registry, version 2.6.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 4 stars, 0 forks.
- Runs
- On your machine
- A local npm package started by your client; it can reach whatever your user account can.
- Credentials
- 5 required
- Declared environment variables: OFF_USER_AGENT, OFF_PASSWORD, MCP_TRANSPORT, OFF_USER_AGENT…. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
On GitHub
read Nov 18, 2026- Stars
- 4
- Forks
- 0
- Last push
- Nov 13, 2026
- License
- MIT
TypeScript
From the README
openfoodfacts-mcp MCP server for the Open Food Facts API - search, read, and contribute to the world's largest open food database. Use Cases Look up a product by name: "How many calories in a Sainsbury's buffalo chicken wrap?" -> searches by name, finds the product, and returns nutrition data. Look up a product by barcode: "What's in this product with barcode 3017620422003?" -> fetches Nutella's ingredients, Nutri-Score, and nutrition data. Find healthy options: "Search for breakfast cereals with Nutri-Score A" -> searches with category and nutrition grade filters. Contribute data: "Add the product name and brand for barcode 12345678" -> creates or updates a product entry on Open Food Facts. Explore the database: "What brands of organic chocolate are in the database?" -> uses autocomplete and search to explore. Setup Follow the instructions on install-mcp, which generates the right config for your MCP client (Claude Code, Claude Desktop, Cursor, Cline, VS Code, and more). Set OFFUSERAGENT to identify your app (e.g. openfoodfacts-mcp/1.2.0 (you@example.com)). For write operations (adding/editing products, uploading images), also set OFFUSERID and OFF_PASSWORD. Environment Variables Tools Contributing Pull requests are welcomed on GitHub! To get started: 1. Install Git and Node.js 2. Clone the repository 3. Install dependencies with npm install 4. Run npm run test to run tests 5. Build with npm run build Releases Versions follow the semantic versioning spec. To release: 1.…
Read the full README on GitHub →Alternatives to Open Food Facts
All Open Food Facts alternatives →Best Food, Home & Lifestyle servers →The most-starred Food, Home & Lifestyle servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| ShipSwift | 3,278 | Nov 2026 | Working |
| Anime Garden | 1,408 | Nov 2026 | Working |
| StyleKit | 876 | Nov 2026 | Working |
| HEARTH | 364 | Nov 2026 | Local / not checked |
| OpenFate Bazi MCP | 162 | Sep 2026 | Local / not checked |
Open Food Facts: questions people ask
- Is Open Food Facts a remote or a local MCP server?
- According to its entry in the official MCP registry, Open Food Facts ships as a local package (npm) that your client starts on your machine.
- Does Open Food Facts need an API key?
- Its registry entry declares 5 required environment variables: OFF_USER_AGENT, OFF_PASSWORD, MCP_TRANSPORT, OFF_USER_AGENT…. The config on this page shows where each goes.
- Is Open Food Facts safe to use?
- Looks healthy: Open Food Facts is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 5 required. Serverdex check of Nov 18, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is Open Food Facts still maintained?
- Active: the repository's last commit 9 days ago. Last push Nov 13, 2026, 4 GitHub stars, MIT licence. Read from GitHub on Nov 18, 2026.
- How do I add Open Food Facts to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from domdomegg
All 11 servers by domdomegg →- AirtableRead and write access to Airtable database schemas, tables, and records.Databases★ 456
- Computer UseControl your computer with screenshots, mouse, and keyboard automation.Media & Creative★ 406
- GmailAllow AI systems to read, send, archive, and manage emails via Gmail.Communication★ 12
- Starling BankAllow AI systems to view and control your Starling Bank account via MCP.Finance★ 8
More Food, Home & Lifestyle servers
Browse all Food, Home & Lifestyle →Asktian
douglasgan
Chinese metaphysics (bazi, qimen, 5-element) as decision-support tools for AI agents.
Charter: rent a machine by the hour
drew-dot-com
Agents rent a sandbox, a page fetcher or a Linux home by the hour. USDC on Base, x402, no account.
Cat Burglar
DrMkdaddy
Stealth browser MCP with three engines, proxy pools, remote CDP, diff observations, and benchmarks.
Droklo
Droklo
Shared household food memory: targets, foods to avoid, recipes, meal plan and a live shopping list.
Steel Brain
dryow1
Trade-verified steel grade properties, substitution verdicts, and mill-cert guidance for AI agents.
Home Renovation Free Tools
eater2
Free renovation calculators, contract templates, room planners and contractor directories (EN/PL)
Add the badge to your site
Show visitors that Open Food Facts is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-domdomegg-openfoodfacts-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Open Food Facts — 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
[](https://serverdex.io/server/io-github-domdomegg-openfoodfacts-mcp?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.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-domdomegg-openfoodfacts-mcp) [](https://serverdex.io/install/vscode/io-github-domdomegg-openfoodfacts-mcp) [](https://serverdex.io/install/claude-code/io-github-domdomegg-openfoodfacts-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-domdomegg-openfoodfacts-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-domdomegg-openfoodfacts-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-domdomegg-openfoodfacts-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).