
Nutrients Mcp
io.github.ericblair1903由 GitHub 账号 ericblair1903 发布v1.0.3更新于 Oct 27, 2026
Analyze food photos or text for calories, macros, vitamins, minerals, and allergens.
概览
本地 MCP 服务器,让助手通过 TastyAPI 分析食物照片或食物名称,获取热量、宏量营养素、维生素、矿物质和过敏原信息。
- 可以做什么
- 分析公开 URL 的食物图片,返回完整营养分解
- 按名称或描述查询食物营养数据,无需图片
- 返回热量、宏量营养素、维生素、矿物质、过敏原以及纯素、无麸质等饮食标记
- 适用场景
- 适合需要让助手估算餐食、食谱或单一食材营养价值的场景,可用图片链接或文字描述,并识别过敏原与饮食适用性。
- 运行要求
- 以 npm 包形式在本地运行(npx nutrients-mcp),需要 Node.js 18 或更高版本。需要 TastyAPI API 密钥,通过环境变量 TASTYAPI_KEY 提供,密钥需在服务商定价页面获取。调用 API 和抓取图片 URL 需要网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Nutrients Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
Then set your API key in the server's environment config:
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor / Windsurf
Add to your mcp.json:
Tools
analyze_food_image
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:
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:
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
来源:README.md,提交 1a4331f
工具
0版本历史
1- v1.0.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分