MCP Server — Food Intelligence for AI Assistants

Give your AI assistant the ability to analyze food images and retrieve full nutritional data — calories, macros, vitamins, allergens, and more — with a single tool call.

Installation

Terminal
claude mcp add nutrients -- npx -y nutrients-mcp

Then add your key to the server environment:

TASTYAPI_KEY=YOUR_API_KEY
~/Library/Application Support/Claude/claude_desktop_config.json
{ "mcpServers": { "nutrients": { "command": "npx", "args": ["-y", "nutrients-mcp"], "env": { "TASTYAPI_KEY": "YOUR_API_KEY" } } } }
mcp.json
{ "mcpServers": { "nutrients": { "command": "npx", "args": ["-y", "nutrients-mcp"], "env": { "TASTYAPI_KEY": "YOUR_API_KEY" } } } }

Available Tools

analyze_food_image

Fetches a food image from a public URL and returns complete nutritional analysis — calories, macros, vitamins, minerals, allergens, and dietary flags.

Parameter Type Description
image_url string Public URL of a food image to analyze
Example output
{ "food_name": "Grilled Chicken Salad", "calories": 320, "macros": { "protein_g": 34, "carbohydrates_g": 12, "fat_g": 14, "fiber_g": 4 }, "vitamins": { "vitamin_c_mg": 18, "vitamin_a_iu": 2200 }, "minerals": { "calcium_mg": 90, "iron_mg": 2.1 }, "allergens": [], "dietary": { "vegan": false, "vegetarian": false, "gluten_free": true } }

analyze_food

Returns complete nutritional data for a food item by name or description. No image needed — just describe the food in plain text.

Parameter Type Description
food_name string Name or description of the food (e.g. "grilled chicken 200g", "large apple")

Pricing

$0.015 per request
+ $5/month base fee — or choose a flat-rate plan

Usage-based billing means you only pay for what you use. For high-volume workloads, our Monthly ($29/mo) and Professional ($69/mo) flat-rate plans offer better value.

View all plans

Ready to get started?

Get an API key, add the MCP server to your AI assistant, and start analyzing food images in minutes.

Get API Key