Strava MCP Server

Strava MCP Server

0
0 Reviews
0 Stars
This MCP (Model Context Protocol) server enables querying and accessing athlete activity data from Strava via API. It supports retrieving recent activities, activities within date ranges, activity details, and more, facilitating integrations with applications like Claude for desktop and web. It requires authentication through Strava's API, using specified environment variables for secure access.
Added on:
Created by:
Apr 21 2025
Strava MCP Server
Featured

What is Strava MCP Server?

The Strava MCP Server is a comprehensive API middleware that grants authenticated users access to their athletic activity data stored on Strava. It enables querying recent activities, activities within specific date ranges, and detailed information about individual activities such as distance, speed, elevation, and calories burned. Designed for developers and data enthusiasts, it simplifies interaction with Strava's API for data analysis, app development, and personal tracking, with built-in authentication and error handling features to ensure seamless user experience.

Who will use Strava MCP Server?

  • Developers integrating Strava data into applications
  • Athletes tracking their activity history
  • Data analysts analyzing fitness and performance data
  • Fitness app developers
  • Researchers using activity data for studies

How to use the Strava MCP Server?

  • Step 1: Create a Strava API application to obtain Client ID and Client Secret.
  • Step 2: Run the get_strava_token.py script to generate tokens and save them in a .env file.
  • Step 3: Set environment variables STRAVA_CLIENT_ID, STRAVA_CLIENT_SECRET, and STRAVA_REFRESH_TOKEN.
  • Step 4: Run the MCP server locally or on a cloud platform.
  • Step 5: Connect your application or voice assistant (like Claude) to the server using appropriate MCP extension or API calls.
  • Step 6: Use queries like 'Show my recent activities' or 'Get details of my latest cycling activity' to retrieve data.

Strava MCP Server's Core Features & Benefits

The Core Features
  • get_activities(limit: int = 10)
  • get_activities_by_date_range(start_date: str, end_date: str, limit: int = 30)
  • get_activity_by_id(activity_id: int)
  • get_recent_activities(days: int = 7, limit: int = 10)
The Benefits
  • Provides seamless access to detailed Strava activity data
  • Supports data-driven fitness insights and analysis
  • Eases integration with third-party applications and voice assistants
  • Offers secure and authenticated API access

Strava MCP Server's Main Use Cases & Applications

  • Personal fitness tracking and activity analysis
  • Development of fitness and health monitoring apps
  • Research projects analyzing athlete performance
  • Integration with voice assistants for voice-activated data retrieval

FAQs of Strava MCP Server

Developer