yazio-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YAZIO_PASSWORD | Yes | Your Yazio account password. | |
| YAZIO_USERNAME | Yes | Your Yazio account email address used for authentication. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Access to the signed-in user's Yazio nutrition and fitness data via an unofficial API.
When to use: Yazio is the user's food and body diary. Use these tools whenever the user talks about what they ate or drank, calories, macros (protein, fat, carbs), water, weight, body measurements, exercise or their nutrition goals, even when they don't name Yazio. A plain "I had two eggs for breakfast" or "track my lunch" means: log it. Questions such as "how much protein today?" or "am I under my calories?" mean: read the diary and the goals first, then answer. Short or spoken requests count too; when the food, amount or meal is unclear, ask or make a reasonable estimate and say so.
Conventions:
Dates are YYYY-MM-DD; diary and water entries also take "YYYY-MM-DD HH:mm:ss". Amounts are in base units, grams (g) or milliliters (ml).
daytime (meal) is one of: breakfast, lunch, dinner, snack.
get_* and search_products only read. add_*, create_*, update_*, delete_*, remove_*, set_user_note and set_user_activity change the user's data.
Logging food: search_products, then get_product for its servings and base unit, then add_user_consumed_item. For food that isn't in the database, use add_quick_entry for a one-off entry or create_product for something eaten again. For a recipe, use add_user_consumed_recipe. For a saved meal (get_user_meals), use add_user_consumed_meal.
Water: add_user_water_intake with add_ml adds to the day's total.
Notes: get_user_note reads the day's diary note and feeling tags, set_user_note changes them.
Weight and exercises: add_user_weight and add_user_exercise log them; delete_user_weight and delete_user_exercise remove them by id. set_user_activity sets the day's steps.
Overviews: get_user_daily_nutrients gives the daily energy and macro totals of a date range in one call.
Other body values (body fat, muscle, blood glucose, circumferences): get_user_body_values reads a day, add_user_body_value logs one, delete_user_body_value removes one by id. update_user_body_value changes a weight or body value entry. Values are always metric, whatever units the app shows.
Favorites and own items: get_user_favorites, add_user_favorite_product/recipe and remove_user_favorite_product/recipe manage favorites. get_user_products and delete_user_product manage the user's own products; update_user_recipe changes a recipe.
Removing a diary entry: get_user_consumed_items gives the entry's id (not its product_id) for remove_user_consumed_item.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_userC | Get Yazio user profile information |
| get_user_consumed_itemsC | Get food entries for a specific date |
| get_user_dietary_preferencesB | Get user dietary preferences and restrictions |
| get_user_exercisesC | Get user exercise data for a date or date range |
| get_user_goalsB | Get the user's daily nutrition and fitness goals, including their own adjustments |
| get_user_settingsC | Get user settings and preferences |
| get_user_suggested_productsC | Get product suggestions for the user for a meal (daytime) on a date |
| get_user_water_intakeB | Get water intake data for a specific date |
| get_user_weightA | Get the last weight entry up to a date. Use get_user_weight_history for all entries in a date range. |
| get_user_weight_historyA | Get all weight entries between two dates in one call, e.g. for trends. A day can have several entries at different times. |
| get_user_daily_summaryB | Get daily nutrition summary for a specific date |
| search_productsB | Search for food products in Yazio database. You can optionally specify user's sex, country and locale of the products to search for. |
| get_productB | Get detailed information about a specific product by ID |
| get_recipeA | Get a recipe by ID with its ingredients, portion count and nutrients per portion. Use it to resolve recipe_id of recipe portions in get_user_consumed_items. |
| get_user_recipesA | Get the user's own recipes with their ingredients and nutrients |
| delete_user_recipeA | Permanently delete one of the user's own recipes. It can't be restored, so confirm with the user first. |
| add_user_consumed_itemA | Add a food item to user consumption log. Pass date with time ("YYYY-MM-DD HH:mm:ss") to keep the time of the entry; date only (YYYY-MM-DD) logs it at 00:00. Returns the entry ID for remove_user_consumed_item. |
| remove_user_consumed_itemC | Remove a food item from user consumption log |
| add_user_water_intakeA | Log water intake at a date and time ("YYYY-MM-DD HH:mm:ss"). Pass add_ml (the amount drunk): the server reads the current daily total and adds to it. To correct the day's total, pass water_intake as the corrected absolute total in ml. |
| create_productA | Create a custom product (e.g. a restaurant dish or a brand missing in search) from label values per 100 g/ml. Returns its product_id for add_user_consumed_item. Search first: creating duplicates clutters the database. |
| add_quick_entryA | Log a one-off diary entry with a name and total nutrition of the eaten amount (Yazio "quick add"), without creating a product. Shows up in get_user_consumed_items as simple_products and is removed with remove_user_consumed_item. |
| add_user_consumed_recipeA | Log portions of a recipe to the diary. Shows up in get_user_consumed_items as recipe_portions. Use get_recipe for the nutrients per portion. |
| create_user_recipeA | Create a recipe from products and their amounts in the whole recipe. The nutrients per portion are calculated from the products. Returns the recipe ID for add_user_consumed_recipe. |
| get_user_noteA | Get the user's diary note and feeling tags for a date (the Notes card in the Yazio diary) |
| set_user_noteA | Set the user's diary note and/or feeling tags for a date. Fields you leave out keep their current value; the note text replaces the old text, so include it to append. Yazio has no delete: to clear the day, pass note: null and tags: []. |
| get_user_mealsB | Get the user's saved meals: named sets of foods that are logged together |
| create_user_mealA | Save a set of products as a meal to log it again later with add_user_consumed_meal. Returns the meal ID. |
| delete_user_mealA | Permanently delete one of the user's saved meals. Diary entries logged from it stay. It can't be restored, so confirm with the user first. |
| add_user_consumed_mealA | Log all items of a saved meal to the diary. Each item shows up in get_user_consumed_items as a separate entry. Returns the entry IDs for remove_user_consumed_item. |
| add_user_weightA | Log a weight measurement in kg. Returns the entry ID for delete_user_weight. |
| delete_user_weightA | Delete a weight entry by its ID, from add_user_weight or get_user_weight. |
| get_user_body_valuesA | Get every body value of a day, by type: weight in kg, body fat and muscle in %, blood glucose in mg/dL, circumferences in cm. Always metric, whatever units the app shows. |
| add_user_body_valueA | Log a body fat or muscle percentage, a blood glucose level or a circumference. Convert to the metric unit first: Yazio stores metric whatever units the app shows. For weight use add_user_weight. Returns the entry ID for delete_user_body_value. |
| delete_user_body_valueB | Delete a body value entry by its ID, from add_user_body_value or get_user_body_values. |
| add_user_exerciseA | Log an exercise: a Yazio training (e.g. running) or, with custom: true, an exercise with any name. Pass the burned energy, because Yazio does not calculate it. Returns the entry ID. |
| delete_user_exerciseA | Delete an exercise entry by its ID from get_user_exercises or add_user_exercise. |
| update_user_recipeA | Replace one of the user's own recipes: name, portions, ingredients and instructions. Pass the whole recipe, as for create_user_recipe; the nutrients per portion are recalculated from the products. |
| update_user_body_valueB | Change the value of a weight or other body value entry by its ID. Values are metric: kg, %, mg/dL or cm. |
| set_user_activityA | Set the day's total step count and/or energy burned by activity (kcal), as a step counter would. It replaces the day's values; a value left out keeps its current value. For a workout use add_user_exercise. |
| get_user_daily_nutrientsA | Get the energy (kcal), carb, protein and fat totals and the energy goal for each day of a date range, in one request. Use it for weekly or monthly overviews. |
| get_user_productsA | Get the products the user created, with their nutrients and servings. |
| delete_user_productA | Permanently delete one of the user's own products. It can't be restored, so confirm with the user first. |
| get_user_favoritesA | Get the user's favorite products (with their name and the amount and serving they were favorited with) and favorite recipes (with their name and the portion count). |
| add_user_favorite_productB | Add a product to the user's favorites, with the amount (and optionally serving) it is usually eaten in. |
| add_user_favorite_recipeB | Add a recipe to the user's favorites, with the number of portions usually eaten. |
| remove_user_favorite_productB | Remove a product from the user's favorites by its product_id. |
| remove_user_favorite_recipeA | Remove a recipe from the user's favorites by the favorite's own id from get_user_favorites (not the recipe_id). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| add_food_item | Guide for adding a food item to the user's consumption log |
| remove_food_item | Guide for removing a food item from the user's consumption log |
| add_water_intake | Guide for adding water intake entries to the user's log |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| user_profile | The user's Yazio profile |
| user_goals | The user's daily nutrition and fitness goals |
| user_settings | The user's app settings |
| user_dietary_preferences | The user's dietary preferences and restrictions |
TDQS
Scored across 47 tools
Most tools target a clearly distinct resource and action, and the descriptions actively resolve the few risky pairs (get_user_weight vs get_user_weight_history, add_user_weight vs add_user_body_value, add_quick_entry vs create_product vs add_user_consumed_item). Residual overlap remains between get_user_daily_summary and get_user_daily_nutrients, and between the seven different remove/delete tools for different resources, which an agent must read carefully to keep straight.
The dominant pattern is verb_user_resource (get_user_water_intake, add_user_consumed_meal, delete_user_weight), applied consistently across the bulk of the surface. Deviations are modest: the verb 'remove' vs 'delete' for deletions (remove_user_consumed_item vs delete_user_recipe) and 'add' vs 'create' for creations, plus a handful of unscoped domain tools (search_products, get_product, get_recipe, create_product).
47 tools is heavy for a nutrition-tracker surface and forces the agent to navigate near-parallel families (five weight/body-value getters, eight delete/remove tools, three separate favorite add/remove pairs). The domain is genuinely large, so many tools are justified, but the surface could be consolidated (e.g. generic delete for entries, merged summary/nutrients) without losing capability.
Coverage is unusually thorough: full lifecycle for diary entries, recipes, meals, products, water, weight, body values, exercises, notes, goals and favorites, with explicit cross-references from create to the ID needed for delete. The main gaps are update operations for custom products and saved meals (create/delete only), which agents can work around by recreating.