MCP Server for OpenFoodFacts using the Parquet product database
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"openfoodfacts": {
"env": {
"ENV": "development",
"DATA_DIR": "/full/path/to/openfoodfacts-mcp-server/data",
"OPENFOODFACTS_MCP_TOKEN": "your-secret-token"
},
"args": [
"--stdio"
],
"command": "/path/to/openfoodfacts-mcp-server"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A MCP (Model Context Protocol) server that provides access to the Open Food Facts dataset using DuckDB and parquet for fast queries. Supports both local Claude Desktop integration and remote deployment with authentication.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in health
MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details and results, and match patients to eligible trials.
Search and contribute to the Open Food Facts database.
FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.
A macOS Model Context Protocol (MCP) server that acts as the central nervous system for your AI agent. Bridges Calendar, Reminders, Notes, and Health data using a hybrid Python + Swift architecture.
MCP Security Weekly
Get CVE alerts and security updates for Openfoodfacts Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A MCP (Model Context Protocol) server that provides access to the Open Food Facts dataset using DuckDB and parquet for fast queries. Supports both local Claude Desktop integration and remote deployment with authentication.

This MCP server can operate in two distinct modes:
./openfoodfacts-mcp-server --stdio./openfoodfacts-mcp-server (default mode)/health endpoint)https://github.com/user-attachments/assets/e742c4d3-a36d-46af-97b6-dcd41180b5aa
This MCP server downloads and caches the Open Food Facts Parquet dataset locally, then uses DuckDB for fast product searches. It provides two main tools:
The server automatically manages dataset updates, uses file locking for concurrent safety, and provides structured JSON logging.
This setup uses STDIO mode for local Claude Desktop integration.
script/build --simple
openfoodfacts-mcp-server --fetch-db
Add this to your Claude Desktop MCP settings (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"openfoodfacts": {
"command": "/path/to/openfoodfacts-mcp-server",
"args": ["--stdio"],
"env": {
"OPENFOODFACTS_MCP_TOKEN": "your-secret-token",
"DATA_DIR": "/full/path/to/openfoodfacts-mcp-server/data",
"ENV": "development"
}
}
}
}
Restart Claude Desktop. The mcp server will automatically start and be ready for food product queries.
This setup uses HTTP mode for remote deployment with authentication.
For production deployment (HTTP mode), configure these environment variables:
# Required: Authentication
OPENFOODFACTS_MCP_TOKEN=your-production-secret-token
# Optional: Data management
DATA_DIR=./data
PARQUET_URL=https://huggingface.co/datasets/openfoodfacts/product-database/resolve/main/product-database.parquet
REFRESH_INTERVAL_SECONDS=86400
# Optional: Server configuration
... [View full README on GitHub](https://github.com/noot-app/openfoodfacts-mcp-server#readme)