2,500+ MCP servers ready to use
Vinkius
M

Bring Nutritional Data
to Mastra AI

Open Food Facts MCP Server · 2 tools available to AI Agents

Scan Food BarcodeSearch Food Products

What is the Open Food Facts MCP Server?

The Open Food Facts MCP Server connects your AI agent to the world's largest open food product database — over 2 million products from 150+ countries.

Core Capabilities

  • Barcode Scanner — Instantly look up any packaged food product by its EAN/UPC barcode to get complete nutritional information.
  • Product Search — Find products by name, brand, or category across the entire global database.
  • Nutri-Score — Official A-to-E nutritional quality grading used across Europe.
  • NOVA Classification — Food processing level indicator (1=unprocessed to 4=ultra-processed).
  • Allergen Detection — Comprehensive allergen warnings including gluten, dairy, nuts, soy, and more.
Zero authentication required. Open source, community-driven data. Essential for health apps, dietary assistants, and grocery shopping tools.

Built-in capabilities (2)

scan_food_barcode

Returns Nutri-Score, NOVA classification, full macronutrient profile, allergens, and ingredient list. Scan a food product barcode to get complete nutritional and allergen information

search_food_products

Returns nutritional information, Nutri-Score grades, NOVA processing levels, and allergen data for each product. Search the Open Food Facts database for packaged food products

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and Open Food Facts tool infrastructure. Connect 2 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Open Food Facts without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every Open Food Facts tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

Open Food Facts in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

Open Food Facts and 2,500 other MCP servers. One platform. One governance layer.

Teams that connect Open Food Facts to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

2,500+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself2,500+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for Open Food Facts in Mastra AI

The Open Food Facts MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 2 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

Open Food Facts
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures Open Food Facts for Mastra AI

Every tool call from Mastra AI to the Open Food Facts MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

What is Nutri-Score?

Nutri-Score is a front-of-pack nutrition label that rates food products from A (healthiest) to E (least healthy). It's widely used across Europe and helps consumers make informed dietary choices at a glance.

02

What is the NOVA classification?

The NOVA classification assigns a score from 1 to 4 depending on how much a food is processed. 1 means unprocessed/minimally processed foods, while 4 indicates ultra-processed food and drink products.

03

Is the allergen data reliable?

The allergen data is derived from product labels uploaded by contributors. While extensive, you should always double-check physical packaging for severe allergies as formulations can change.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Give your AI agents the power of Open Food Facts MCP Server

Production-grade Open Food Facts MCP Server. Verified, monitored, and maintained by Vinkius. Ready for your AI agents — connect and start using immediately.