rouvy-mcp
v0.3.0Unofficial Rouvy MCP server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_activities
List the rider's Rouvy Activities, newest first, as compact rows (id, title, type, start, moving time, distance, elevation, TSS, IF). Use the ids with the other tools.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many Activities to return (1–50). |
offset | integer | How many of the newest Activities to skip. |
get_activity
One Activity's summary, with Rouvy's own numbers (they match the Rouvy app): times, distance, elevation, kcal, NP, IF, TSS, power peaks, min/max/avg power, heart rate, cadence and speed, %FTP, time in power and HR zones, laps and route segment results. Also the Rider settings used (FTP, weight, max HR, zones) from the Activity snapshot, which data exist, and a note for each value left out.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | An Activity id as returned by list_activities. |
get_activity_intervals
Fixed-size splits of one Activity (every 5 min by default), from its per-second Activity file. For each split: start/end second, avg, NP and max power, avg power as %FTP, avg/max heart rate, avg cadence, avg speed, distance and climbing. %FTP uses the FTP from the Activity snapshot. A note says why any stat is left out.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | An Activity id as returned by list_activities. |
every_sec | integer | Split length in seconds (at least 10). |
get_window_stats
Stats for one stretch of an Activity (e.g. a climb from 20:00 to 35:00), from its per-second Activity file: the same stats as one split of get_activity_intervals, plus the best efforts (peak powers for the durations that fit), the first half vs the second half, and HR:power decoupling between them. %FTP uses the FTP from the Activity snapshot. A note says why any stat is left out.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | An Activity id as returned by list_activities. |
end_sec * | integer | Window end, in seconds from the start (after start_sec). |
start_sec * | integer | Window start, in seconds from the start of the Activity. |
get_activity_streams
Downsampled per-second data of one Activity, from its Activity file, to chart or reason about: one array per field, each value the mean of one bucket of resolution_sec_used seconds from start_sec (the last bucket may be shorter). Units: power W, heart_rate bpm, cadence rpm, speed m/s, altitude m, distance m from the start. At most 500 points per field: a finer request is served at the smallest resolution that fits. A field the Activity doesn't have is listed in missing_fields; a bucket with no data is null.
| Parameter | Type | Description |
|---|---|---|
activity_id * | string | An Activity id as returned by list_activities. |
end_sec | integer | End, in seconds from the start (after start_sec; default the end of the Activity). |
fields | array | Which columns to return. |
resolution_sec | integer | Bucket length in seconds (at least 1). |
start_sec | integer | Start, in seconds from the start (default 0). |
list_workouts
List the rider's own Workouts in their Rouvy library (the plans, not the rides), newest first, as compact rows (id, name, duration, TSS, difficulty, tags, number of Steps). Use get_workout for the Steps.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many Workouts to return (1–50). |
offset | integer | How many of the newest Workouts to skip. |
get_workout
One of the rider's own Workouts: name, description, tags, visibility, duration, TSS, IF, difficulty, route, its Steps (steady, ramp or free ride, in % FTP, with an optional cadence range) and Cues (text at a time from the start). Also rider_ftp_w, the rider's current FTP in watts, to turn watts into % FTP.
| Parameter | Type | Description |
|---|---|---|
workout_id * | string | A Workout id as returned by list_workouts. |
create_workout
Create a Workout in the rider's Rouvy library, only when they ask for one. Steps are steady, ramp or free ride, in % FTP (use get_workout's rider_ftp_w to convert watts), each with an optional cadence range; repeat a block with a repeat Step. Private unless the rider asks for public. Returns the saved Workout as Rouvy has it. If it says the outcome is unknown, call list_workouts before trying again.
| Parameter | Type | Description |
|---|---|---|
name * | string | 1–200 characters. |
steps * | array | The Steps in order, at least 30 s in all. A repeat is flattened: Rouvy stores and returns flat Steps. |
cues | array | Text Cues shown during the Workout. |
description | string | Free text. |
route_id | string | The route to ride it on, as get_workout returns it. Default: Rouvy's suggested route. |
tags | array | Training effects, at most 3. |
visibility | string | private (the default), or public only when the rider asks. |
update_workout
Change one of the rider's own Workouts, only when they ask. Give only what changes: steps, when given, replace all Steps; every field left out (cues included) keeps its current value; the route is kept. A get_workout result can be edited and passed back as is. Warning: a Workout synced from another app (TrainingPeaks, Intervals.icu…) may be overwritten by that app's next sync. Returns the saved Workout.
| Parameter | Type | Description |
|---|---|---|
workout_id * | string | A Workout id as returned by list_workouts. |
cues | array | Text Cues shown during the Workout. |
description | string | Free text. |
name | string | 1–200 characters. |
steps | array | The Steps in order, at least 30 s in all. A repeat is flattened: Rouvy stores and returns flat Steps. |
tags | array | Training effects, at most 3. |
visibility | string | private (the default), or public only when the rider asks. |
delete_workout
Delete one of the rider's own Workouts from their Rouvy library, only when they ask, and check it's gone. Warning: a Workout synced from another app (TrainingPeaks, Intervals.icu…) may come back with that app's next sync. Returns the deleted Workout's id and name.
| Parameter | Type | Description |
|---|---|---|
workout_id * | string | A Workout id as returned by list_workouts. |