Labsco
MariyaFilippova logo

strava mcp

β˜… 22

from MariyaFilippova

A Model Context Protocol (MCP) server that integrates Strava with Claude for Desktop, enabling AI-powered analysis of your fitness activities.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeAdvanced setup

MCP Strava Server

<img width="830" height="719" alt="Screenshot 2026-03-05 at 15 53 28" src="https://github.com/user-attachments/assets/0655f2d2-5e54-4c6c-b742-05c383c822dd" />

A Model Context Protocol (MCP) server that integrates Strava with Claude for Desktop, enabling AI-powered analysis of your fitness activities.

Features

  • ⭐ Route Generation - suggest round-trip routes with a Google Maps link (no API key needed)
  • ⭐ Popular Routes - discover popular Strava segments nearby and get a Google Maps loop through them
  • OAuth Authentication with automatic token refresh and persistence
  • Activity Analysis - get details on any activity by ID, or browse recent ones
  • Data Streams - heart rate, pace, altitude, cadence, power, GPS for any activity
  • Lap Splits - per-lap distance, time, speed, elevation, and heart rate
  • Paginated Search - find activities by date range with full pagination
  • Historical Comparisons - compare months year-over-year
  • Statistics - all-time stats, weekly/monthly summaries
  • Filtering - by activity type (Run, Ride, Swim, etc.)

Available Tools

ToolDescription
auth_stravaAuthorize with Strava (opens browser)
logoutClear stored tokens to switch accounts
last_activityGet details of your most recent activity
get_activityFetch any activity by its ID
recent_activitiesList last 10 activities
search_activitiesPaginated search with optional date range (before/after epoch, page, per_page)
athlete_statsAll-time statistics (rides, runs, swims)
activities_by_typeFilter activities by sport type
weekly_summarySummary of the past 7 days
monthly_summarySummary of the past 30 days
month_summarySummary for a specific month/year
compare_monthsCompare two months (e.g., Jan 2025 vs Jan 2026)
get_streamsHeart rate data for last activity
get_activity_streamsFull data streams (HR, pace, altitude, cadence, power, GPS, etc.) for any activity
get_lapsLap splits for any activity (distance, time, speed, elevation, HR)
suggest_routeGenerate a round-trip route and get a Google Maps link for navigation
popular_routesFind popular Strava segments nearby and build a Google Maps route through them

Authentication

On first use, the server will open your browser for Strava authorization. Tokens are persisted to ~/.strava-mcp-token.json and automatically refreshed when expired.

Use the logout tool to clear stored tokens if you need to switch accounts.

License

MIT