Strava MCP Server

Strava MCP Server

PythonApiMcpModelContextProtocolStravaJavascriptGoRubyRTool

About This Server

A Model Context Protocol (MCP) server that provides access to the Strava API. It allows language models to query athlete activities data from the Strava API.

Server Information

šŸ“‹ Overview:

The webpage is the GitHub repository page for "strava-mcp-server", a Model Context Protocol (MCP) server that allows language models to access athlete activity data from the Strava API. The page provides details on the server's features, available tools, data format, authentication process, usage instructions, and licensing information.


⭐ Key Points:
* The server provides access to Strava API data for language models.
* It offers several tools to query athlete activities.
* Activity data is returned in a consistent format with specified units.
* Authentication with the Strava API is required, involving creating an application and obtaining a refresh token.

* Instructions are provided for configuring the server for use with Claude for Desktop and Claude Web.


šŸ” Main Findings:
* The strava-mcp-server repository enables interaction between language models and the Strava API.
* The server offers a set of tools to query and retrieve various activity data.
* The use of consistent data formats with specified units ensures reliability and simplifies data interpretation by language models.

* The repository requires users to authenticate with the Strava API.


šŸ“Š Details:
* Available Tools:
* get_activities(limit: int = 10): Returns the authenticated athlete's recent activities.
* getactivitiesbydaterange(startdate: str, enddate: str, limit: int = 30): Retrieves activities within a specified date range (YYYY-MM-DD).
* getactivitybyid(activityid: int): Fetches detailed information for a specific activity.
* getrecentactivities(days: int = 7, limit: int = 10): Retrieves activities from the past X days.
* Activity Data Format: Includes fields like name, sporttype, startdate (ISO 8601), distancemetres (meters), elapsedtime_seconds (seconds), and others.

* Authentication: Requires creating a Strava API application, setting the Authorization Callback Domain to localhost, and obtaining a refresh token using the provided getstravatoken.py script. Users must set the STRAVACLIENTID, STRAVACLIENTSECRET, and STRAVAREFRESHTOKEN environment variables.


šŸŽÆ Conclusion:
The strava-mcp-server GitHub repository provides a valuable resource for developers seeking to integrate Strava activity data into language model applications. Clear instructions on authentication, usage, and data formats are available to get started, but do not include detailed setup instructions.

Server Features

Default MCP Server

Standard MCP server capabilities

Provider Information

Tomekkorbak logo

Tomekkorbak

cloud Provider

Visit Provider Website

Quick Actions

Visit Website

MCP Configuration

Available Tools

get_activitiesget_activities_by_date_rangeget_activity_by_idget_recent_activities