Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MFP_COOKIES | No | Exported cookies for MyFitnessPal authentication, required for environments without browser access (Docker containers, remote servers, etc.). Use export_cookies.py utility to extract cookies. Cookies expire after ~30 days. |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_daily_summary | Get daily nutrition overview: calories consumed/remaining, macro breakdown, water, and goals. Args: date: Date in YYYY-MM-DD format (defaults to today) |
| get_daily_meals | Get detailed meal-by-meal breakdown with all foods, servings, and calories. Args: date: Date in YYYY-MM-DD format (defaults to today) |
| get_daily_exercise | Get exercise activities: cardio (duration, calories) and strength (sets, reps, weight). Args: date: Date in YYYY-MM-DD format (defaults to today) |
| get_daily_macros | Get comprehensive macro and micronutrient breakdown with all tracked nutrients. Args: date: Date in YYYY-MM-DD format (defaults to today) |
| get_water_intake | Get water consumption for a specific day. Args: date: Date in YYYY-MM-DD format (defaults to today) |
| get_date_range_summary | Get aggregate nutrition data over a date range with trends and insights. Args: start_date: Start date in YYYY-MM-DD format end_date: End date in YYYY-MM-DD format |