Food & Nutrition
Food and nutrition data: search, macros, and comparisons
Should I use this
Quality & Safety
A
Findings (1)
- LOWin compare_foods
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
~317Tokens (tool definitions)
~813 BTypical response size
Minimal attention impact (0.25% of 128k context)
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"food": {
"url": "https://food.memoryapi.org/mcp"
}
}
}Remote endpoints
https://food.memoryapi.org/mcpstreamable-httpWhat it can do
Tool inventory
Tools (3)
🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢search_food(q, limit, dataType, brand)
Search USDA FoodData Central for foods by name. Returns nutrition macros for matching foods.
Input Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Food name to search (e.g. \"chicken breast\", \"avocado\")",
"default": "chicken breast"
},
"limit": {
"type": "number",
"description": "Number of results (max 25)",
"default": 10
},
"dataType": {
"type": "string",
"description": "Filter by data type: Foundation, SR Legacy, Survey (FNDDS), Branded"
},
"brand": {
"type": "string",
"description": "Filter by brand owner"
}
}
}🟢get_nutrition(fdc_id, format)
Get full nutrition profile for a specific food by USDA FDC ID. Returns macros, vitamins, and minerals.
Input Schema
{
"type": "object",
"properties": {
"fdc_id": {
"type": "string",
"description": "USDA FoodData Central ID (e.g. 173950 = avocado raw)",
"default": "173950"
},
"format": {
"type": "string",
"description": "abridged or full",
"default": "abridged"
}
}
}⚪compare_foods(ids)
Compare nutrition profiles of multiple foods side-by-side. Identifies winners by protein and calorie density.
Input Schema
{
"type": "object",
"properties": {
"ids": {
"type": "string",
"description": "Comma-separated USDA FDC IDs (e.g. \"173950,2187885,1103516\")",
"default": "173950,2187885,1103516"
}
}
}Recommended Prompts
search_research
Search for information about [topic] using Food & Nutrition
Expected tools:
search_foodfind_specific
Find [specific item] using Food & Nutrition
Expected tools:
search_foodretrieve_data
Get details about [item] from Food & Nutrition
Expected tools:
get_nutritionfetch_info
Fetch [information type] using Food & Nutrition
Expected tools:
get_nutritionresearch_workflow
Search for [topic], then get detailed information about the top results using Food & Nutrition
Expected tools:
search_foodget_nutritionCommunity
Evidence
Recent observations
verifiedversion not recorded3 tools
verifiedversion not recorded3 tools