MCP server for accessing Yazio user & nutrition data (unofficial)
[!IMPORTANT] This is not an official MCP server and Yazio does not provide an official API. This server uses an unofficial reverse-engineered API and may stop working at any time.
An MCP (Model Context Protocol) server that connects Claude/Cursor to your Yazio nutrition data. Track your diet, search food products, and manage your nutrition goals directly from your AI assistant.
Available on NPM: npx yazio-mcp
Claude Desktop Extension: yazio-mcp.mcpb — one-click install is broken upstream, see workaround.
Add the following JSON your MCP client configuration:
{
"mcpServers": {
"yazio": {
"command": "npx",
"args": ["-y", "yazio-mcp"],
"env": {
"YAZIO_USERNAME": "your_email@emai.com",
"YAZIO_PASSWORD": "your_password"
}
}
}
}
[!WARNING] One-click
.mcpbinstall is broken by a Claude Desktop bug (mcpb#281). Workaround: download yazio-mcp.zip, extract it, and use Settings → Extensions → Advanced settings → Install Unpacked Extension. Or just use thenpxconfig above.
~/Library/Application Support/Claude/claude_desktop_config.json
claude mcp add yazio -e YAZIO_USERNAME=your_email@email.com -e YAZIO_PASSWORD=your_password -- npx -y yazio-mcp
Verify with claude mcp list.
There are a few ways to add the server:
Settings → MCP → + Add new MCP server, then fill in the command, args, and env.cursor/mcp.json in your project root~/.cursor/mcp.json (applies to all projects)"Get my nutrition data for the last week and analyze my eating patterns"
Claude can retrieve your daily summaries, identify trends, and provide insights about your eating habits, macro distribution, and areas for improvement.
"Search for 'chicken breast' in the Yazio database"
Find detailed nutritional information for any food product, including calories, macros, vitamins, and minerals.
"Add 200g of grilled salmon for yesterday's dinner"
Easily log meals you forgot to track in the Yazio app directly from Claude or Cursor.
| Tool | Description | Key Parameters |
|---|---|---|
get_user_daily_summary | Get daily nutrition summary | date |
get_user_consumed_items | Get food entries for a date | date |
get_user_weight | Get weight data | - |
get_user_exercises | Get exercise data | date |
get_user_water_intake | Get water intake | date |
get_user_goals | Get nutrition goals | - |
get_user_settings | Get user preferences | - |
search_products | Search food database | query |
get_product | Get detailed product info | id |
add_user_consumed_item | Add food to your log | productId, amount, date, mealType |
add_user_water_intake | Add water intake entry (cumulative value in ml) | date, water_intake |
remove_user_consumed_item | Remove food from log | itemId |
YAZIO_USERNAME='your_email' YAZIO_PASSWORD='your_password' npx yazio-mcp
YAZIO_USERNAME=X YAZIO_PASSWORD=X npx -y @modelcontextprotocol/inspector npx <local-path>/yazio-mcp
MIT License - see LICENSE file for details.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y yazio-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-fliptheweb-yazio-mcp": {
"command": "npx",
"args": [
"-y",
"yazio-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceio.github.fliptheweb/yazio-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.