
fliptheweb/yazio-mcp 是从 https://github.com/fliptheweb/yazio-mcp. 导入的 MCP 服务器候选服务器。
概览
fliptheweb/yazio-mcp 是从 https://github.com/fliptheweb/yazio-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
[!重要] 这不是官方MCP服务器,Yazio也不提供官方API。 本服务器使用非官方逆向工程的API,可能随时停止工作。
一个MCP(模型上下文协议)服务器,将Claude/Cursor连接到你的Yazio营养数据。通过AI助手直接追踪你的饮食、搜索食品产品并管理你的营养目标。
可在NPM获取:npx yazio-mcp
Claude桌面扩展:yazio-mcp.mcpb — 一键安装上游有问题,详见解决方法。
✨ 特色
- 🔐 认证 - 连接您的Yazio账户
- 📊 营养分析 - 获取全面的饮食数据和见解
- 🍎 食物追踪 - 搜索、添加和管理食物条目
- 🏃 ♂️ 健身数据 - 记录锻炼和饮水量
- ⚖️ 体重监测 - 查看体重历史和趋势
- 🎯 目标管理 - 获取和管理营养目标
- 🔍 产品搜索 - 搜索Yazio庞大的食品数据库
🚀 快速启动
在MCP客户端配置中添加以下JSON:
Claude 桌面(扩展)
[!警告] 一键安装
.mcpb因 Claude Desktop 的 bug(mcpb#281)而失效。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Yazio MCP Server
[!IMPORTANT] This is not an official MCP server and Yazio does not provide an official API.
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
- 👤 Profile & Goals - Read your profile, settings, dietary preferences and daily goals
- 🔍 Food & Product Search - Search Yazio’s food database, get suggestions, and manage your own products
- 📝 Food Diary - Log food and water, read entries and daily totals, and remove entries
- 🥣 Recipes - Create, read, update and delete your own recipes
- 🍽️ Saved Meals - Save sets of products as meals and manage them
- ⭐ Favorites - Manage your favorite products and recipes
- ⚖️ Weight & Body - Log weight, body fat, muscle, blood glucose and circumferences, and view the history
- 🏃♂️ Exercise & Activity - Log exercises and the day’s steps
- 📓 Diary Notes - Read, write and clear daily notes and feeling tags
🚀 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
.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.
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.jsonin your project root - Global config — add JSON to
~/.cursor/mcp.json(applies to all projects)
💡 Use Cases
安装
npx -y yazio-mcp配置
{
"mcpServers": {
"yazio": {
"command": "npx",
"args": ["-y", "yazio-mcp"],
"env": {
"YAZIO_USERNAME": "[email protected]",
"YAZIO_PASSWORD": "your_password"
}
}
}
}