OpenNutrition
FreeNot checkedProvides access to OpenNutrition's 300,000+ food database with tools for searching foods by name, browsing paginated lists, retrieving detailed nutritional info
About
Provides access to OpenNutrition's 300,000+ food database with tools for searching foods by name, browsing paginated lists, retrieving detailed nutritional information by ID, and looking up products via EAN-13 barcodes for recipe analysis and dietary planning.
README
A Model Context Protocol (MCP) server providing access to the comprehensive OpenNutrition food database with 300,000+ food items, nutritional data, and barcode lookups.
OpenNutrition addresses the longstanding issues with fragmented and unreliable nutritional data by combining authoritative public sources (USDA, CNF, FRIDA, AUSNUT). Unlike other databases that suffer from inconsistent user-generated content or restrictive commercial licensing, OpenNutrition provides transparent, comprehensive, and accurate nutritional data that's freely accessible to developers and researchers.
Tools
- Search by Name: Find foods by name, brand, or partial matches
- Browse Foods: Get paginated lists of all available foods
- Get by ID: Retrieve detailed nutritional information using food IDs
- Barcode Lookup: Find foods using EAN-13 barcodes
Installation
Docker (recommended)
The easiest way to run the server is via Docker. No build steps required.
Run the container:
docker run --rm -p 9113:3000 deadletterq/mcp-opennutrition
Then add to your MCP configuration:
"mcp-opennutrition": {
"type": "streamable-http",
"url": "http://localhost:9113"
}
From source
Install dependencies:
npm installBuild the project:
npm run buildAdd to your MCP configuration (set the same version of node that you used to build the project):
"mcp-opennutrition": { "command": "/Users/YOUR.USERNAME/.nvm/versions/node/v20.19.0/bin/node", "args": [ "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-opennutrition/build/index.js" ] }
Data Source
This server uses the OpenNutrition dataset.
The dataset provides comprehensive nutritional profiles including macronutrients, vitamins, and minerals.
Usage
Once configured, the MCP server runs fully locally on your machine and automatically provides food and nutrition query capabilities to Claude/Cline. All data processing and queries happen locally with no external API calls, ensuring privacy and fast response times.
Example
Here is an example of how Claude uses the tool for a brownie recipe:

Install OpenNutrition in Claude Desktop, Claude Code & Cursor
unyly install opennutritionInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add opennutrition -- npx -y github:deadletterq/mcp-opennutritionStep-by-step: how to install OpenNutrition
FAQ
Is OpenNutrition MCP free?
Yes, OpenNutrition MCP is free — one-click install via Unyly at no cost.
Does OpenNutrition need an API key?
No, OpenNutrition runs without API keys or environment variables.
Is OpenNutrition hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install OpenNutrition in Claude Desktop, Claude Code or Cursor?
Open OpenNutrition on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
by wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
by madhurprashPostgres
Query your database in natural language
by AnthropicPostgreSQL
Read-only database access with schema inspection.
by modelcontextprotocolRedis
Interact with Redis key-value stores.
by modelcontextprotocolSQLite
Database interaction and business intelligence capabilities.
by modelcontextprotocolmxcp
Open-source framework for building enterprise-grade MCP servers using just YAML, SQL, and Python, with built-in auth, monitoring, ETL and policy enforcement.
by raw-labstadas-github/a2asearch-mcp
MCP server to search 4,800+ MCP servers, AI agents, CLI tools and agent skills. Install: npx -y a2asearch-mcp. Ask Claude: "Find MCP servers for database access
by tadas-githubjulien040/anyquery
Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by desi
by julien040drakonkat/wizzy-mcp-tmdb
A MCP server for The Movie Database API that enables AI assistants to search and retrieve movie, TV show, and person information.
by drakonkatCompare OpenNutrition with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All data MCPs
