# intervals-icu-mcp

**Category:** 🏃 Sports  
**Repository:** https://github.com/hhopke/intervals-icu-mcp  
**GitHub Stars:** 127  
**Views:** 13  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/intervals-icu-mcp

## Description
MCP server for Intervals.icu — access training, wellness, and performance data from LLMs.

## Tools
Capabilities this server exposes over MCP:

- **icu_get_recent_activities** — List the athlete's most recent activities (default last 30 days) — LIGHT summary per item (distance, duration, power, HR, training load).

Use for "what have I done recently?", "show last week's rides". For
one specific activity by ID use icu_get_activity_details; to search by
name/tag use icu_search_activities.
- **icu_get_activities_by_date** — List activities within an EXPLICIT date window (oldest..newest) — LIGHT summary per item.

Unlike icu_get_recent_activities (anchored to today and capped at 100), this
targets an arbitrary historical window and is bounded only by `limit`. Use for
"all my runs from June to November 2025", reconstructing training history, or
finding the oldest activity in a period. Dates are YYYY-MM-DD. Results are
newest-first; if a window holds more than `limit` items, the oldest are
dropped first, so widen `limit` (or narrow the window) to reach the very
oldest.
- **icu_get_activity_details** — Fetch the headline SUMMARY of one activity — name, sport, date, distance, duration, training load, weather, plus all top-level metrics in a single JSON blob.

Use for "how was my ride?", "tell me about activity X". For lap-by-lap or
per-interval breakdown use icu_get_activity_intervals; for second-by-second
time-series use icu_get_activity_streams.
- **icu_search_activities** — Search activities by name or tag, returning a LIGHT result list — id, name, type, date, distance, time only.

Use this first for "find my X" queries. Only escalate to
search_activities_full when you specifically need power, HR, training
load, or intensity-factor data on the matches (heavier payload).
- **icu_search_activities_full** — Search activities by name or tag, returning FULL Activity objects with power, HR, training load, intensity factor, normalized power, weather — every metric per result.

Heavy payload. Use only when the lighter search_activities won't tell
you what you need (e.g. "find my threshold rides with NP above 250W").
- **icu_get_activities_around** — Fetch the activities chronologically before and after a reference activity (N each side).

Use for "what did I do around this race?", training-context queries,
progression comparisons.
- **icu_update_activity** — Update an existing activity's metadata (name, type, distance, sub-type, RPE, etc.).

Only fields you pass are sent; everything else stays unchanged. Strava-imported
activities cannot be updated. Moving, elapsed and recording time cannot be
changed after an activity exists (neither here nor in the web UI); they can only
be set when a manual activity is created. Keys passed via `fields` are sent
as-is and are not echoed back in the response.
- **icu_update_activity_streams** — Upload raw time-series streams (power, HR, cadence, etc.) onto an existing activity. Destructive — overwrites existing stream data.

Accepts JSON array or CSV. Different from get_activity_streams (READ).
- **icu_bulk_create_manual_activities** — Batch-create manual activities (no device upload) with UPSERT on `external_id`.

Existing activities with a matching external_id (set by the same
OAuth app) are updated; activities without an external_id are always
created new.
- **icu_download_activity_file** — Download the original activity file.

Downloads the ORIGINAL uploaded file (FIT, TCX, or GPX — whatever the
device produced). Different from download_fit_file (forces FIT conversion)
and download_gpx_file (forces GPX conversion). If `output_path` is set
the file is saved there; otherwise the response embeds base64 content.
- **icu_download_fit_file** — Download activity converted to FIT format (Garmin / most training platforms). Different from download_activity_file (original upload format) and download_gpx_file (GPX format).
- **icu_download_gpx_file** — Download activity converted to GPX format (GPS devices, mapping software). Different from download_activity_file (original upload format) and download_fit_file (FIT format).
- **icu_get_activity_streams** — Fetch RAW per-sample time-series of one activity — second-by-second arrays for power, HR, cadence, speed, altitude, GPS, temperature, grade, etc.

Heavy payload. Use only when you need the underlying signal for
visualization or custom analysis. Most "how was my ride?" questions
are better answered by get_activity_details (summary metrics) or
get_activity_intervals (per-lap breakdown).

Stream-type filter accepts any of: watts, heartrate, cadence,
velocity_smooth, altitude, distance, time, latlng, temp, moving,
grade_smooth, raw_heartrate, fixed_heartrate.

`latlng` comes back as [lat, lng] pairs (null where the sample has no
GPS fix).

`left_right_balance` (dual-sided power meters) is the RIGHT pedal's share
of power in percent (FIT convention), not the left's: a stream averaging
48 means L 52% / R 48%. The response adds a `stream_notes` entry saying so whenever the
stream is returned.

`heartrate` is CORRECTED data: Intervals.icu replaces readings above the
athlete's configured max HR with an interpolated line at import, so it can
never exceed that setting. `raw_heartrate` is the uncorrected trace and is
the only way to see a genuine new max that was clipped away — the platform
never raises the setting on its own. Request it explicitly; it is not in
the default set.

For averages over time windows (HR/power drift etc.) use icu_get_activity_window_stats
instead. Aliases: VE -> tidal_volume_min, VT -> tidal_volume (centiliters),
BR -> respiration (Tyme Wear when present, else the recording device's HR-derived
estimate).
- **icu_get_activity_window_stats** — Compute exact SUMMARY statistics of one activity per time WINDOW (every N minutes, N equal parts, or explicit ranges) on the server, without returning raw streams.

Use for drift questions: "how did HR/power and ventilation/power develop over the
ride?", "compare 15-min blocks, ignoring everything below 120 W". Prefer this over
icu_get_activity_streams for any averaging; use icu_get_activity_intervals for the
activity's own laps.

Each window has `icu` — computed by Intervals.icu on the whole window (avg/NP watts,
HR, decoupling, breath rate, ventilation, tidal volume, DFA a1, plus hr/ve/br per watt)
— and, when
`streams` or a power filter is given, `filtered` — mean/median/min/max computed here on
samples passing the filter, plus <stream>_per_watt. `analysis` adds Intervals.icu's
whole-ride Pw:HR decoupling and each ratio's drift vs the first window.

Breath rate comes from Tyme Wear (measured), else the HRV app (custom stream on FIT
field RespirationRate), else the recording device (head unit/watch, `device` names
it); the last two are HR-derived estimates —
`breath_rate_source` says which and whether it was measured.
Aliases: VE -> tidal_volume_min, VT -> tidal_volume, BR -> respiration (or the HRV
stream). Missing streams are reported with suggestions.
- **icu_get_activity_intervals** — Fetch the per-LAP / per-interval breakdown of one activity — each segment with its target, actual power/HR/pace, and type (warm-up / work / rest / cool-down).

Use for workout-compliance analysis, lap-by-lap review,
"did I hit my intervals?". For headline summary metrics use
get_activity_details; for raw second-by-second data use
get_activity_streams.
- **icu_get_best_efforts** — Find the top-N peak efforts WITHIN a single activity for a given stream + target duration or distance.

Different from get_*_curves (which span many activities). Useful for
"what was my best 20-min power on this ride?" or "show my top 5k
splits in this run." Requires at least one of duration or distance.
- **icu_search_intervals** — Search intervals ACROSS ALL the athlete's activities (cross-activity).

Different from icu_get_activity_intervals (single-activity). Use to track
progress on a workout type ("all my threshold intervals over the last
year") or find comparable historical sessions. Returns the activities
containing matching intervals, each with an `interval_summary` like
"2x 8m 162w" (reps x duration at target).
- **icu_get_power_histogram** — Time-in-zone DISTRIBUTION of power within a single activity (histogram buckets, time per bucket).

Different from icu_get_power_curves (best efforts across many activities).
Use for "how was my workout intensity distributed?", training-zone
breakdown.
- **icu_get_hr_histogram** — Time-in-zone DISTRIBUTION of heart rate within a single activity (histogram buckets, time per bucket).

Different from icu_get_hr_curves (best efforts across many activities).
Use for cardiovascular load breakdown and HR-zone time-in-zone.
- **icu_get_pace_histogram** — Time-in-zone DISTRIBUTION of pace within a single running activity (histogram buckets, time per bucket).

Different from icu_get_pace_curves (best efforts across many activities).
Use for pace-distribution / consistency analysis. For elevation-
normalized pace use icu_get_gap_histogram.
- **icu_get_gap_histogram** — Time-in-zone DISTRIBUTION of grade-adjusted pace (GAP) within a single activity — elevation-normalized.

Use for trail running where raw pace is misleading. For raw (non-
elevation-normalized) pace use icu_get_pace_histogram.
- **icu_list_athletes** — List the athletes this account can access — the caller plus anyone they follow or coach.

Call this FIRST whenever a request concerns someone other than the default
athlete, to resolve a name to the athlete_id that other tools take. Returns
each athlete's access level, so you know before calling whether a write will
be permitted, plus any tags and a short preview of the athlete notes. Entries
with notes_truncated=true have longer notes; icu_get_athlete_profile returns
the full text.
- **icu_get_athlete_profile** — Get an athlete's profile — sport settings (outdoor/indoor FTP, FTHR, pace) and current CTL/ATL/TSB.

Also returns the free-text athlete notes (Markdown) when set; change them
with icu_update_athlete_notes. Defaults to the authenticated athlete; coaches
can pass athlete_id to read one of their managed athletes instead.
- **icu_update_athlete_notes** — REPLACE the free-text notes kept on an athlete's own record — not an activity comment or a calendar note.

Use for standing context about the athlete: "note on my profile that I'm
injured", "update my athlete notes". The whole text is overwritten, so to add
to existing notes read them first with icu_get_athlete_profile and send the
combined text. For a comment on one activity use icu_add_activity_message;
for a dated calendar note use icu_create_event.
- **icu_get_fitness_summary** — Get an athlete's current fitness / fatigue / form snapshot — CTL, ATL, TSB, ramp rate, with interpretation and training recommendations.

Use for "how's my form?", "am I overtrained?", training-status checks.
Defaults to the authenticated athlete; coaches can pass athlete_id to read
one of their managed athletes instead.
- **icu_get_fitness_chart** — Fetch the Performance Management Chart time-series — daily CTL, ATL, and TSB.

Returns past history plus future projections from planned calendar workouts.
Use for: "show my fitness chart", "CTL trend last 90 days", "projected form
at end of my block", "what will my TSB be in 3 weeks".
NOT for: today's training recommendations (icu_get_fitness_summary), HRV/sleep/
recovery trends (icu_get_wellness_data), or one day's full wellness record
(icu_get_wellness_for_date).
- **icu_get_wellness_data** — Fetch wellness records over a RANGE of recent days (default last 7).

Use for trends, weekly summaries, "how has my sleep been this week?",
recovery curves. For PMC/fitness chart CTL/ATL/TSB series use
icu_get_fitness_chart. For a single specific date use
icu_get_wellness_for_date instead — this tool always returns a multi-day list.
- **icu_get_wellness_for_date** — Fetch the wellness record for ONE specific date.

Use when the user names a date — "show my HRV for Monday",
"wellness on 2026-03-15", "how did I sleep last Thursday?". For
ranges, weeks, or trends use icu_get_wellness_data.
- **icu_update_wellness** — Upsert wellness data for ONE specific date — creates the record if missing, otherwise updates the fields you pass.

Only provided fields are sent. Subjective scales (fatigue, soreness,
stress, mood, motivation, injury) are 1-5. Pass `locked=True` to stop
device sync from overwriting manual entries. Pass `custom_fields` to set
user-defined wellness fields by INPUT_FIELD code; unknown codes are rejected
and null clears a value. Writes to the authenticated athlete unless
athlete_id names a managed athlete.
- **icu_get_calendar_events** — Fetch ALL calendar entries in a date window — workouts, notes, races, goals, life-event blocks.

Use for "what's on my calendar?", "show this week", broad calendar
queries. For just the planned WORKOUT entries (filtered) use
icu_get_upcoming_workouts. For one specific event by ID use get_event.
- **icu_get_upcoming_workouts** — Fetch the planned WORKOUT entries dated on the upcoming CALENDAR (filters out notes, races, goals) — these are calendar EVENTS, not workout-library templates.

Use for "what's my next workout?", "what training is planned". Each `id` is
a calendar event ID: pass it to icu_get_event / icu_update_event /
icu_delete_event, never to the icu_*_workout library tools. For every
calendar entry type use icu_get_calendar_events; for reusable templates
stored in the library use icu_get_workouts_in_folder. hide_from_athlete /
athlete_cannot_edit appear only when set (change them with
icu_bulk_update_event_access).
- **icu_get_event** — Fetch ONE specific calendar event by ID — full details including description, workout structure, and metrics.
- **icu_get_seasons** — List the athlete's training SEASONS defined in Intervals.icu (name, start, end, curve ID).

Use for "which seasons do I have?", or before comparing seasons: pass a
season's curve_id ('s0' = current, 's1' = previous, ...) to
icu_get_power_curves. A season runs until the day before the next one
starts; the newest season is open-ended.
- **icu_get_annual_training_plan** — Read the Annual Training Plan (ATP) on the calendar — weekly load targets (TSS), Base/Build/Peak phases, and ATP week notes.

Use when the user asks: "what's my weekly TSS target?", "what training phase
am I in?", "show my periodization plan", "when are my recovery weeks?",
"what's the note on this training week?".
Defaults to a 365-day forward window so the full ATP is returned; pass a
smaller days_ahead/days_back when the user asks about a specific month or week.
NOT individual planned workouts (icu_get_upcoming_workouts), NOT all calendar
entries (icu_get_calendar_events), NOT workout-library plan folders
(icu_get_workout_library / icu_apply_training_plan).
- **icu_create_event** — Create ONE new calendar event from scratch.

For two or more events in a single call, prefer icu_bulk_create_events
over a loop. For copying existing events forward in time (repeating
a workout for N weeks), use icu_duplicate_events — that tool reuses an
existing event's payload instead of taking new fields.

For category guidance and the training_availability enum, read the
intervals-icu://event-categories resource. For structured WORKOUT events,
put workout-syntax text in `description` — see intervals-icu://workout-syntax.
- **icu_update_event** — Update an existing calendar event.

Only fields you pass are sent — other fields remain unchanged. For category
and training_availability semantics, see intervals-icu://event-categories.
For WORKOUT `description` syntax, see intervals-icu://workout-syntax.
- **icu_delete_event** — Permanently delete ONE calendar event by ID. Destructive — cannot be undone.

In `safe` delete mode (default), past events are refused and reported
in the `skipped` envelope with a hint about INTERVALS_ICU_DELETE_MODE=full.
Returns a `deleted` / `skipped` envelope either way.
- **icu_bulk_create_events** — Create MANY new calendar events in a single batch call (more efficient than looping create_event).

Accepts a JSON array of event objects, each shaped like an icu_create_event
payload. For copying existing events forward use icu_duplicate_events
instead — that reuses payloads rather than taking new fields. See
intervals-icu://event-categories and intervals-icu://workout-syntax
for the referenced enums and DSL.
- **icu_bulk_update_event_access** — Hide/reveal or lock/unlock MANY planned WORKOUT calendar events at once.

Sets the web UI's "Hide from athlete" and "Athlete cannot edit" checkboxes —
e.g. build a training block ahead of time, hide it, and reveal it week by
week, or lock key sessions. Only the flags you pass are changed. Only
WORKOUT events are touched: notes, races and targets are reported under
`skipped`. IDs are calendar event IDs (from icu_get_calendar_events /
icu_get_upcoming_workouts), not workout-library IDs. For one event use
icu_update_event.
- **icu_bulk_delete_events** — Delete MANY calendar events in a single batch call. Destructive — cannot be undone.

In `safe` delete mode (default), the call partitions the input list
into `deleted` (future) and `skipped` (past or undated) and returns
both. INTERVALS_ICU_DELETE_MODE=full disables the partition.
- **icu_duplicate_events** — COPY existing events forward in time by N weeks.

Use when the user says "repeat this workout for the next 4 weeks",
"duplicate Monday's run on the next 3 Mondays". Reuses the existing
events' payloads — different from icu_create_event / icu_bulk_create_events,
which both build NEW events from scratch.
- **icu_apply_training_plan** — Schedule an entire training plan (workout-library folder) onto the athlete's calendar starting on a chosen date.

Use after icu_get_workout_library to find a plan's folder_id. Different
from icu_create_event / icu_bulk_create_events (which build new events) and
from icu_duplicate_events (which copies existing).
- **icu_get_power_curves** — Fetch the power-vs-duration curve — best (highest) sustained watts and W/kg across durations from 5s up to 6h, aggregated over the chosen window.

Use for FTP estimation, peak-power tracking, durability, strengths/weaknesses
across duration profiles. Includes fitted power models (CP, W', Pmax, FTP),
the VO2max estimate and MAP when Intervals.icu provides them. Pick ONE window: days_back, time_period,
start_date/end_date, season, or periods (to compare several, e.g.
['s0', 's1', 'all']). Default is the last 90 days. For time-in-zone
*distribution* within a single activity, use icu_get_power_histogram instead.
- **icu_get_hr_curves** — Fetch the HR-vs-duration curve — best (highest) sustained HR across durations from 5s up to 1h, aggregated over the chosen window.

Use for cardiovascular-fitness trends. For the athlete's HR zones and max
HR, call icu_get_sport_settings — this tool does not return zone bands, and
its peak_hr_bpm is the top of this curve, which Intervals.icu has already
clipped to the configured max HR at import. For time-in-zone *distribution*
within a single activity, use get_hr_histogram instead.
- **icu_get_pace_curves** — Fetch the pace-vs-distance curve — best (fastest) time and pace over distances from ~50 m up to the athlete's longest effort, aggregated over the chosen window.

Peak efforts are reported at standard distances (400 m, 1 km, mile, 5 km,
10 km, half marathon, marathon) when the curve reaches them. The summary's best
pace is almost always set over the shortest distances (tens of metres), so
compare peak_efforts rather than that headline figure. Use for run/swim
fitness trends and race-time predictions. Pass `use_gap=True` to normalize
for hills via Grade-Adjusted Pace. For time-in-zone *distribution* within a
single activity, use get_pace_histogram (or get_gap_histogram) instead.
- **icu_get_workout_library** — List all workout-library folders + training plans the athlete has access to (personal, shared, and followed plans).

Each folder ID can be passed to icu_get_workouts_in_folder to see its
contents, or to icu_apply_training_plan to schedule it onto the calendar.
- **icu_get_workouts_in_folder** — List the workouts stored in one specific library folder or training plan — name, type, structure, training load, intensity factor.
- **icu_create_workout** — Save ONE new reusable workout into a LIBRARY folder or training plan — it does not go on the calendar.

To schedule a workout on a date use icu_create_event. For two or more
library workouts use icu_bulk_create_workouts; to change a saved one use
icu_update_workout. Make a new folder or plan with icu_create_workout_folder,
and put a plan's workouts on the calendar with icu_apply_training_plan.
- **icu_update_workout** — Change fields on an EXISTING library workout — only the fields you pass are sent.

To save a new workout use icu_create_workout. This edits the library workout
only; calendar events are separate records changed with icu_update_event.
- **icu_delete_workout** — Permanently delete ONE workout from the LIBRARY. Destructive — cannot be undone.

Removes the library workout only; calendar events are separate records
deleted with icu_delete_event. Confirm with the user before calling if unsure.
- **icu_bulk_create_workouts** — Save MANY new reusable workouts into LIBRARY folders or plans in one call — e.g. filling out a training plan.

Each item is shaped like an icu_create_workout call. Nothing lands on the
calendar: for dated calendar workouts use icu_bulk_create_events, and to
schedule a finished plan use icu_apply_training_plan.
- **icu_create_workout_folder** — Create a new LIBRARY folder or training PLAN to hold workouts — not a calendar item.

Pass the returned id as folder_id to icu_create_workout or
icu_bulk_create_workouts. To browse existing folders use icu_get_workout_library.
- **icu_delete_workout_folder** — Permanently delete ONE library folder or training plan AND every workout in it.

Destructive — cannot be undone. Calendar events already applied from a plan
stay on the calendar (delete those with icu_delete_event); to remove a single
library workout use icu_delete_workout. In `safe` delete mode (default), a
folder that still holds workouts is refused and reported in the `skipped`
envelope. Confirm with the user before calling if unsure.
- **icu_get_gear_list** — List all gear items with usage stats (distance, time, activity count) and maintenance reminders.
- **icu_create_gear** — Create a new gear item for tracking equipment usage and maintenance (bikes, shoes, trainers, etc.).
- **icu_update_gear** — Update an existing gear item. Only fields you pass are sent.
- **icu_delete_gear** — Permanently delete a gear item and its maintenance reminders. Activities that used this gear are not affected.
- **icu_create_gear_reminder** — Create a maintenance reminder for a gear item, triggered by distance, time, or both.
- **icu_update_gear_reminder** — Update an existing gear maintenance reminder. Only fields you pass are sent.
- **icu_get_sport_settings** — Get per-sport thresholds and the athlete's configured power/HR/pace zones.

Returns outdoor/indoor FTP, FTHR, max HR, running pace and swim threshold, plus the
zone sets configured in Intervals.icu (HR zones in bpm, power zones as %FTP, pace
zones as % of threshold pace) with their names.

This is the ONLY source of the athlete's real zones. Intervals.icu derives them from
the threshold (unless set explicitly) and stamps them into every activity at import,
so time-in-zone, HRSS and TSS are all computed from these — reasoning about zones from any other number puts the
answer at odds with the athlete's own charts. Zones are not derived from curve data.
- **icu_update_sport_settings** — Update sport settings: thresholds, explicit HR/power zones, custom field defaults.

Explicit zones replace the threshold-derived ones (e.g. to match a lab test).
Changes apply from now on; past activities keep the zones they were analysed with.
To re-zone past activities, tell the user to use Update zones in the Intervals.icu
activity list view (not in the API).
- **icu_create_sport_settings** — Create a per-sport threshold record with outdoor/indoor FTP, FTHR, pace, or swim settings.
- **icu_get_activity_messages** — Read the notes and comments attached to a specific activity (plural = READ).

Use when the user asks: "what did my coach say about that ride?",
"show me the comments on yesterday's run", "any feedback on this
workout?". Returns every message in chronological order with author,
content, timestamp, and seen-flag. Deleted notes stay in the thread as a
"(deleted)" placeholder with a `deleted` timestamp. To POST a new message use
icu_add_activity_message (singular = WRITE).
- **icu_add_activity_message** — POST a new note or comment on a specific activity (singular = WRITE).

Use when the user wants to leave a note on one of their activities:
"add a note to this ride that I felt strong", "comment on yesterday's
run", "leave a training note saying...". Attributed to the authenticated
user. To READ existing notes use icu_get_activity_messages (plural).
- **icu_update_activity_message** — REPLACE the text of an existing note on an activity (edit, not add).

Use when the user wants to fix or rewrite a note they already left:
"correct my note on that ride", "change the comment to say...". Only the
author's own notes can be changed. Returns the old and the new text — the
old text is not recoverable otherwise. To post an additional note use
icu_add_activity_message.
- **icu_delete_activity_message** — DELETE one of your own notes from an activity.

Use when the user wants a note removed: "delete my comment on that run",
"remove the note I left yesterday". Only the author's own notes can be
deleted. Intervals.icu keeps a "(deleted)" placeholder in the thread.
Returns the deleted text so it can be re-posted with
icu_add_activity_message if needed (the original timestamp is lost).
- **icu_get_custom_items** — List the user's custom additions to their Intervals.icu account.

Use this when the user asks about THEIR OWN customizations: "show my
custom charts", "list my custom fields", "what custom zones do I have",
"what's on my dashboard", "do I have any custom activity panels".

Returns every custom item across all types in one call: custom charts
(FITNESS_CHART, TRACE_CHART, ACTIVITY_CHART, ACTIVITY_HISTOGRAM,
ACTIVITY_HEATMAP, ACTIVITY_MAP, ACTIVITY_PANEL, FITNESS_TABLE), custom
data fields (INPUT_FIELD on wellness, ACTIVITY_FIELD on activities,
INTERVAL_FIELD on intervals), custom ACTIVITY_STREAM definitions, and
custom ZONES configurations. Each item has a `type` field so you can
filter client-side if the user asked about a specific kind.

Do NOT use this for built-in zones, built-in fields, or athlete profile
data — those have dedicated tools (icu_get_sport_settings, etc.).
- **icu_get_custom_item** — Fetch the full configuration of ONE custom addition by ID.

Use AFTER icu_get_custom_items has returned an ID when the user wants
to inspect a specific chart/field/zone/panel — the `content` field
here is the same as in the list, just focused on one item.
- **icu_create_custom_item** — Create a custom addition to the user's Intervals.icu account.

Use when the user says things like: "add a custom field for RPE", "create
a custom power zone set", "add a chart for monthly distance". Match the
user's intent to the right `item_type` (see that param's description). For
the `content` schema per item_type, read intervals-icu://custom-item-schemas.
- **icu_update_custom_item** — Modify an existing custom chart/field/zones/panel.

Use when the user wants to change one of their existing customizations:
"rename my custom field", "make this chart public". Usually need
icu_get_custom_items first to find the right `item_id`. Only fields you
pass are sent — others are left unchanged. For `content` schema, see
intervals-icu://custom-item-schemas.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "intervals-icu-mcp": {
    "command": "uvx",
    "args": ["intervals-icu-mcp"],
    "env": {
      "INTERVALS_ICU_API_KEY": "",
      "INTERVALS_ICU_ATHLETE_ID": ""
    }
  }
}
```

**Requires environment variables:** `INTERVALS_ICU_API_KEY`, `INTERVALS_ICU_ATHLETE_ID` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What intervals-icu-mcp does

The intervals-icu-mcp MCP server gives an AI client access to an Intervals.icu athlete account. Its coverage includes activity records and analysis, wellness measurements, athlete profile data, events and calendar items, performance curves, workout-library entries, gear, sport settings, and custom items.

It also lists four MCP resources for athlete profile information, workout syntax, event categories, and custom-item schemas. Nine prompt templates cover areas such as training analysis, recovery checks, and weekly planning.

The documentation contains inconsistent totals: the overview says 69 tools, while the available-tools table says 68. The category descriptions and capabilities above are supported without relying on that total.

## How it works

The intervals-icu-mcp MCP server communicates with clients over MCP stdio. A client launches the package, and the server uses the supplied Intervals.icu credentials to access the athlete account. Requests can be written in natural language, such as asking for recent activities, recovery trends, training-load values, or a performance metric.

The recommended launcher is `uvx intervals-icu-mcp`, which retrieves and caches the package and its Python environment through uv. The project also supports running from a local checkout and running in Docker.

## Setup and configuration

Create an Intervals.icu API key under Settings → Developer → Create API Key, and copy the athlete ID from the profile URL. The athlete ID uses a format such as `i123456`.

Set these environment variables for the recommended configuration:

- `INTERVALS_ICU_API_KEY`: the API key created in Intervals.icu.
- `INTERVALS_ICU_ATHLETE_ID`: the target athlete identifier.

For Claude Desktop, add an MCP entry whose command is `uvx`, whose argument is `intervals-icu-mcp`, and whose environment contains both values. Cursor uses a comparable `mcp.json` entry. Claude Code can register the same command with its `claude mcp add` command. Source users can clone the repository, run `uv sync`, and use the included authentication setup command. Docker users can build the image and mount an environment file.

## Tools and capabilities

The intervals-icu-mcp MCP server supports these documented areas:

- Activities: retrieve, search, modify, remove, or download activity data.
- Activity analysis: inspect streams, intervals, best efforts, and histograms.
- Activity messages: read and post notes, comments, and coach feedback.
- Athlete, wellness, events, performance curves, workout library, gear, sport settings, and custom items.
- MCP resources for profile data, workout syntax, event categories, and custom-item schemas.
- MCP prompts for training analysis, recovery review, and planning workflows.

The README’s example requests include showing activities from a selected period, reviewing CTL, ATL, and TSB, examining HRV and sleep trends, creating a sweet-spot cycling workout, and checking 20-minute power or FTP.

## Limitations and notes

Credentials are required before the server can access account data.

The server is intended for MCP-compatible clients. The README provides configurations for Claude Desktop, Claude Code, and Cursor, and separately documents ChatGPT connectivity. It does not describe client-specific setup for other applications.

_Full upstream README: https://allmcps.com/mcp/intervals-icu-mcp/readme_

