Sponsored by Deepsite.site

Indian Food Nutrition Mcp - Log Indian meals with your AI using accurate data. India's official IFCT 2017 nutrition tables + USDA (8,335 foods), by text or photo. Local-first, open source.

Created By
krishnabhat8 days ago
One-line description: Log Indian meals with your AI using accurate data. India's official IFCT 2017 nutrition tables + USDA (8,335 foods), by text or photo. Local-first, open source. Long description: An MCP server that gives Claude (and soon ChatGPT) accurate Indian food data. Most calorie databases are US-centric and wrong for home-cooked Indian food. This wraps India's official Food Composition Tables (IFCT 2017, National Institute of Nutrition) plus USDA. Log by talking ("2 rotis and a katori of dal") or by photo; the model identifies the food, the database supplies the numbers (no LLM guessing), and your history feeds back so the AI can coach you against what you actually ate. Local SQLite, no account, no telemetry. AGPL-3.0. Tools: search_food, log_meal, get_day, get_history, edit_entry, delete_entry, fetch_image
Overview

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_history returns 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)

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"

Tools

ToolWhat it does
search_foodSearch 8,300+ foods (IFCT + USDA), per-100g cal/protein/carb/fat/fiber
log_mealLog items with mandatory qty + household unit; DB-derived macros
get_dayA day's log + totals
get_historyPer-day totals over a range, the AI-coaching context block
edit_entry / delete_entryFix mistakes so history stays honest
fetch_imagePull a food photo from a URL so the model can see and log it

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/ifct2017 package, AGPL)
  • USDA FoodData Central, SR Legacy
  • Indian Nutrient Databank (Jaacks Lab), code support, data pending license

Server Config

{
  "mcpServers": {
    "nutrition": {
      "command": "npx",
      "args": [
        "-y",
        "indian-food-nutrition-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
ChatWiseThe second fastest AI chatbot™
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
CursorThe AI Code Editor
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Tavily Mcp
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
WindsurfThe new purpose-built IDE to harness magic