# indian-food-nutrition-mcp [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/krishnabhat/indian-food-nutrition-mcp  
**GitHub Stars:** 2  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/indian-food-nutrition-mcp

## Description
Indian-accurate nutrition logging for your AI: IFCT 2017 + USDA, by text or photo.

## Tools
Capabilities this server exposes over MCP:

- **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** — Fix mistakes so history stays honest
- **fetch_image** — Pull a food photo from a URL so the model can see and log it

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/krishnabhat/indian-food-nutrition-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install -g indian-food-nutrition-mcp
```

## Documentation

## What indian-food-nutrition-mcp does

The indian-food-nutrition-mcp MCP server gives an AI assistant tools for recording and reviewing meals. Food searches cover more than 8,300 entries from the Indian Food Composition Tables 2017 (IFCT) and USDA data. Search results provide values per 100 grams for calories, protein, carbohydrates, fat, and fiber.

Meal logging requires both a quantity and a household unit. This supports entries such as pieces, cups, plates, or katoris rather than relying only on gram measurements. The server calculates nutrition from its bundled data instead of asking the model to estimate macros directly.

The server also keeps a local record of meals. An assistant can retrieve one day's entries and totals, inspect totals across a date range, or correct an existing entry. Image input is supported through a tool that retrieves a food photo from a URL so the model can inspect it before logging.

## How it works

The indian-food-nutrition-mcp MCP server runs as a local command and communicates with an MCP client over standard input and output. In Claude Desktop, the configured command is `indian-food-nutrition-mcp`; after restarting the client, meals can be described in natural language or handled from a food image URL.

`search_food` finds matching foods and their nutrient values. `log_meal` records selected items with the required quantity and household unit. `get_day` returns a day's entries and totals, while `get_history` produces daily totals for a selected range. The latter can provide an AI assistant with a data-backed view of intake over time. `edit_entry` and `delete_entry` support corrections, and `fetch_image` retrieves an image for visual review.

## Setup and configuration

Install the package globally with npm:

```bash
npm install -g indian-food-nutrition-mcp
```

Add the server to Claude Desktop's MCP configuration:

```json
{
  "mcpServers": {
    "nutrition": {
      "command": "indian-food-nutrition-mcp"
    }
  }
}
```

The default SQLite database is `~/.nutrition-mcp/nutrition.db`. The server also maintains a CSV mirror at `~/.nutrition-mcp/meals.csv`. Set `NUTRITION_DB_PATH` or `NUTRITION_CSV_PATH` to change those locations. No account or cloud service is required according to the project documentation.

## Tools and capabilities

The indian-food-nutrition-mcp MCP server includes these documented tools:

- `search_food`: searches IFCT and USDA foods and returns per-100-gram nutrition values.
- `log_meal`: records food items with mandatory quantities and household units.
- `get_day`: returns a day's meal log and totals.
- `get_history`: returns per-day totals across a date range.
- `edit_entry`: changes an existing meal record.
- `delete_entry`: removes an entry.
- `fetch_image`: retrieves a food image from a URL for model inspection.

The bundled Indian data comes from IFCT 2017, produced by the National Institute of Nutrition in Hyderabad. USDA SR Legacy data supplies additional foods and drinks. The code supports the Indian Nutrient Databank cooked-dish dataset, but that dataset is not redistributed; it can be generated locally for personal use with `npm run build:indb`.

## Limitations and notes

A hosted version intended for ChatGPT and cross-device synchronization is described as forthcoming, not as an available feature. The INDB cooked-dish data is subject to a pending license and is therefore excluded from redistribution. Code is licensed under AGPL-3.0-or-later, while the bundled USDA data is public domain and IFCT data is supplied through the referenced package.

_Full upstream README: https://allmcps.com/mcp/indian-food-nutrition-mcp/readme_

