Wraps the OpenNutrition database (300,000+ foods from USDA, CNF, FRIDA, AUSNUT) with four core operations: search by name/brand, browse paginated food lists, retrieve detailed nutrition data by ID, and barcode lookups via EAN-13. Runs fully local with Docker or Node.js, so no API keys or external calls. Reach for this when building nutrition tracking apps, recipe analyzers, or meal planning tools that need comprehensive macro/micronutrient data. The barcode lookup is solid for grocery scanning features, and the unified dataset beats dealing with fragmented nutrition APIs or unreliable crowdsourced databases.
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.
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"
}
Install dependencies:
npm install
Build the project:
npm run build
Add 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"
]
}
This server uses the OpenNutrition dataset.
The dataset provides comprehensive nutritional profiles including macronutrients, vitamins, and minerals.
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.
Here is an example of how Claude uses the tool for a brownie recipe:

hovecapital/read-only-local-postgres-mcp-server
cocaxcode/database-mcp
io.github.infoinlet-marketplace/mcp-mysql
io.github.cybeleri/database-admin
io.github.yash-0620/postgres-mcp-secured