
Indian Food Nutrition Mcp
io.github.krishnabhat由 GitHub 帳號 krishnabhat 發布v1.0.2更新於 Nov 3, 2026
Indian-accurate nutrition logging for your AI: IFCT 2017 + USDA, by text or photo.
概覽
本機 MCP 伺服器,讓助理查詢印度與 USDA 食物營養資料、以家常份量記錄飲食,並回顧攝取歷史。
- 可以做什麼
- 搜尋 8,300 多種食物(IFCT 2017 與 USDA),提供每 100 克的熱量、蛋白質、碳水、脂肪與纖維
- 依必填數量與家常單位(如 katori、盤、個)記錄餐點,營養值取自資料庫
- 查看某天的紀錄與合計,以及某日期範圍內每日合計,作為飲食指導脈絡
- 修改或刪除項目以更正錯誤
- 從網址抓取食物照片,讓模型查看並記錄盤中餐
- 適用情境
- 適合希望助理準確記錄印度家常菜(文字或照片)並回答今日或上週攝取情況的人。面向個人本機飲食記錄,而非臨床或多使用者情境。
- 執行需求
- 以本機程序執行,需從 npm 全域安裝此套件,並在 Claude Desktop 等桌面用戶端設定;僅支援桌面端。不需帳號、API 金鑰或環境變數。資料存於使用者主目錄下的 SQLite,可用 NUTRITION_DB_PATH 與 NUTRITION_CSV_PATH 覆寫路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Indian Food Nutrition Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
indian-food-nutrition-mcp
Your AI assistant can finally count Indian food calories correctly.
An MCP server that lets you log meals through Claude (and soon ChatGPT) in plain language: "2 rotis and a katori of dal", or just a photo of your plate. Calories and macros come from India's official food composition data (IFCT 2017, National Institute of Nutrition) plus USDA for everything else, not from US-centric databases that think a roti is a tortilla.
Why
Every popular calorie database is built on USDA data. It is inaccurate for home-cooked Indian food: wrong oils, wrong preparations, no katori, no idli. The one app with a great Indian database keeps it locked behind a subscription with no API. Meanwhile the Indian government published the real data. This project wraps it for the AI you already talk to, and gives that AI memory of what you actually ate.
- Indian-accurate: IFCT 2017, measured across six Indian regions by NIN Hyderabad. Ghee, atta, dals, regional varieties.
- Everything else too: 7,800+ USDA foods and drinks (public domain).
- Household units: log in katori, plates, pieces, cups. Quantity is mandatory; the model asks instead of guessing portions.
- Photo logging: show Claude your plate (upload or URL via
fetch_image). - Your AI gets memory:
get_historyreturns your real intake so the model can coach you ("your protein is low on training days") against data, not vibes. - Local-first and private: SQLite on your machine, plus an always-current CSV
mirror at
~/.nutrition-mcp/meals.csv. No account, no cloud, no telemetry.
Quickstart (Claude Desktop)
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
Restart Claude Desktop, then just talk:
"Log breakfast: 3 idlis and a small bowl of sambar" "How much protein have I had today?" "Here's a photo of my lunch, log it" "Look at my last week and tell me where my diet is failing"
Tools
Data and licensing
Code is AGPL-3.0-or-later. Bundled data: IFCT 2017 + USDA SR Legacy (public
domain). The INDB cooked-dish dataset (dal, dosa, idli as dishes with serving
sizes) is supported by the code but not redistributed until its authors grant
a license; generate it locally for personal use with npm run build:indb.
Full provenance: DATA_SOURCES.md.
Hosted version (ChatGPT, mobile, zero setup)
This local server works with Claude Desktop today. A hosted version, which works as a ChatGPT connector and syncs across devices, is coming. Open an issue titled "hosted" or watch releases to get in early.
Storage
~/.nutrition-mcp/nutrition.db (SQLite, WAL) + ~/.nutrition-mcp/meals.csv
(auto-maintained mirror). Override with NUTRITION_DB_PATH / NUTRITION_CSV_PATH.
Credits
- Indian Food Composition Tables 2017, National Institute of Nutrition, Hyderabad
(via the
@nodef/ifct2017package, AGPL) - USDA FoodData Central, SR Legacy
- Indian Nutrient Databank (Jaacks Lab), code support, data pending license
來源:README.md,提交 94272b1
工具
0版本歷史
1- v1.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分