Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STRAVA_CLIENT_IDYesThe Client ID of your Strava API application
STRAVA_ACCESS_TOKENYesStrava API access token with required scopes (e.g., read, activity:read_all)
STRAVA_CLIENT_SECRETYesThe Client Secret of your Strava API application
STRAVA_REFRESH_TOKENYesStrava API refresh token used to automatically refresh expired access tokens

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
strava_list_activities

List the authenticated athlete's activities. Supports filtering by date range and pagination.

strava_get_activity

Get detailed information about a specific activity including description, calories, splits, laps, segment efforts, and gear.

strava_create_activity

Create a manual activity entry. Requires activity:write scope.

strava_update_activity

Update an activity's mutable properties. Requires activity:write scope. Only provided fields are updated.

strava_list_activity_comments

List comments on an activity.

strava_list_activity_kudoers

List athletes who gave kudos on an activity.

strava_list_activity_laps

List laps of an activity. Each lap includes distance, time, speed, heart rate, watts, and elevation.

strava_list_activity_zones

Get heart rate and power zone distribution for an activity. Shows time spent in each zone.

strava_get_authenticated_athlete

Get the profile of the currently authenticated athlete, including name, location, stats summary, bikes, and shoes.

strava_get_athlete_zones

Get the authenticated athlete's heart rate and power zones.

strava_get_athlete_stats

Get activity statistics for an athlete: recent, year-to-date, and all-time totals for runs, rides, and swims. Includes biggest ride distance and biggest climb.

strava_list_starred_segments

List segments starred by the authenticated athlete.

strava_list_athlete_clubs

List clubs the authenticated athlete belongs to.

strava_get_club

Get detailed information about a club including description, member count, and sport type.

strava_list_club_activities

List recent activities by members of a club. Only includes activities set to 'Everyone' visibility.

strava_list_club_members

List members of a club.

strava_list_club_admins

List admins of a club.

strava_get_gear

Get equipment details by ID (name, brand, model, total distance). Gear IDs look like "b12345" for bikes or "g12345" for shoes.

strava_list_athlete_routes

List routes created by an athlete.

strava_get_route

Get detailed route information including distance, elevation gain, and estimated moving time.

strava_export_route_gpx

Export a route as a GPX file. Returns raw GPX XML content.

strava_export_route_tcx

Export a route as a TCX file. Returns raw TCX XML content.

strava_get_segment

Get detailed information about a segment including distance, elevation, grade, effort count, and athlete count.

strava_list_segment_efforts

List efforts on a segment, optionally filtered by date range. Returns the authenticated athlete's efforts by default.

strava_get_segment_effort

Get a specific segment effort by ID, including elapsed time, heart rate, watts, and achievements.

strava_explore_segments

Find popular segments within a geographic bounding box. Provide SW and NE corner coordinates as a comma-separated string: "sw_lat,sw_lng,ne_lat,ne_lng".

strava_star_segment

Star or unstar a segment for the authenticated athlete.

strava_get_activity_streams

Get high-resolution time-series data for an activity (heart rate, power, cadence, altitude, GPS coordinates, etc.). Data is downsampled if too large.

strava_get_segment_effort_streams

Get high-resolution time-series data for a segment effort.

strava_get_segment_streams

Get GPS coordinates, distance, and altitude data for a segment.

strava_get_route_streams

Get GPS coordinates, distance, and altitude data for a route.

strava_get_upload

Check the processing status of an upload. Returns status, error info, and the resulting activity ID once complete.

strava_create_upload

Upload an activity file (FIT, TCX, or GPX format) to create a new activity. The file content must be base64-encoded. Returns an upload ID to check processing status with strava_get_upload.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/justmytwospence/strava-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server