Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Openfoodfacts MCP Server
Openfoodfacts MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 7:20:38 PM

Openfoodfacts MCP Server

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "openfoodfacts-mcp-server": {
      "command": "bunx",
      "args": [
        "@cyanheads/openfoodfacts-mcp-server@latest"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

@cyanheads/openfoodfacts-mcp-server

Look up food products by barcode, search by ingredient or nutrition filter, compare products side-by-side, and browse the canonical tag vocabulary via MCP. STDIO or Streamable HTTP.

4 Tools

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework

Public Hosted Server: https://openfoodfacts.caseyjhand.com/mcp


Tools

Four tools for working with Open Food Facts β€” a free, crowd-sourced database of 3M+ packaged food products:

ToolDescription
off_get_productFetch a packaged food product by barcode. Returns name, brand, quantity, ingredients, allergens, additives, Nutri-Score, NOVA group, Green-Score, nutrition per 100g/serving, categories, labels, and data completeness.
off_search_productsSearch by text query and/or structured tag filters (category, brand, label, allergen, additive, Nutri-Score grade, NOVA group, country). Returns summary rows with barcodes for follow-up lookups.
off_compare_productsSide-by-side nutrition and scoring comparison for 2–10 products by barcode. Returns a normalized table of energy, macros, salt, Nutri-Score, NOVA, and Green-Score.
off_browse_taxonomyResolve a human term to the canonical tag ID (categories, labels, allergens, additives, countries, NOVA groups, Nutri-Score grades) that off_search_products filters on, against the live Open Food Facts taxonomy.

off_get_product

Fetch a packaged food product by barcode (EAN-13 or UPC).

  • Accepts 8–14 digit barcodes (EAN-13, EAN-8, UPC-A, UPC-E)
  • Returns ingredients (raw text and parsed list with percent estimates, vegan/vegetarian flags), all 14 major allergens as tag IDs, E-number additives, Nutri-Score a–e, NOVA 1–4, Green-Score/Eco-Score, every nutrient Open Food Facts holds per 100g and per serving, the serving size those per-serving figures are measured against, categories/labels/packaging/origins as canonical tag IDs, front image URL, and data completeness score (0–1)
  • Optional fields parameter restricts the response to a subset (e.g., scores only, or nutrition only)
  • Open Food Facts is crowd-sourced β€” a missing field means "not yet entered by contributors," not that the attribute is absent from the actual product
  • A barcode no contributor has recorded raises the not_found error carrying a recovery hint β€” it is never returned as an empty result

off_search_products

Search Open Food Facts by text and/or structured tag filters.

  • Full-text search across product names, brands, and ingredients
  • Structured filters: categories_tag, brands_tag, labels_tag, allergens_tag, additives_tag, nutrition_grade (a–e), nova_group (1–4), countries_tag
  • Text query and tag filters combine β€” a query with filters returns products that match the text and satisfy every filter (e.g., query: "dark chocolate" + labels_tag: en:organic + countries_tag: en:france)
  • All filter values are canonical tag IDs β€” use off_browse_taxonomy to resolve human terms (e.g., "organic" β†’ en:organic). brands_tag takes a brand slug and matches it exactly; open-ended brand wording belongs in query
  • additives_tag filters only on searches with no text query β€” the text backend does not index additives, so pairing the two is rejected up front rather than returning an empty result set that looks like "no such product"
  • Pagination via page (1-based) and page_size (1–50, default 20)
  • total is exact on tag-only searches. Text searches stop counting at 10,000 matches, and when that ceiling is hit the response says so with total_is_lower_bound: true and renders the count as 10000+ β€” add filters for an exact figure
  • Searches carrying a text query serve only the first 10,000 results β€” a deeper page * page_size is rejected up front with the highest reachable page, not sent and retried. Tag-only searches publish no window, but deep pages are refused unpredictably, so narrowing the filters beats paging far in
  • Returns summary rows (barcode, name, brand, Nutri-Score, NOVA, categories) β€” use off_get_product for full label data
  • Result counts reflect contributed products, not total products on the market
  • Search limited to ~10 requests/min by this server's own client-side budget, kept well inside what Open Food Facts asks of clients

off_compare_products

Side-by-side nutrition and scoring comparison for 2–10 barcodes.

  • Accepts 2–10 barcodes, compared in the order provided
  • Returns a normalized comparison table: energy (kcal/100g), fat, saturated fat, sugars, salt, protein, fiber, Nutri-Score, NOVA group, and Green-Score
  • Missing nutrition data is preserved as null β€” comparisons are not imputed or estimated
  • not_found list identifies barcodes with no contributor record (partial results are not an error)
  • failed list identifies barcodes whose fetch failed, with the per-barcode reason β€” kept separate from not_found, which claims the opposite. A failed barcode never blocks the rows that resolved

off_browse_taxonomy

Resolve a human term to the canonical Open Food Facts tag ID before building off_search_products filters.

  • Facets: categories, labels, allergens, additives, countries, nova_groups, nutrition_grades
  • With a search term, the five open facets resolve against the live Open Food Facts taxonomy β€” tens of thousands of category tags, not a fixed local list. Matching is case-insensitive substring against tag ID or display name (e.g., "gluten" β†’ en:no-gluten, en:gluten-free)
  • Upstream tags are often plural ("kombucha" β†’ en:kombuchas) β€” pass the returned id through unchanged rather than constructing one
  • nova_groups and nutrition_grades are closed vocabularies answered offline and returned complete. Their IDs are bare (1–4, a–e), matching what off_search_products accepts
  • Live results are merged behind an in-process sample that also serves offline operation. If Open Food Facts is unreachable or the taxonomy budget is spent, the tool answers from that sample and says so rather than failing β€” an empty result is never presented as an authoritative "no such tag"
  • Omitting search lists only the offline sample. The upstream taxonomy endpoint suggests against a term and cannot enumerate a facet, so an unfiltered call is not a view of the full vocabulary and reports no facet total
  • limit controls results returned (1–100, default 20). There is no offset or page input β€” the upstream endpoint offers no cursor, so narrow the term instead
  • Taxonomy lookups carry their own ~10 requests/min client-side budget, separate from the search budget

Features

Built on @cyanheads/mcp-ts-core:

  • Declarative tool definitions β€” single file per tool, framework handles registration and validation
  • Unified error handling β€” handlers throw, framework catches, classifies, and formats
  • Pluggable auth: none, jwt, oauth
  • Swappable storage backends: in-memory, filesystem, Supabase, Cloudflare KV/R2/D1
  • Structured logging with optional OpenTelemetry tracing
  • STDIO and Streamable HTTP transports

Open Food Facts-specific:

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Wellness Nourish logoWellness Nourish

    Local-first nutrition MCP for AI agents: food, barcode, photo, intake, hydration, goals.

    πŸ’» Developer Tools0 views
    Compare vs Wellness Nourish β†’
  • T
    Tldraw

    Draw and visually collaborate with your agents on tldraw's canvas.

    πŸ’» Developer Tools0 views
    Compare vs Tldraw β†’
  • Fatsecret MCP logoFatsecret MCP

    MCP server for FatSecret API - food search, nutrition, diary, recipes, weight tracking (unofficial)

    πŸ’» Developer Tools0 views
    Compare vs Fatsecret MCP β†’
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Openfoodfacts MCP Server

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "openfoodfacts-mcp-server": { "command": "npx", "args": ["-y", "openfoodfacts-mcp-server"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpenfoodfacts MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/openfoodfacts-mcp-server?style=directory)](https://allmcps.com/mcp/openfoodfacts-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/openfoodfacts-mcp-server"><img src="https://allmcps.com/api/badge/openfoodfacts-mcp-server?style=directory" alt="Openfoodfacts MCP Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
36Quality signal: Fair Β· 36/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 1h ago via OSV.dev Β· @cyanheads/openfoodfacts-mcp-server@latest (npm)

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Openfoodfacts MCP Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code