mcpField
Y
Yazio MCP

Yazio MCP

Local
github.com/flipthewebAI & Agents69Updated 5d ago

About Yazio MCP

Yazio MCP is an MCP server that connects clients such as Claude and Cursor to Yazio nutrition data for tracking diet, searching foods and managing nutrition goals. It relies on an unofficial, reverse-engineered API because Yazio provides no official API, so it may stop working at any time.

Key features

  1. 01Yazio account authentication
  2. 02Daily nutrition summaries and diet data
  3. 03Food entry lookup, addition and removal
  4. 04Weight, exercise and water intake access
  5. 05Nutrition goal retrieval and management
  6. 06Yazio food database search

Use cases

  1. 01Analyzing eating trends and macro distribution over a week
  2. 02Searching foods and reviewing calories and nutrients
  3. 03Logging meals that were not tracked in the app

MCP support

The project runs as an MCP server started with npx yazio-mcp, exposing nutrition-related tools to MCP clients such as Claude Desktop, Cursor and Claude Code.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"yazio": {
"command": "npx",
"args": [
"-y",
"yazio-mcp"
],
"env": {
"YAZIO_USERNAME": "<YAZIO_USERNAME>",
"YAZIO_PASSWORD": "<YAZIO_PASSWORD>"
}
}
}
}
Run commandnpx -y yazio-mcp
Environment variables to set
YAZIO_USERNAMESecretYazio Username
YAZIO_PASSWORDSecretYazio Password

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmyazio-mcp0.0.15

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Yazio MCP Server Yazio Logo

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.

✨ Features

  • 🔐 Authentication - Connect with your Yazio account
  • 📊 Nutrition Analysis - Get comprehensive diet data and insights
  • 🍎 Food Tracking - Search, add, and manage food entries
  • 🏃‍♂️ Fitness Data - Track exercises and water intake
  • ⚖️ Weight Monitoring - View weight history and trends
  • 🎯 Goal Management - Access and manage nutrition goals
  • 🔍 Product Search - Search Yazio's extensive food database

🚀 Quick Start

Add the following JSON your MCP client configuration:

{
  "mcpServers": {
    "yazio": {
      "command": "npx",
      "args": ["-y", "yazio-mcp"],
      "env": {
        "YAZIO_USERNAME": "[email protected]",
        "YAZIO_PASSWORD": "your_password"
      }
    }
  }
}
Claude Desktop (Extension)

Warning

One-click .mcpb install 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 the npx config above.

Claude Desktop (Manual)

~/Library/Application Support/Claude/claude_desktop_config.json

Claude Code (CLI)
claude mcp add yazio -e [email protected] -e YAZIO_PASSWORD=your_password -- npx -y yazio-mcp

Verify with claude mcp list.

Cursor

There are a few ways to add the server:

  • Settings UI (easiest) — Settings → MCP → + Add new MCP server, then fill in the command, args, and env
  • Project config — add JSON to .cursor/mcp.json in your project root
  • Global config — add JSON to ~/.cursor/mcp.json (applies to all projects)

💡 Use Cases

Showcase

📈 Analyze Your Nutrition Trends

"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 Food Products

"Search for 'chicken breast' in the Yazio database"

Find detailed nutritional information for any food product, including calories, macros, vitamins, and minerals.

📝 Add Forgotten Meals

"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.

🛠️ Available Tools

ToolDescriptionKey Parameters
get_user_daily_summaryGet daily nutrition summarydate
get_user_consumed_itemsGet food entries for a datedate
get_user_weightGet weight data-
get_user_exercisesGet exercise datadate
get_user_water_intakeGet water intakedate
get_user_goalsGet nutrition goals-
get_user_settingsGet user preferences-
search_productsSearch food databasequery
get_productGet detailed product infoid
add_user_consumed_itemAdd food to your logproductId, amount, date, mealType
add_user_water_intakeAdd water intake entry (cumulative value in ml)date, water_intake
remove_user_consumed_itemRemove food from logitemId

Test Connection

YAZIO_USERNAME='your_email' YAZIO_PASSWORD='your_password' npx yazio-mcp

⚠️ Important Disclaimers

  • Unofficial API: This uses a reverse-engineered API that may break
  • Credentials: Your Yazio credentials are only used for auth on Yazio servers
  • Use at Your Own Risk: API changes could affect functionality

📋 Requirements

  • Node.js 18+ (for npx)
  • Valid Yazio account
  • MCP-compatible client (Claude Desktop, Cursor, etc.)

Development

  1. Download the repository
  2. Point to local copy in your mcp config
  3. Debugging:
YAZIO_USERNAME=X YAZIO_PASSWORD=X npx -y @modelcontextprotocol/inspector npx <local-path>/yazio-mcp

📄 License

MIT License - see LICENSE file for details.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.