Lean Race Plan MCP Server
Reads completed rides from Strava for analysis of power, heart rate, TSS/IF, time in zone, decoupling, and training load.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Lean Race Plan MCP Server
Let Claude, ChatGPT or any MCP client run your cycling training. Your AI can plan and rebalance workouts, read your fitness, fatigue and form (CTL/ATL/TSB), analyse your rides, fix the TSS of rides without a power meter and manage your weight goal and daily calorie targets. Every planned workout then shows up on Zwift or your Wahoo.
π leanraceplan.com Β· π€ Make ChatGPT or Claude your cycling coach Β· π΄ Send your plan to Zwift & Wahoo Β· π Training methodology
This repository holds documentation and registry metadata only. The server is hosted by Lean Race Plan, so there is nothing to install or run yourself.
Example prompts
Once connected, talk to your AI the way you would talk to a coach:
"Plan my next two weeks toward my gravel race on the 14th. Max 1 hour on weekdays, long ride on Saturday."
"I skipped Tuesday's intervals. Rebalance the rest of the week."
"What's my form going into Saturday's race? Should I rest tomorrow?"
"Make Thursday 3Γ12 min sweet spot at 90% FTP with 4 min easy in between."
"Yesterday's MTB race had no power meter. It felt like an 8 out of 10, log it."
"How much did my heart rate drift on Sunday's long ride?"
"I weighed 71.4 kg this morning. Am I still on track for 69 kg by March?"
"I'm at a wedding on Saturday, set my calories to 3,000 that day."
Your AI reads the current state first and asks you to confirm before it changes anything.
Related MCP server: TrainingPeaks MCP Server
How it fits together
Lean Race Plan β your AI (Claude, ChatGPT, β¦) β Intervals.icu β Zwift / Wahoo
β
Strava (completed rides)Lean Race Plan holds your plan, profile, training load and calorie targets.
Your AI reads and edits it through this MCP server.
Intervals.icu (optional, free) pushes every planned workout to Zwift or your Wahoo as a structured workout. Change the plan and the device follows.
Strava (optional) supplies your completed rides for analysis and training load.
Requirements
A free Lean Race Plan account. The connector and the full toolset, including the tools that write, are free.
An MCP client that supports remote servers over Streamable HTTP. In Claude and ChatGPT, custom connectors require a paid plan (Claude Pro, Max or Team; ChatGPT Plus, Pro or Team).
Connect
Sign in and open Settings β Claude & ChatGPT connector.
Generate your personal connector URL. It looks like:
https://www.leanraceplan.com/api/mcp/lrp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxAdd it to your AI:
Client
Where
Claude (web, desktop, mobile)
Settings β Connectors β Add custom connector β paste the URL
ChatGPT
Settings β Apps & Connectors β Advanced β turn on Developer mode β Create β paste the URL, no authentication
Claude Code
claude mcp add --transport http leanraceplan <your-url>Cursor
~/.cursor/mcp.jsonβ{"mcpServers": {"leanraceplan": {"url": "<your-url>"}}}VS Code
user
mcp.jsonβ{"servers": {"leanraceplan": {"type": "http", "url": "<your-url>"}}}Ask: "What's on my training plan this week?"
Step-by-step instructions for every client: docs/setup.md.
Keep your URL private. It contains a secret key, and anyone who has it can read and change your training plan. You can regenerate or revoke it in Settings at any time.
Tools
Tool | What it does |
Training plan | |
| Planned workouts for a date range: type, duration, target TSS, zones, watts and interval blocks |
| Add one workout or a whole block, optionally replacing what is planned in that period |
| Move, reshape, complete, skip or delete a workout |
Rides | |
| Completed rides from Strava with power, heart rate, TSS/IF and where the TSS comes from |
| One ride in full: NP, best 5 s / 1 / 5 / 20 min, time in zone, decoupling, efficiency factor |
| Log how hard a ride felt (1β10), so a ride without a power meter gets a proper TSS |
| Set the TSS of a ride by hand, or clear it |
Fitness | |
| CTL (fitness), ATL (fatigue), TSB (form) and weekly ramp rate |
| FTP, weight, height and active goals |
Weight & fuelling | |
| Weight goal, required deficit and whether the planned training gets you there in time |
| Set or change the goal; every future calorie target follows |
| Daily calorie targets and how each one is built up |
| One-off exception for a single day |
| Store a weigh-in |
| Weigh-ins, 7-day average and fluid-filtered trend |
Parameters and details: docs/tools.md.
Privacy & data
The connector reads and writes the training data in your own Lean Race Plan account and nothing else. What is stored, and how to export or delete it, is described in the privacy policy. Revoking the URL in Settings cuts off access immediately.
Support
Questions or problems: leanraceplan.com/contact, or open an issue in this repository.
License
The documentation in this repository is licensed under CC BY 4.0. The Lean Race Plan service and server are proprietary.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
AI cycling coach: training plans, workouts, nutrition, strength training, Strava, Garmin and Wahoo.
AI-native training platform for cyclists and runners: calendar, rides, readiness, sourced science.
Create structured workouts and push them to Apple Watch or Garmin.
Your endurance training data in your AI assistant: activities, recovery, plan, workout edits.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to query and create workouts with structured intervals, manage calendars and events, analyze power PRs and CTL/ATL/TSB fitness trends, handle workout libraries, equipment and health metrics through natural language. Uses secure cookie-based authentication stored in the system keyring, so no API approval is required and any account can be set up in minutes.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to query and analyze workouts, build structured intervals, manage calendars, events and libraries, and track fitness metrics such as CTL/ATL/TSB and power PRs through natural language. Uses secure cookie authentication stored in the system keyring, so no API approval or special account permissions are required.-
- FlicenseNot gradedqualityAmaintenanceEnables athletes and coaches to query workouts, build structured intervals, manage calendars, events, health metrics and multi-week plans, and track CTL/ATL/TSB fitness and power PRs through natural language. Uses secure cookie-based authentication that any account can set up in minutes, with no API approval required.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude, Code, Cowork, and other AI assistants to query workouts, build structured intervals, manage calendars, log health metrics, track CTL/ATL/TSB fitness trends and power PRs, and control training data through natural language. Uses secure cookie authentication so any account can connect without official API approval.-