strava-mcp

strava-mcp

3.6

If you are the rightful owner of strava-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Strava MCP Server is a TypeScript-based Model Context Protocol server that interfaces with the Strava API, allowing LLMs to access and manipulate Strava data.

The Strava MCP Server acts as a bridge between the Strava API and Large Language Models (LLMs), providing a standardized way to access and manipulate Strava data. This server is implemented in TypeScript and exposes various Strava functionalities as 'tools' that can be utilized by LLMs through the MCP standard. It allows users to access recent activities, profile information, detailed activity streams, and manage segments and routes. The server supports exporting routes in GPX or TCX format and provides AI-friendly JSON responses. It leverages Strava API V3 to ensure comprehensive access to user data, including activities, segments, and routes. The server also implements automatic token refreshing to maintain continuous operation without manual intervention.

Features

  • Access recent activities, profile, and stats
  • Fetch detailed activity streams (power, heart rate, cadence, etc.)
  • Explore, view, star, and manage segments
  • Export routes in GPX or TCX format
  • AI-friendly JSON responses via MCP

Tools

  1. get-recent-activities

    Get the user's recent activities

  2. get-athlete-profile

    Get athlete profile

  3. get-athlete-stats

    Get athlete statistics

  4. get-activity-details

    Get detailed information about a specific activity

  5. list-athlete-clubs

    List the clubs athletes join

  6. list-starred-segments

    List your favorite sections

  7. get-segment

    Get detailed information about specific road sections

  8. explore-segments

    Search for popular road sections in designated geographical areas

  9. star-segment

    Save or cancel favorites

  10. get-segment-effort

    Get detailed information on specific road section efforts

  11. list-segment-efforts

    List athletes’ efforts on specific road sections

  12. list-athlete-routes

    List the routes created by athletes

  13. get-route

    Get detailed information about a specific route

  14. export-route-gpx

    Export routes in GPX format

  15. export-route-tcx

    Export routes in TCX format