
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 分析食物照片或食物名稱,取得熱量、三大營養素、維生素、礦物質與過敏原資訊。
- 可以做什麼
- 分析公開網址的食物圖片,回傳完整營養成分
- 依名稱或描述查詢食物營養資料,不需圖片
- 回傳熱量、三大營養素、維生素、礦物質、過敏原,以及純素、無麩質等飲食標記
- 適用情境
- 適合需要讓助理估算餐點、食譜或單一食材營養價值的場合,可用圖片連結或文字描述,並辨識過敏原與飲食適用性。
- 執行需求
- 以 npm 套件形式在本機執行(npx nutrients-mcp),需要 Node.js 18 以上版本。需要 TastyAPI API 金鑰,透過環境變數 TASTYAPI_KEY 提供,金鑰須在服務商定價頁面取得。呼叫 API 與抓取圖片網址需要網路連線。
安裝
在 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 分