Skip to main content
Glama

HAPI Strava MCP Server

Server Details

Strava MCP tools for AI: athletes, activities, segments, clubs, routes. Powered by HAPI MCP server.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
la-rebelion/hapimcp
GitHub Stars
7

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

34 tools
createActivityTry in Inspector

Create an Activity - Creates a manual activity for an athlete, requires activity:write scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
createActivityBodyYes
createUploadTry in Inspector

Upload Activity - Uploads a new data file to create an activity from. Requires activity:write scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
createUploadBodyNo
exploreSegmentsTry in Inspector

Explore segments - Returns the top 10 segments matching a specified query.

ParametersJSON Schema
NameRequiredDescriptionDefault
boundsYes
max_catNo
min_catNo
activity_typeNo
getActivityByIdTry in Inspector

Get Activity - Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
include_all_effortsNo
getActivityStreamsTry in Inspector

Get Activity Streams - Returns the given activity's streams. Requires activity:read scope. Requires activity:read_all scope for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
keysYes
key_by_typeYes
getClubActivitiesByIdTry in Inspector

List Club Activities - Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
per_pageNo
getClubAdminsByIdTry in Inspector

List Club Administrators - Returns a list of the administrators of a given club.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
per_pageNo
getClubByIdTry in Inspector

Get Club - Returns a given club using its identifier.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getClubMembersByIdTry in Inspector

List Club Members - Returns a list of the athletes who are members of a given club.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
per_pageNo
getCommentsByActivityIdTry in Inspector

List Activity Comments - Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
per_pageNo
page_sizeNo
after_cursorNo
getEffortsBySegmentIdTry in Inspector

List Segment Efforts - Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription.

ParametersJSON Schema
NameRequiredDescriptionDefault
per_pageNo
segment_idYes
end_date_localNo
start_date_localNo
getGearByIdTry in Inspector

Get Equipment - Returns an equipment using its identifier.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getKudoersByActivityIdTry in Inspector

List Activity Kudoers - Returns the athletes who kudoed an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
pageNo
per_pageNo
getLapsByActivityIdTry in Inspector

List Activity Laps - Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getLoggedInAthleteTry in Inspector

Get Authenticated Athlete - Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

getLoggedInAthleteActivitiesTry in Inspector

List Athlete Activities - Returns the activities of an athlete for a specific identifier. Requires activity:read. Only Me activities will be filtered out unless requested by a token with activity:read_all.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
afterNo
beforeNo
per_pageNo
getLoggedInAthleteClubsTry in Inspector

List Athlete Clubs - Returns a list of the clubs whose membership includes the authenticated athlete.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
per_pageNo
getLoggedInAthleteStarredSegmentsTry in Inspector

List Starred Segments - List of the authenticated athlete's starred segments. Private segments are filtered out unless requested by a token with read_all scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
per_pageNo
getLoggedInAthleteZonesTry in Inspector

Get Zones - Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

getRouteAsGPXTry in Inspector

Export Route GPX - Returns a GPX file of the route. Requires read_all scope for private routes.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getRouteAsTCXTry in Inspector

Export Route TCX - Returns a TCX file of the route. Requires read_all scope for private routes.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getRouteByIdTry in Inspector

Get Route - Returns a route using its identifier. Requires read_all scope for private routes.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getRoutesByAthleteIdTry in Inspector

List Athlete Routes - Returns a list of the routes created by the authenticated athlete. Private routes are filtered out unless requested by a token with read_all scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
pageNo
per_pageNo
getRouteStreamsTry in Inspector

Get Route Streams - Returns the given route's streams. Requires read_all scope for private routes.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getSegmentByIdTry in Inspector

Get Segment - Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getSegmentEffortByIdTry in Inspector

Get Segment Effort - Returns a segment effort from an activity that is owned by the authenticated athlete. Requires subscription.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getSegmentEffortStreamsTry in Inspector

Get Segment Effort Streams - Returns a set of streams for a segment effort completed by the authenticated athlete. Requires read_all scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
keysYes
key_by_typeYes
getSegmentStreamsTry in Inspector

Get Segment Streams - Returns the given segment's streams. Requires read_all scope for private segments.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
keysYes
key_by_typeYes
getStatsTry in Inspector

Get Athlete Stats - Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
getUploadByIdTry in Inspector

Get Upload - Returns an upload for a given identifier. Requires activity:write scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
uploadIdYes
getZonesByActivityIdTry in Inspector

Get Activity Zones - Summit Feature. Returns the zones of a given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
starSegmentTry in Inspector

Star Segment - Stars/Unstars the given segment for the authenticated athlete. Requires profile:write scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
starSegmentBodyYes
updateActivityByIdTry in Inspector

Update Activity - Updates the given activity that is owned by the authenticated athlete. Requires activity:write. Also requires activity:read_all in order to update Only Me activities

ParametersJSON Schema
NameRequiredDescriptionDefault
idYes
updateActivityByIdBodyNo
updateLoggedInAthleteTry in Inspector

Update Athlete - Update the currently authenticated athlete. Requires profile:write scope.

ParametersJSON Schema
NameRequiredDescriptionDefault
weightYes

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.