nutrition-mcp
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., "@nutrition-mcplog 2 servings of oatmeal for breakfast"
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.
nutrition-mcp
USDA FoodData Central MCP server for nutrition lookup, meal logging, and daily macro tracking.
Setup
Get a free API key at https://fdc.nal.usda.gov/api-key-signup
Set
USDA_API_KEYenvironment variable (or it falls back toDEMO_KEY)
cp .env.example .env
# Edit .env with your keyRelated MCP server: nutrition-mcp
Usage
node src/server.js # stdio MCP serverTools
nutrition
Action | Description | Key Params |
| Search foods by name |
|
| Full nutrition details |
|
| Side-by-side macro comparison |
|
meal_log
Action | Description | Key Params |
| Log a food eaten |
|
| List entries for a date |
|
| Remove an entry |
|
| Macro totals for a day |
|
| Weekly averages |
|
targets
Action | Description | Key Params |
| Set daily macro targets |
|
| View current targets | — |
| Progress vs targets |
|
Architecture
src/
server.js — MCP stdio server
usda-client.js — USDA API client with 24h cache
meal-log.js — Local meal log storage (~/.nutrition-mcp/logs/)
targets.js — Macro targets storage (~/.nutrition-mcp/targets.json)
tools/
nutrition.js — nutrition tool handler
meal-log.js — meal_log tool handler
targets.js — targets tool handler
test/
server.test.js — Unit testsTesting
npm testLicense
MIT © Aaron Sachs
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
- AlicenseAqualityAmaintenanceA local-first nutrition MCP server for food search, barcode lookup, meal estimation, intake logging, hydration, and nutrition coaching workflows.462628MIT
- Flicense-qualityBmaintenanceLocal-first nutrition tracker MCP server for Hermes, enabling food, alias, recipe, and meal log management with SQLite persistence.
- Alicense-qualityBmaintenanceTracks macros and logs meals via plain language by exposing a local USDA food database as an MCP server.MIT
- AlicenseAqualityBmaintenanceMCP server for Cronometer nutrition tracking using the mobile API. Enables food logging, nutrition data retrieval, diary management, and fasting tracking.13MIT
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
MCP server for medicare-coverage
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/asachs01/nutrition-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server