Loading...

Connect Claude to your Strava data for workout analysis, progress tracking, and route exploration using natural language.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Connect Claude to your Strava data for workout analysis, progress tracking, and route exploration using natural language.
This MCP server provides convenient access to Strava data with reasonable safety measures. The primary risk lies in potential vulnerabilities in the server code that could expose user data or allow unauthorized actions. It is relatively safe for read-only operations but requires caution when using write operations.
Performance depends on the Strava API response times. Large datasets may take longer to retrieve and process. The compact activity stream format helps reduce payload size.
Using this MCP server consumes Strava API calls, which are subject to rate limits. Be mindful of usage to avoid exceeding limits and incurring costs (if applicable based on Strava's API terms).
npm install -g @r-huijts/strava-mcp-server{
"mcpServers": {
"strava": {
"command": "npx",
"args": ["-y", "@r-huijts/strava-mcp-server"]
}
}
}ROUTE_EXPORT_PATHConnect my Strava accountLinks your Strava account to Claude via OAuth.
Initiates OAuth flow, no direct data access.
Check my Strava connectionShows the current connection status to Strava.
Read-only, retrieves connection status.
Get my Strava profileRetrieves and displays your Strava profile information.
Read-only, retrieves profile data.
What are my training zones?Shows your heart rate and power training zones.
Read-only, retrieves training zones.
Show my recent activitiesLists your most recent workout activities.
Read-only, lists recent activities.
Get all my runs from JanuaryFetches all running activities from January.
Read-only, filters activities by type and date.
Analyze activity 12345Provides detailed information about a specific activity.
Read-only, retrieves detailed activity data.
Show the laps from my last runProvides a lap-by-lap breakdown of your last run.
Read-only, retrieves lap data.
Get heart rate data from my rideRetrieves time-series heart rate data from a cycling activity.
Read-only, retrieves heart rate data.
Show photos from my hikeRetrieves and displays photos from a hiking activity.
Read-only, retrieves activity photos.
What are my running stats?Shows year-to-date and all-time running statistics.
Read-only, retrieves running stats.
How far have I cycled this year?Shows activity totals by cycling type for the current year.
Read-only, retrieves cycling totals.
What's my longest ride?Retrieves your personal record for the longest ride.
Read-only, retrieves personal records.
Show my starred segmentsLists your favorite starred segments.
Read-only, lists starred segments.
Find segments near [location]Discovers popular segments near a specified location.
Read-only, searches for segments.
Get details on segment 12345Retrieves segment information and leaderboard details.
Read-only, retrieves segment details.
Star this segmentSaves a segment to your favorites.
Modifies user's starred segments.
Show my efforts on [segment]Retrieves your attempts on a specific segment.
Read-only, retrieves segment efforts.
List my saved routesLists your saved routes.
Read-only, lists saved routes.
Get details for my [route name]Retrieves information about a specific route.
Read-only, retrieves route info.
Export [route] as GPXDownloads a route in GPX format.
Read-only, exports route data.
Export [route] as TCXDownloads a route in TCX format.
Read-only, exports route data.
What clubs am I in?Lists the Strava clubs you are a member of.
Read-only, lists clubs.
Disconnect my Strava accountDisconnects your Strava account from Claude.
Revokes access, no data retrieval.
OAuth
hybrid
This MCP server provides convenient access to Strava data with reasonable safety measures. The primary risk lies in potential vulnerabilities in the server code that could expose user data or allow unauthorized actions. It is relatively safe for read-only operations but requires caution when using write operations.
The agent can read and write data to Strava, specifically starring segments. Exercise caution when granting autonomy, as unintended modifications are possible.
Production Tip
Monitor Strava API usage to avoid rate limiting, especially with frequent queries.
Create a free Strava API application at strava.com/settings/api and copy the Client ID and Client Secret.
Your credentials are saved locally at ~/.config/strava-mcp/config.json.
The server automatically refreshes expired tokens.
Say 'Disconnect my Strava account' to Claude.
Yes, you can set STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, and STRAVA_REFRESH_TOKEN environment variables.
The server accesses your profile information, activities, routes, segments, and club memberships.
The server uses OAuth for authentication and stores credentials locally. However, it's essential to keep your Strava API credentials secure and be aware of potential vulnerabilities in the server code.