rouvy-mcp

v0.3.0
rouvy-mcp Checked 3 days ago Published 1 month ago

Unofficial 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.

ParameterTypeDescription
limitintegerHow many Activities to return (1–50).
offsetintegerHow 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.

ParameterTypeDescription
activity_id *stringAn 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.

ParameterTypeDescription
activity_id *stringAn Activity id as returned by list_activities.
every_secintegerSplit 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.

ParameterTypeDescription
activity_id *stringAn Activity id as returned by list_activities.
end_sec *integerWindow end, in seconds from the start (after start_sec).
start_sec *integerWindow 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.

ParameterTypeDescription
activity_id *stringAn Activity id as returned by list_activities.
end_secintegerEnd, in seconds from the start (after start_sec; default the end of the Activity).
fieldsarrayWhich columns to return.
resolution_secintegerBucket length in seconds (at least 1).
start_secintegerStart, 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.

ParameterTypeDescription
limitintegerHow many Workouts to return (1–50).
offsetintegerHow 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.

ParameterTypeDescription
workout_id *stringA 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.

ParameterTypeDescription
name *string1–200 characters.
steps *arrayThe Steps in order, at least 30 s in all. A repeat is flattened: Rouvy stores and returns flat Steps.
cuesarrayText Cues shown during the Workout.
descriptionstringFree text.
route_idstringThe route to ride it on, as get_workout returns it. Default: Rouvy's suggested route.
tagsarrayTraining effects, at most 3.
visibilitystringprivate (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.

ParameterTypeDescription
workout_id *stringA Workout id as returned by list_workouts.
cuesarrayText Cues shown during the Workout.
descriptionstringFree text.
namestring1–200 characters.
stepsarrayThe Steps in order, at least 30 s in all. A repeat is flattened: Rouvy stores and returns flat Steps.
tagsarrayTraining effects, at most 3.
visibilitystringprivate (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.

ParameterTypeDescription
workout_id *stringA Workout id as returned by list_workouts.