add_user_consumed_item
Add a food item to user consumption log
Log meals and water into a Yazio diary and read the day back: search the food database, add an item with its serving and quantity, and compare the day's summary against the goals already set.
LABSCO SUMMARY
Three tools write and the rest read, which shapes what this is good for: meals and water go in, and goals, weight, exercise, preferences and settings come back as material to reason over but not to change. The water model is the one thing to get right before wiring anything up — an entry is the cumulative total in millilitres for that timestamp, not an increment, so the current value has to be read and added to or the day's count is overwritten. Sign-in is a username and password rather than a token, so the credentials sitting in the client config are the account credentials themselves.
A server over the Yazio food-tracking API — profile, goals, diary entries, water, weight, exercise and the product database.
YAZIO_USERNAME and YAZIO_PASSWORD for an existing Yazio account. MIT.
One command plus credentials — npx yazio-mcp, then supply credentials
USE CASES
Find the product, check that it is the right one rather than a similarly named import, log it with the serving you actually ate, then read the day's summary to see where that leaves you.
Put the summary next to the goals and dietary preferences on the account, and read the individual entries when a number looks wrong. Mis-logged items can be removed by their entry ID.
Read what is already recorded for the day, add your amount to it, and write back the new total — the entry is cumulative in millilitres, so sending the glass rather than the total loses everything logged earlier.
Pull weight history and exercise over a date range alongside the profile and settings, so a trend is read against the goals and units the account is actually configured with.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_user_consumed_itemAdd a food item to user consumption log
add_user_water_intakeLog a water intake entry. Requires date (YYYY-MM-DD HH:mm:ss format) and cumulative water_intake in milliliters (ml). Always get the latest water intake first and add the new amount to calculate the cumulative value.
get_productGet detailed information about a specific product by ID
get_userGet Yazio user profile information
get_user_consumed_itemsGet food entries for a specific date
get_user_daily_summaryGet daily nutrition summary for a specific date
get_user_dietary_preferencesGet user dietary preferences and restrictions
get_user_exercisesGet user exercise data for a date or date range
get_user_goalsGet user nutrition and fitness goals
get_user_settingsGet user settings and preferences
get_user_suggested_productsGet product suggestions for the user
get_user_water_intakeGet water intake data for a specific date
get_user_weightGet user weight data
remove_user_consumed_itemRemove a food item from user consumption log
search_productsSearch for food products in Yazio database. You can optionally specify user's sex, country and locale of the products to search for.
BEFORE YOU INSTALL
15 tools when we connected. The documentation lists 12; get_user, get_user_dietary_preferences and get_user_suggested_products are undocumented. add_user_consumed_item, add_user_water_intake and remove_user_consumed_item edit your Yazio diary.
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 15 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx yazio-mcp{
"mcpServers": {
"yazio": {
"command": "npx",
"args": [
"-y",
"yazio-mcp"
],
"env": {
"YAZIO_USERNAME": "<YOUR_YAZIO_USERNAME>",
"YAZIO_PASSWORD": "<YOUR_YAZIO_PASSWORD>"
}
}
}
}claude mcp add yazio -e YAZIO_USERNAME=<YOUR_YAZIO_USERNAME> -e YAZIO_PASSWORD=<YOUR_YAZIO_PASSWORD> -- npx -y yazio-mcp