Bring Nutritional Data
to Vercel AI SDK
Open Food Facts MCP Server · 2 tools available to AI Agents
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.
Built-in capabilities (2)
Returns Nutri-Score, NOVA classification, full macronutrient profile, allergens, and ingredient list. Scan a food product barcode to get complete nutritional and allergen information
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 Vercel AI SDK?
The Vercel AI SDK gives every Open Food Facts tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 2 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Open Food Facts integration everywhere
- —
Built-in streaming UI primitives let you display Open Food Facts tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Open Food Facts in Vercel AI SDK
Open Food Facts and 2,500 other MCP servers. One platform. One governance layer.
Teams that connect Open Food Facts to Vercel AI SDK 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.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 2,500+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Open Food Facts in Vercel AI SDK
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 Vercel AI SDK 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.

* 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
How Vinkius secures
Open Food Facts for Vercel AI SDK
Every tool call from Vercel AI SDK to the Open Food Facts MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
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.
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.
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.
How does the Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Connect Open Food Facts with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
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.
