- Home
- MCP servers
- Yazio
Yazio
- javascript
13
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"fliptheweb-yazio-mcp": {
"command": "npx",
"args": [
"-y",
"yazio-mcp"
],
"env": {
"YAZIO_PASSWORD": "your_password",
"YAZIO_USERNAME": "your_email@example.com"
}
}
}
}You can connect Claude or Cursor to your Yazio nutrition data using this MCP server, allowing you to track meals, search foods, view weight trends, and manage nutrition goals directly from your AI assistant. This setup is useful for integrating your personal data with conversational workflows and getting insights without manually switching apps.
How to use
You use an MCP client to connect to the Yazio MCP server. Start the server using the provided command configuration, then configure your MCP client with the server name and credentials. Once connected, you can ask Claude or Cursor to fetch daily summaries, search for foods, log meals, track water intake, review weight history, and manage your nutrition goals. Use natural language prompts like asking for your daily nutrition overview, looking up a specific food, or adding a missing meal directly from your assistant.
How to install
Prerequisites you need before installation: Node.js 18 or newer, and a valid Yazio account.
Install and run the MCP server using the exact command and environment variables shown in the example configuration.
- Create the MCP configuration in your client with the following details.
Configuration example
{
"mcpServers": {
"yazio": {
"command": "npx",
"args": ["-y", "yazio-mcp"],
"env": {
"YAZIO_USERNAME": "your_email@example.com",
"YAZIO_PASSWORD": "your_password"
}
}
}
}
Run and test the connection
After configuring your MCP client, start the server via your client’s MCP setup. Then test the connection by initiating a simple query such as requesting your daily summary or searching for a common food item to ensure data returns as expected.
Additional notes
This MCP server uses an unofficial reverse-engineered API to access Yazio data. It is not an official integration, and functionality can change or stop at any time. Your credentials are used only for authentication with Yazio servers.
Security and best practices
-
Use a dedicated Yazio account for MCP access if possible, and do not share your credentials beyond your trusted MCP client setup.
-
Treat the MCP server as a private integration within your personal AI workflow. Regularly review connected devices and revoke access if you notice any unusual activity.
Troubleshooting
If you encounter authentication failures, verify that the environment variables YAZIO_USERNAME and YAZIO_PASSWORD are correctly set in your MCP client configuration and that the Yazio account is accessible from your network.
If data retrieval stops working, remember this is an unofficial API and may break due to changes on Yazio’s side. Restart the MCP server after updates and re-check prompts in Claude or Cursor for any adjusted endpoints.
Available tools
get_user_daily_summary
Retrieve the daily nutrition summary for a specific date, including calories, macros, and other metrics.
get_user_consumed_items
Fetch the list of food entries logged for a given date.
get_user_weight
Obtain weight data and trends over time.
get_user_exercises
Retrieve exercise data for a specific date.
get_user_water_intake
Get water intake records for a given date.
get_user_goals
Fetch nutrition goals associated with the user.
get_user_settings
Retrieve user preferences and settings.
search_products
Search Yazio's food database by a query string.
get_product
Get detailed information for a specific product by ID.
add_user_consumed_item
Log a new food item to the user's log with productId, amount, date, and mealType.
add_user_water_intake
Add a water intake entry with date and total water amount in milliliters.
remove_user_consumed_item
Remove a logged food item by itemId.