🚴

Intervals Agent

Agent

AI cycling coach powered by intervals.icu

Your personal cycling coach that analyzes your training data from intervals.icu and creates smart, periodized workouts tailored to your current fitness, fatigue, and goals.

MCP Server URL

https://mcp.q5m.io/intervals-agent/

How to connect

  1. 1. Copy the URL above
  2. 2. Paste it into Claude Chat, ChatGPT, Claude Code, or any MCP client
  3. 3. Sign in to q5m when prompted to authorize

Tools (10)

get_athlete_profile

Fetch the athlete's profile from intervals.icu. Returns FTP, weight, max HR, resting HR, power/HR zones, and sport settings.

get_recent_activities

Fetch the athlete's recent activities/rides. Returns date, type, name, duration, distance, TSS, IF, normalized power, and average power for each. Use this to understand recent training load and patterns.

get_activity_intervals

Get detected intervals for a completed activity. Returns per-interval metrics: duration, avg/max power, avg/max HR, avg cadence, normalized power, and interval type (work/rest/warmup/cooldown). Use this to analyze structured workouts rep-by-rep — power fade across sets, HR ceiling drift, recovery quality, etc.

get_activity_streams

Get second-by-second time-series data for a completed activity. Returns arrays of values for requested stream types (power, HR, cadence, etc.). Use for power curve analysis, HR recovery kinetics, or building custom visualizations. Can be large — prefer get_activity_intervals for structured workout analysis.

get_wellness_data

Fetch the athlete's daily wellness/readiness data. Returns CTL (fitness), ATL (fatigue), TSB (form), resting HR, HRV, sleep hours, sleep quality, soreness, fatigue, mood, and weight for each day.

get_upcoming_events

Fetch upcoming planned events (workouts, races, notes) on the athlete's intervals.icu calendar. Use this to avoid scheduling conflicts.

compute_workout_metrics

Compute TSS, IF, and duration for a workout description using the same deterministic parser used in the preview. Call this after drafting a workout to verify it hits your targets before calling create_workout_event. If the result is off, revise the workout and recheck — but limit self-correction to 3 attempts; if you can't converge, go with the closest result and note the discrepancy.

create_workout_event

Create a structured workout event on the athlete's intervals.icu calendar. The workout is defined using intervals.icu workout text syntax in the description field. The server parses this text into a structured workout.

delete_workout_event

Delete an existing planned workout event from the athlete's intervals.icu calendar. Only use this when there is a conflicting WORKOUT event on the target date AND the user has confirmed they want it deleted. Never delete RACE or NOTE events.

save_profile

Save or update the athlete's coaching profile — training goals, periodization phase, weekly volume targets, equipment, scheduling constraints, and preferences. Content should be structured markdown. Call get_agent_instructions first to load your full playbook.

Powered by

Sign up to connect your account and start using Intervals Agent

Get Started