Search food
Search the Fitatu database of products and meals, with calories and macros per 100 g or 100 ml.
MCP tool fitatu_read → search_food
read
Searches the Fitatu product and meal database, which holds over a million entries from raw basics to restaurant meals. Choose the database country, or limit results to products from Fitatu, the generic entries checked by its dietitians. Pass food_id to log_food. Results are ranked as the app ranks them.
Parameters
| Name | Type | Description |
|---|---|---|
| query string required | string | Product or meal name, e.g. "rye bread". |
| database enum | enum | Polish, English, Dutch, French, Italian, German or Spanish. Default: the database set on your account. |
| from_fitatu_only boolean | boolean | Only generic products from Fitatu, not tied to a brand. |
| limit integer | integer | 1 to 50. Default: 20. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "fitatu_read",
"arguments": {
"operation": "search_food",
"arguments": {
"query": "rye bread"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"foods": [
{
"food_id": "fd_88a1",
"name": "Rye bread",
"brand": null,
"kcal_per_100": 259,
"protein_g_per_100": 8.5,
"fat_g_per_100": 3.3,
"carbs_g_per_100": 48,
"measures": [
"slice",
"gram"
]
}
],
"next_cursor": null
},
"isError": false
}