---
title: "Foods & catalog | Fitaily Docs"
description: "Product search, barcode lookup and the user’s private product catalog (CRUD). Always source macros here before logging a meal."
url: "https://fitaily.com/docs/tools/foods/en"
canonical: "https://fitaily.com/docs/tools/foods/en"
lang: en
---

# Foods & catalog

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

### `search_foods`

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.

Parametry: `query`* (string), `limit` (integer)

### `get_food_by_barcode`

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

Parametry: `code`* (string)

### `get_my_products`

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.

Parametry: `limit` (integer), `offset` (integer)

### `create_my_product`

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.

Parametry: `name`* (string), `brand` (string), `barcode` (string), `baseUnit`* (enum(g|kg|ml|l|szt|łyżka|łyżeczka|szklanka)), `caloriesPer100`* (number), `proteinPer100`* (number), `carbsPer100`* (number), `fatPer100`* (number), `…optional` (object)

### `update_my_product`

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.

Parametry: `id`* (string), `…fields` (object)

### `delete_my_product`

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

Parametry: `id`* (string)

---

[Fitaily MCP na GitHubie](https://github.com/rafafau/fitaily-mcp)
