io.github.cyanheads/openfoodfacts-mcp-server
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.
Is this your project? Claim this entry to answer questions, hear about reviews and appear as the author.
- Repository
- github.com/cyanheads/openfoodfacts-mcp-server
- Server address
https://openfoodfacts.caseyjhand.com/mcp(streamable-http)- Version
- 0.5.0
- Author
- cyanheads (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 25, 2026)
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Questions for the author
No question yet.
Sign in to ask the author a question. The author has not claimed this entry yet: they will only be told if they claim it. Other members can answer.
How to install it
Variables to fill in: OFF_BASE_URL, OFF_RATE_LIMIT_PRODUCT, OFF_RATE_LIMIT_SEARCH, OFF_RATE_LIMIT_TAXONOMY, MCP_LOG_LEVEL.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http openfoodfacts-mcp-server https://openfoodfacts.caseyjhand.com/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://openfoodfacts.caseyjhand.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://openfoodfacts.caseyjhand.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"url": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"openfoodfacts-mcp-server": {
"type": "http",
"url": "https://openfoodfacts.caseyjhand.com/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add openfoodfacts-mcp-server -e OFF_BASE_URL=YOUR_OFF_BASE_URL -e OFF_RATE_LIMIT_PRODUCT=YOUR_OFF_RATE_LIMIT_PRODUCT -e OFF_RATE_LIMIT_SEARCH=YOUR_OFF_RATE_LIMIT_SEARCH -e OFF_RATE_LIMIT_TAXONOMY=YOUR_OFF_RATE_LIMIT_TAXONOMY -e MCP_LOG_LEVEL=YOUR_MCP_LOG_LEVEL -- npx -y @cyanheads/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"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"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"openfoodfacts-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"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"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"openfoodfacts-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/[email protected]"
],
"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"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:12 (test run by L’Atlas)
- Response time
- 1,373 ms (whole test)
- Tools found
- 4
- Announced name
- openfoodfacts-mcp-server 0.5.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (4)
off_get_product
Fetch a packaged food product by barcode (4–40 digits: EAN-13, EAN-8, UPC, and the shorter and longer codes Open Food Facts also holds) from Open Food Facts. Returns the product name and generic name, brand, quantity, ingredients (raw textoff_search_products
Search Open Food Facts by full-text query, structured tag filters, or both at once. Returns a summary list with barcodes, product names, brands, quantity (which tells pack sizes of one product apart), Nutri-Score, NOVA group, Green-Score, coff_compare_products
Side-by-side nutrition and scoring comparison for 2–10 products per call by barcode; a repeated barcode is compared once, so two identical barcodes yield one row, and barcodes past the 10th distinct one are listed in unprocessed rather thanoff_browse_taxonomy
Resolve a human term to the canonical Open Food Facts tag ID that off_search_products filters on. Covers categories, labels/certifications, allergens, additives, countries, ingredients, NOVA groups, and Nutri-Score grades. Pass a search ter
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Cite this entry
For an article or comparison, use this permanent link and include the test date. The description comes from its source; reviews belong to members. A successful test is not a security audit.
io.github.cyanheads/openfoodfacts-mcp-server · L’Agora · Tested on
[io.github.cyanheads/openfoodfacts-mcp-server — L’Agora](https://lagora.dev/en/entry/io.github.cyanheads/openfoodfacts-mcp-server)
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.cyanheads/openfoodfacts-mcp-server)HTML
<a href="https://lagora.dev/en/entry/io.github.cyanheads/openfoodfacts-mcp-server"><img src="https://lagora.dev/badge/io.github.cyanheads/openfoodfacts-mcp-server.svg?lang=en" alt="io.github.cyanheads/openfoodfacts-mcp-server on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.
By the same author
io.github.cyanheads/clinicaltrialsgov-mcp-server Responds
io.github.cyanheads/openlibrary-mcp-server Responds
io.github.cyanheads/arxiv-mcp-server Responds