Strava MCP server
io.github.r-huijts/strava-mcp·v1.0.1·492 starsMCP server for accessing Strava API
492 stars103 downloads/wk
Reviews
Write oneNobody has reviewed Strava yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Strava tools (18)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
explore-segmentsSearches for popular segments within a given geographical area.
export-route-gpxExports a specific Strava route in GPX format and saves it to a pre-configured local directory.
export-route-tcxExports a specific Strava route in TCX format and saves it to a pre-configured local directory.
format-workout-fileFormats a workout plan into a structured file format (currently supports Zwift .zwo)
get-activity-detailsFetches detailed information about a specific activity using its ID.
get-activity-streamsRetrieves detailed time-series data streams from a Strava activity. Perfect for analyzing workout metrics,
get-all-activitiesFetches complete activity history with optional filtering by date range and activity type. Supports pagination to retrieve all activities.
get-athlete-profileFetches the profile information for the authenticated athlete, including their unique numeric ID needed for other tools like get-athlete-stats.
get-athlete-statsFetches the activity statistics (recent, YTD, all-time) for a specific athlete using their ID. Requires the athleteId obtained from the get-athlete-profile tool.
get-recent-activitiesFetches the most recent activities for the authenticated athlete.
get-routeFetches detailed information about a specific route using its ID.
get-segmentFetches detailed information about a specific segment using its ID.
get-segment-effortFetches detailed information about a specific segment effort using its ID.
list-athlete-clubsLists the clubs the authenticated athlete is a member of.
list-athlete-routesLists the routes created by the authenticated athlete, with pagination.
list-segment-effortsLists the authenticated athlete's efforts on a specific segment, optionally filtering by date.
list-starred-segmentsLists the segments starred by the authenticated athlete.
star-segmentStars or unstars a specific segment for the authenticated athlete.
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan50 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 111 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Strava compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 72/100
- higher than 38% of 48,255 servers
- Tools
- 18
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 492
- more than 95% of 28,688 servers
- Downloads a week
- 103
- more than 63% of 12,191 servers with a package
What its tools let an agent do: 18 read
Install Strava in Claude Code, Cursor or VS Code
Runs npx -y strava-mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add strava-mcp -- npx -y strava-mcp-server
What the publisher says
From the Strava repository's README, as published. We do not edit it. Read it on GitHub
Strava MCP Server
Talk to your Strava data using AI.
Connect Claude to your Strava account and ask questions in plain English: "How far did I run this month?", "Analyze my last ride", or "Show me my fastest segments."
What Can You Do With This?
Once connected, just talk to Claude like you're talking to a friend who has access to all your Strava data:
🏃 Track Your Progress
"How many kilometers did I run this month?"
"Compare my running stats from January to December"
"What's my longest ride ever?"
📊 Analyze Your Workouts
"Break down my last cycling workout - show me power, heart rate, and cadence"
"How did my heart rate zones look during yesterday's run?"
"What was my average pace for each lap in my interval training?"
🗺️ Explore Routes & Segments
"What are the most popular cycling segments near Central Park?"
"Show me my starred segments"
"Export my Sunday morning route as a GPX file"
🏆 Get Coaching Insights
"Analyze my training load this week"
"How does my current fitness compare to last month?"
"Give me a summary of my cycling performance this year"
Quick Start (3 Steps)
Step 1: Add to Claude Desktop
Open your Claude Desktop configuration file:
- Mac: ~/Library/Application Support/Claude/claudedesktopconfig.json
- Windows: %APPDATA%\Claude\claudedesktopconfig.json
Add this to the file:
{
"mcpServers": {
"strava": {
"command": "npx",
"args": ["-y", "@r-huijts/strava-mcp-server"]
}
}
}Step 1 (alternative): Add to Claude Code
You can add this MCP server to claude code with the following command:
claude mcp add --transport stdio strava -- npx @r-huijts/strava-mcp-serverYou can confirm successful instalation as follows:
% claude mcp list
Checking MCP server health...
strava: npx @r-huijts/strava-mcp-server - ✓ ConnectedStep 2: Restart Claude Desktop
Close and reopen Claude Desktop to load the new configuration.
Step 3: Connect Your Strava
Just say to Claude:
"Connect my Strava account"
A browser window will open. Enter your Strava API credentials, authorize the app, and you're done!
That's it! Start asking about your activities.
Connecting Your Strava Account
First Time Setup
When you say "Connect my Strava account", here's what happens:
- A browser window opens showing a setup page
- Enter your Strava API credentials (Client ID and Client Secret)
- Click "Continue to Strava" - you'll be redirected to Strava
- Authorize the app on Strava's website
- See the success message - you can close the browser
- Done! Claude confirms you're connected
Your credentials are saved locally at ~/.config/strava-mcp/config.json and persist across sessions.
Getting Your Strava API Credentials
You need to create a free Strava API application (one-time setup):
- Go to strava.com/settings/api
- Click "Create an App" (or view your existing app)
- Fill in the form:
- Application Name: Anything you want (e.g., "My Claude Assistant")
- Category: Choose any
- Website: Can be anything (e.g., http://localhost)
- Authorization Callback Domain: Must be localhost
- Copy your Client ID and Client Secret
That's it! You only need to do this once.
Managing Your Connection
- Check status: "Am I connected to Strava?"
- Reconnect: "Connect my Strava account" (use force: true to reconnect)
- Disconnect: "Disconnect my Strava account"
Installation Options
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Strava: common questions
- Is Strava MCP server safe?
- Mostly: it is graded B (72/100). Read the Strava safety report
- How do I install Strava?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Strava need an API key?
- Yes. The registry entry asks for
STRAVA_CLIENT_SECRET,STRAVA_ACCESS_TOKEN. - Is Strava maintained?
- The last commit was 144 days ago (2026-06-13). The latest release is v1.0.1.
- How does Strava compare with other MCP servers?
- safety score 72/100 (higher than 38% of 48,255 servers); tools 18 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.