Server data from the Official MCP Registry
Analyze food photos or text for calories, macros, vitamins, minerals, and allergens.
About
Analyze food photos or text for calories, macros, vitamins, minerals, and allergens.
Security Report
This MCP server is well-structured with proper authentication and appropriate permissions for its stated purpose. The server requires a TastyAPI key for all operations, validates inputs, and makes only expected network calls to the TastyAPI service. No malicious patterns, hardcoded credentials, or dangerous operations were detected. Minor code quality improvements around input validation could be made but do not present security risks. Supply chain analysis found 1 known vulnerability in dependencies (0 critical, 1 high severity). Package verification found 1 issue.
3 files analyzed · 5 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: TASTYAPI_KEY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ericblair1903-nutrients-mcp": {
"env": {
"TASTYAPI_KEY": "your-tastyapi-key-here"
},
"args": [
"-y",
"nutrients-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
nutrients-mcp
Give your AI assistant the ability to analyze food images and look up nutrition data for any food — calories, macros, vitamins, minerals, allergens, and dietary flags in under 1 second — powered by TastyAPI. Much faster and more accurate than Gemini and GPT-4 Vision (4-10 seconds).
Requirements
- Node.js 18+
- A TastyAPI API key — get one at tastyapi.com/pricing
Quick Start
Claude Code
claude mcp add nutrients -- npx -y nutrients-mcp
Then set your API key in the server's environment config:
TASTYAPI_KEY=YOUR_API_KEY
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"nutrients": {
"command": "npx",
"args": ["-y", "nutrients-mcp"],
"env": { "TASTYAPI_KEY": "YOUR_API_KEY" }
}
}
}
Cursor / Windsurf
Add to your mcp.json:
{
"mcpServers": {
"nutrients": {
"command": "npx",
"args": ["-y", "nutrients-mcp"],
"env": { "TASTYAPI_KEY": "YOUR_API_KEY" }
}
}
}
Tools
analyze_food_image
Fetches a food image from a public URL and returns a full nutritional breakdown.
| Parameter | Type | Required | Description |
|---|---|---|---|
image_url | string | yes | Public URL of a food image to analyze |
Example prompt:
"What are the macros in this meal? https://example.com/pasta.jpg"
Example output:
{
"food_name": "Pasta Bolognese",
"calories": 520,
"macros": {
"protein_g": 24,
"carbohydrates_g": 68,
"fat_g": 16,
"fiber_g": 4
},
"vitamins": { "vitamin_c_mg": 8, "vitamin_b12_mcg": 1.4 },
"minerals": { "iron_mg": 3.2, "calcium_mg": 60 },
"allergens": ["gluten", "dairy"],
"dietary": { "vegan": false, "vegetarian": false, "gluten_free": false }
}
analyze_food
Returns a full nutritional breakdown for a food item by name or description. No image required.
| Parameter | Type | Required | Description |
|---|---|---|---|
food_name | string | yes | Name or description of the food (e.g. "oatmeal with banana, 1 cup") |
Example prompt:
"How many calories are in a large avocado?"
Example output:
{
"food_name": "Large Avocado",
"calories": 322,
"macros": {
"protein_g": 4,
"carbohydrates_g": 17,
"fat_g": 29,
"fiber_g": 13
},
"vitamins": { "vitamin_k_mcg": 42, "folate_mcg": 163 },
"minerals": { "potassium_mg": 975, "magnesium_mg": 58 },
"allergens": [],
"dietary": { "vegan": true, "vegetarian": true, "gluten_free": true }
}
Pricing
- $0.015 per request + $5/month base fee (usage-based)
- Or choose a flat-rate plan: Monthly ($29/mo · 5k calls) or Professional ($69/mo · 15k calls)
See tastyapi.com/pricing for full details.
License
MIT — © EB Tech LLC
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
