Strava MCP Server

by yorrickjansen
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STRAVA_CLIENT_IDYesYour Strava API application client ID obtained from https://www.strava.com/settings/api
STRAVA_CLIENT_SECRETYesYour Strava API application client secret obtained from https://www.strava.com/settings/api

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_user_activities

Get the authenticated user's activities.

Args: ctx: The MCP request context before: An epoch timestamp for filtering activities before a certain time after: An epoch timestamp for filtering activities after a certain time page: Page number per_page: Number of items per page

Returns: List of activities

get_activity

Get details of a specific activity.

Args: ctx: The MCP request context activity_id: The ID of the activity include_all_efforts: Whether to include all segment efforts

Returns: The activity details

get_activity_segments

Get the segments of a specific activity.

Args: ctx: The MCP request context activity_id: The ID of the activity

Returns: List of segment efforts for the activity