strava-coach-mcp
Provides tools for retrieving Strava run data, including recent runs with pace/heart-rate/elevation, weekly and monthly statistics, structured coaching summaries, and athlete profile/all-time totals.
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.
strava-coach-mcp
Talk to Claude about your runs. Get AI coaching from your actual Strava data.
What is this?
strava-coach-mcp is a Model Context Protocol server that connects your Strava account to Claude Desktop. Once set up, you can ask Claude anything about your training — no dashboards, no exports, just chat.
You: How was my training this week?
Claude: You ran 3 times this week — 38.4 km total. Your Tuesday tempo run
was your strongest (5:12/km avg pace). Volume is up 18% vs last week.
Consider an easy recovery run before your next hard effort.
You: What should I focus on next month based on my recent runs?
Claude: Based on your last 4 weeks: your aerobic base looks solid but long
run distance has stagnated at ~14 km. I'd suggest one progressive
long run per week, targeting 90 min by end of month. Your pace has
improved 8 seconds/km over the period — keep the easy days easy.No Strava Premium required. The Strava API is free for all registered users.
Related MCP server: Strava MCP Server
Tools exposed to Claude
Tool | Description |
| Last N runs with pace, HR, elevation, distance |
| Total km, time, avg pace for any week |
| Monthly mileage with week-by-week breakdown |
| Structured training load for AI coaching analysis |
| Your Strava profile and all-time run totals |
Setup — ~5 minutes, one time
1. Create a free Strava API app
Go to strava.com/settings/api and create an app.
Application Name: anything (e.g.
My Coach)Category: Data Importer
Authorization Callback Domain:
localhost
Copy your Client ID and Client Secret.
2. Clone and install
git clone https://github.com/supreetsingh672/strava-coach-mcp.git
cd strava-coach-mcp
pip install -e .3. Configure credentials
cp .env.example .envEdit .env:
STRAVA_CLIENT_ID=your_client_id_here
STRAVA_CLIENT_SECRET=your_client_secret_here4. Authorize with Strava (one time only)
python scripts/auth.pyThis opens your browser, you click Authorize, and your tokens are saved locally at ~/.strava_coach_tokens.json. The server auto-refreshes tokens after that — you never need to do this again.
5. Add to Claude Desktop
Edit your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"strava-coach": {
"command": "python",
"args": ["/absolute/path/to/strava-coach-mcp/src/strava_coach/server.py"]
}
}
}Replace /absolute/path/to/strava-coach-mcp with your actual path. On Mac you can find it by running pwd inside the project folder.
6. Restart Claude Desktop
That's it. You should see strava-coach appear in Claude's tools. Start chatting.
Example prompts
How was my training this week?
Show me my mileage for the last 4 weeks
Am I overtraining? Compare this week to last week
What should my focus be next month based on my recent runs?
How has my pace improved over the last 30 days?
Give me a coaching plan for next week based on my current load
What was my longest run this month?
How many km did I run in March vs February?Project structure
strava-coach-mcp/
├── src/
│ └── strava_coach/
│ ├── server.py # MCP server + all tool definitions
│ ├── strava.py # Strava API client + token refresh
│ └── __init__.py
├── scripts/
│ └── auth.py # One-time OAuth setup
├── .env.example
├── requirements.txt
├── setup.py
└── README.mdPrivacy
Tokens are stored locally on your machine only (
~/.strava_coach_tokens.json)No data is sent anywhere except Strava's API and Claude (via MCP)
The
.gitignoreensures.envand token files are never committed
Contributing
PRs welcome. Ideas for next features:
Segment performance tracking
Race predictor (5K/10K/half marathon)
Heart rate zone breakdown
Shoe mileage tracker
Compare to same period last year
License
MIT — see LICENSE
Built by @supreetsingh672
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
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
tri-train is a training platform for triathletes that syncs activities from Strava and Garmin and exposes them to Claude through a remote MCP server. Ask Claude how your last block went, why your run pace dropped, or whether you are fresh enough for Sunday's race, and it answers from your real data: activities with laps and grade-adjusted pace, weekly load and the performance management chart (CTL/ATL/TSB), sleep, HRV and resting heart rate, and your race calendar with predictions. Claude can also act: create and adjust planned workouts with structured intervals, push them to your Garmin watch, add races and write notes. Every change is journaled and can be undone. Read and write access are separate OAuth scopes, and the server enforces them on every call. Built and hosted in Switzerland by a triathlete; data stays on our own servers (Swiss revDSG / GDPR).
Strava MCP server for ChatGPT, Claude and any AI agent: list activities, update activity gear, read club leaderboard, comment on activity, log manual activity and request account export in your own Strava account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Strava yourself; Cotlet does not store your password and you need no Strava API key. About the official Strava API: Strava has an official API and, since 1 June 2026, an official MCP connector (checked 27 Oct 2026). The MCP is read-only, works with Claude only and needs a paid Strava subscription. Setup and FAQ: https://cotlet.dev/integrations/strava-api-mcp-server
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Related MCP Servers
- AlicenseBqualityDmaintenanceConnects Claude to the Strava API to provide direct access to fitness data, including athlete statistics, detailed activity logs, and time-series performance metrics. It enables users to analyze training progress, compare workouts, and retrieve specific segment details through natural language queries.8MIT
- FlicenseAqualityDmaintenanceConnects Claude to your Strava account for analyzing training, predicting race times, and generating periodized training plans via natural language.13-
- AlicenseNot gradedqualityCmaintenanceConnects Claude to Strava data for natural language queries about rides, stats, and activities.8 npmMIT
- AlicenseAqualityDmaintenanceConnects Claude to your Strava account so you can query your activities, stats, routes, and segments using natural language.2717 npm1MIT