Indian-accurate nutrition logging for your AI: IFCT 2017 + USDA, by text or photo.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"nutrition": {
"command": "indian-food-nutrition-mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Your AI assistant can finally count Indian food calories correctly.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'indian-food-nutrition-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked indian-food-nutrition-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in health
MCP server for the ClinicalTrials.gov v2 API. Search trials, retrieve study details and results, and match patients to eligible trials.
Search and contribute to the Open Food Facts database.
FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.
A macOS Model Context Protocol (MCP) server that acts as the central nervous system for your AI agent. Bridges Calendar, Reminders, Notes, and Health data using a hybrid Python + Swift architecture.
MCP Security Weekly
Get CVE alerts and security updates for io.github.krishnabhat/indian-food-nutrition-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
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.
fetch_image).get_history returns your real intake so the model can
coach you ("your protein is low on training days") against data, not vibes.~/.nutrition-mcp/meals.csv. No account, no cloud, no telemetry.npm install -g indian-food-nutrition-mcp
Add to claude_desktop_config.json (Settings → Developer → Edit Config):
{
"mcpServers": {
"nutrition": {
"command": "indian-food-nutrition-mcp"
}
}
}
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"
| Tool | What it does |
|---|---|
search_food | Search 8,300+ foods (IFCT + USDA), per-100g cal/protein/carb/fat/fiber |
log_meal | Log items with mandatory qty + household unit; DB-derived macros |
get_day | A day's log + totals |
get_history | Per-day totals over a range, the AI-coaching context block |
edit_entry / delete_entry | Fix mistakes so history stays honest |
fetch_image | Pull a food photo from a URL so the model can see and log it |
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.
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.
~/.nutrition-mcp/nutrition.db (SQLite, WAL) + ~/.nutrition-mcp/meals.csv
(auto-maintained mirror). Override with NUTRITION_DB_PATH / NUTRITION_CSV_PATH.
@nodef/ifct2017 package, AGPL)