# yazio-mcp

Connects your AI assistant to a Yazio account: daily nutrition summaries, food search, weight, water and goals.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 68
- Author: fliptheweb
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/fliptheweb/yazio-mcp
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/mcp/yazio-mcp

## What it does

The server hands your assistant access to Yazio nutrition data. It returns a daily summary and the food entries for a given date, plus weight history, exercises, water intake, goals and profile settings. A second group of tools searches the Yazio food database and writes to your log: a product, an amount, a date and a meal type.

Under the hood it exposes tools such as `get_user_daily_summary`, `search_products`, `add_user_consumed_item` and `remove_user_consumed_item`. Auth uses your Yazio credentials, passed through the `YAZIO_USERNAME` and `YAZIO_PASSWORD` environment variables. You need Node.js 18+ and a working Yazio account.

Yazio has no official API, so the server talks to a reverse-engineered one. That means it can break whenever Yazio changes something on their end. One-click `.mcpb` install in Claude Desktop is broken by a bug; use the unpacked extension or the `npx` config instead.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `YAZIO_USERNAME`, `YAZIO_PASSWORD` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add yazio-mcp -e YAZIO_USERNAME=<YAZIO_USERNAME> -e YAZIO_PASSWORD=<YAZIO_PASSWORD> -- npx -y yazio-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add yazio-mcp --env YAZIO_USERNAME=<YAZIO_USERNAME> --env YAZIO_PASSWORD=<YAZIO_PASSWORD> -- npx -y yazio-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "yazio-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "yazio-mcp"
            ],
            "env": {
                "YAZIO_USERNAME": "<YAZIO_USERNAME>",
                "YAZIO_PASSWORD": "<YAZIO_PASSWORD>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "yazio-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "yazio-mcp"
            ],
            "env": {
                "YAZIO_USERNAME": "<YAZIO_USERNAME>",
                "YAZIO_PASSWORD": "<YAZIO_PASSWORD>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e YAZIO_USERNAME=<YAZIO_USERNAME> -e YAZIO_PASSWORD=<YAZIO_PASSWORD> yazio-mcp npx -y yazio-mcp
```
Replace <…> with your own values

## When to use it
- review what you ate yesterday and break down the macros
- look up a product in the Yazio database for calories and macros
- log a meal you forgot to track in the app
- pull weight and water intake trends for the week
- check how many calories are left against your daily goal

## Example prompts
- Search for 'chicken breast' in the Yazio database
- Add 200g of grilled salmon for yesterday's dinner

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
