Nutrients MCP server
io.github.ericblair1903/nutrients-mcp·v1.0.3Analyze food photos or text for calories, macros, vitamins, minerals, and allergens.
0 stars22 downloads/wk
Reviews
Write oneNobody has reviewed Nutrients yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Nutrients tools (2)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
analyze_foodGet detailed nutritional information for a food item by name or description (no image needed). Returns calories, macros, vitamins, minerals, allergens, and dietary flags.
analyze_food_imageAnalyze a food image URL and return detailed nutritional information including calories, macros, vitamins, minerals, allergens, and dietary flags.
Public scan report
scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 47 days ago12/15
- Maintainer identityregistry namespace matches repository owner6/10
How Nutrients compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 2
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 22
- more than 8% of 12,191 servers with a package
What its tools let an agent do: 2 read
Install Nutrients in Claude Code, Cursor or VS Code
Runs npx -y nutrients-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add nutrients-mcp -- npx -y nutrients-mcp
What the publisher says
From the Nutrients repository's README, as published. We do not edit it. Read it on GitHub
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-mcpThen set your API key in the server's environment config:
TASTYAPI_KEY=YOUR_API_KEYClaude Desktop
Add to ~/Library/Application Support/Claude/claudedesktopconfig.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
analyzefoodimage
Fetches a food image from a public URL and returns a full nutritional breakdown.
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.
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
Nothing above is checked by us. What we check is on the safety report.
Nutrients: common questions
- Is Nutrients MCP server safe?
- Mostly: it is graded B (75/100). Read the Nutrients safety report
- How do I install Nutrients?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Nutrients need an API key?
- Yes. The registry entry asks for
TASTYAPI_KEY. - Is Nutrients maintained?
- The last commit was 87 days ago (2026-08-09). The latest release is v1.0.3.
- How does Nutrients compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.