MCP OpenNutrition
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP OpenNutritionwhat's the nutritional info for a medium apple?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP OpenNutrition
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
Related MCP server: Food Tracker MCP Server
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-opennutritionThen 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:

This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to access the Open Food Facts database to query detailed food product information, nutritional data, and environmental scores. Supports product lookup by barcode, smart search with filtering, nutritional analysis, product comparison, and dietary recommendations to help users make informed food choices.51MIT
- Alicense-qualityFmaintenanceEnables tracking food intake and nutrition using the USDA FoodData Central database. Supports logging meals, setting daily nutrition goals, viewing food diaries, and analyzing nutrition trends over time with local SQLite storage.131MIT
- Flicense-qualityDmaintenanceProvides intelligent access to the USDA nutrition database through AI assistants, enabling users to search foods, compare nutritional content, find foods high in specific nutrients, and query authoritative nutrition data across 7,146+ food items through natural language.1
- AlicenseAqualityDmaintenanceEnables natural language access to USDA's FoodData Central database with 1M+ foods, supporting search, nutrition facts, food comparison, and daily value calculations.8MIT
Related MCP Connectors
Barcode lookup, nutrition search, and product comparison for 3M+ crowd-sourced food products.
Personal nutrition tracking — log meals, track macros, review history, import from another app.
Nutrition MCP — wraps Open Food Facts API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deadletterq/mcp-opennutrition'
If you have feedback or need assistance with the MCP directory API, please join our Discord server