Fitaily MCP

Foods & catalog

Product search, barcode lookup and the user’s private product catalog (CRUD). Always source macros here before logging a meal.

search_foods

readnutrition:read

Search foods

Search the food catalog by name (per-100g macros, servings). Call this before add_meal when the user names a product instead of giving macros.

Parameters

ParameterTypeDescription
query *stringSearch query (2–120 chars).
limit
default: 10
integerMax results (1–20).

get_food_by_barcode

readnutrition:read

Find food by barcode

Look up a product by barcode (per-100g macros).

Parameters

ParameterTypeDescription
code *stringBarcode (4–32 chars).

get_my_products

readnutrition:read

Your saved products

List food products created by the user, including their per-100g/ml nutrition. Use an id from this list to edit or delete a product.

Parameters

ParameterTypeDescription
limit
default: 50
integerMax results (1–100).
offset
default: 0
integerPagination offset (0–10000).

create_my_product

writenutrition:write

Create a saved product

WRITE: save a food product to the user's private product catalog. Nutrition values are per 100 g or ml. Confirm the name, unit and macros with the user before saving.

Parameters

ParameterTypeDescription
name *stringProduct name (1–200).
brandstringBrand (≤120).
barcodestringBarcode (≤32).
baseUnit *enum(g|kg|ml|l|szt|łyżka|łyżeczka|szklanka)Base unit.
caloriesPer100 *numberCalories per 100 g/ml.
proteinPer100 *numberProtein per 100 g/ml.
carbsPer100 *numberCarbs per 100 g/ml.
fatPer100 *numberFat per 100 g/ml.
…optionalobjectOptional extras: sugar, fiber, salt, saturated fat, vitamins, sodium, etc. plus servingSize/servingUnit.

update_my_product

writenutrition:write

Update a saved product

WRITE: edit a product created by the user. Provide its id and only changed fields; existing nutrition and optional details are preserved. Confirm the proposed changes first.

Parameters

ParameterTypeDescription
id *stringProduct id.
…fieldsobjectAny product fields to change (at least one).

delete_my_product

destructivenutrition:write

Delete a saved product

WRITE: permanently delete a product created by the user. Confirm using its name before deletion.

Parameters

ParameterTypeDescription
id *stringProduct id.
© 2026 Fitaily · MCP documentation · GitHub