indian-food-nutrition-mcp
v1.0.2Indian-accurate nutrition logging for your AI: IFCT 2017 + USDA, by text or photo.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_food Search Indian foods (IFCT 2017 + INDB)
Search Indian food data (IFCT 2017 raw ingredients + INDB cooked dishes) and their per-100g nutrition. Use this to find a food_code before logging a meal so calories are database-accurate for Indian food, not estimated. INDB results are cooked dishes and include a serving size. Returns code, name, group, source, per-100g cal/protein/carb/fat/fiber, and serving (when known). Prefer the result that matches how the food was prepared (cooked dish over raw ingredient; a tempered/fried version over a plain one). If the top result looks off, search again with a more specific phrase before settling.
| Parameter | Type | Description |
|---|---|---|
query * | string | Food to search, e.g. "rice raw milled" or "wheat flour". |
limit | integer | Max results (default 8). |
log_meal Log a meal
Log one or more eaten items to the personal nutrition history. QUANTITY IS MANDATORY: every item needs qty + unit (e.g. 2 katori, 1 large plate, 3 pieces). If the user did NOT say how much they ate, you MUST ask them before calling this tool. Do not guess or assume a default portion. PHOTO INPUT: if the user uploads a photo of food, identify each dish from the image, then state your estimated qty + unit for each and confirm with the user before logging (photo portion estimates are approximate, so confirmation is required). ALWAYS USE THE DATABASE: for every recognizable food you MUST call sear…
| Parameter | Type | Description |
|---|---|---|
items * | array | The items eaten in this meal. |
meal | string | Optional meal label. |
when | string | ISO datetime of the meal (default: now). |
get_day Get a day's log
Return all logged items and macro totals for a given local date (default today). Use to answer 'what did I eat today / how many calories so far'.
| Parameter | Type | Description |
|---|---|---|
date | string | Local date YYYY-MM-DD (default today). |
get_history Get nutrition history
Return per-day macro totals over a date range, as a compact block for coaching. Feed this to the model so it can program diet around real intake. Specify start/end (YYYY-MM-DD) or days (default last 14).
| Parameter | Type | Description |
|---|---|---|
days | integer | Trailing days if no start. |
end | string | End date YYYY-MM-DD (default today). |
start | string | Start date YYYY-MM-DD. |
edit_entry Edit a logged item
Correct a logged meal item by id (from log_meal/get_day) so the history stays accurate. Pass only the fields to change.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Meal entry id. |
cal | number | |
carb_g | number | |
description | string | |
fat_g | number | |
fiber_g | number | |
grams | number | |
meal | string | |
protein_g | number | |
qty | number | |
unit | string |
delete_entry Delete a logged item
Delete a logged meal item by id. Use to fix mistakes so history isn't poisoned.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Meal entry id to delete. |
fetch_image Fetch a food image from a URL
Download an image from an http(s) URL and return it so you can SEE it. Use this when the user gives a LINK to a food photo instead of uploading the image. After viewing it, identify each dish, propose qty + unit per item, confirm portions with the user, then call log_meal (photo portions are approximate).
| Parameter | Type | Description |
|---|---|---|
url * | string | Direct http(s) URL of the food image. |