intervals-icu-mcp-server
v0.10.0
Published
MCP server for Intervals.icu — 36 tools for activities, wellness, calendar events, workouts and more
Maintainers
Readme
intervals-icu-mcp-server
MCP server for Intervals.icu — connects Claude / Claude Code to your training data.
Installation
npx -y intervals-icu-mcp-serverOr install globally:
npm install -g intervals-icu-mcp-serverSetup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"intervals-icu": {
"command": "npx",
"args": ["-y", "intervals-icu-mcp-server"],
"env": {
"API_KEY": "your_api_key",
"ATHLETE_ID": "i12345"
}
}
}
}Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"intervals-icu": {
"command": "npx",
"args": ["-y", "intervals-icu-mcp-server"],
"env": {
"API_KEY": "your_api_key",
"ATHLETE_ID": "i12345"
}
}
}
}- API_KEY: Settings → API → Generate key on intervals.icu
- ATHLETE_ID: The
i12345part of your intervals.icu profile URL
Tools
Activities
| Tool | Description |
|------|-------------|
| get_activities | One line per activity (NP/IF/TSS, HR, decoupling, RPE); detail: true for full metrics |
| get_activity_details | Full metrics for a specific activity |
| get_activity_intervals | Per-interval breakdown (power, HR, speed, elevation) |
| get_activity_streams | Raw per-second data streams (watts, HR, cadence, speed, altitude) |
| get_activity_power_curves | Best power at standard durations (5s, 1min, 5min, 20min, 1h, etc.) |
| download_activity_fit | Save an activity's FIT to disk (Intervals.icu-generated, or original: true for the device upload) |
Wellness & Fitness
| Tool | Description |
|------|-------------|
| get_wellness_data | Weight, HRV, sleep, CTL/ATL, subjective scores for a date range, as one table |
| get_wellness_day | Wellness data for a single date |
| update_wellness | Log weight, HRV, sleep, mood, soreness, etc. |
Athlete
| Tool | Description |
|------|-------------|
| list_athletes | List athletes you follow or coach (including yourself) — find athlete IDs for a coach account |
| get_coach_ticks | Get coach-tick presets on an athlete's profile (in practice a fixed 1-5 rating scale) |
| set_activity_coach_tick | Set or clear the coach's 1-5 rating on a specific activity |
| get_athlete_profile | FTP, LTHR, weight, VO2max, resting HR |
| get_athlete_zones | Power, HR and pace training zones |
| get_athlete_summary | Current CTL, ATL, TSB and ramp rate snapshot |
Coach accounts: every tool accepts an optional athlete_id argument that overrides the
ATHLETE_ID env var for that call. Log in with a coach's API_KEY, call list_athletes to get
IDs for the athletes they coach, then pass athlete_id: "iXXXXX" on any tool call to work with
that specific athlete — no need to swap accounts or .env files.
Calendar Events
| Tool | Description |
|------|-------------|
| get_events | Calendar events (workouts, races) for a date range; descriptions cut at 300 chars unless full_description: true |
| get_event_by_id | Full details for a specific event |
| create_event | Create a new event (workout, note, race) |
| update_event | Update event fields or move it to a new date |
| delete_event | Delete an event |
| bulk_create_events | Create multiple events at once |
| bulk_delete_events | Delete multiple events at once |
Workout Library
| Tool | Description |
|------|-------------|
| list_workouts | List all workouts in the library |
| create_workout | Save a new structured workout to the library |
| download_workout_fit | Save a planned (event_id) or library (workout_id) workout as a FIT for your head unit |
Downloads go to dir if given, else FIT_DOWNLOAD_DIR, else ~/Downloads/intervals.
Development
git clone https://github.com/SergeyPirogov/intervals-mcp.git
cd intervals-mcp
npm install
npm run build
npm run dev # watch mode
npm run inspector # MCP inspector UI