Skip to main content
Glama
SrenoG
by SrenoG

Strava MCP - Activities Reader

MCP to fetch Strava activities with OAuth and automatic token refresh.

Installation

1. Create a Strava app

  1. Go to strava.com/settings/api

  2. Create an application

  3. Authorization Callback Domain: localhost

  4. Note the Client ID and Client Secret

2. Install the MCP

mkdir -p /home/sreno/mcps/strava_custom
cp -r * /home/sreno/mcps/strava_custom/
cd /home/sreno/mcps/strava_custom

# Create the venv
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

3. Configure

Copy config.json.exemple to config.json Edit config.json:

{
  "client_id": "YOUR_CLIENT_ID",
  "client_secret": "YOUR_CLIENT_SECRET"
}

4. Authentication (once only)

source .venv/bin/activate
python auth.py

This opens the browser, you authorize, and tokens are saved.

5. Configure Claude Desktop

In ~/.config/claude-desktop/claude_desktop_config.json:

{
  "mcpServers": {
    "StravaCustom": {
      "command": "bash",
      "args": ["/home/sreno/mcps/strava_custom/run.sh"]
    }
  }
}

Related MCP server: strava-mcp

Available tools

  • get_recent_activities: Latest activities (configurable limit)

  • get_activities_range: Activities between two dates

  • get_activity_details: Details of a specific activity

  • get_athlete_stats: Athlete global stats

Notes

  • Tokens are refreshed automatically

  • If an error occurs after several months, re-run python auth.py

  • Port 8081 is used for the OAuth callback

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables interaction with the Strava API v3 to manage fitness activities, athlete profiles, segments, and routes. It supports retrieving detailed performance metrics, exploring geographic data, and managing club information through natural language.
    53
    ISC
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server that integrates Strava OAuth for remote connections, enabling users to authenticate with their Strava account and access Strava data through the MCP protocol.
    26
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    MCP server that exposes Strava API v3 data (activities, segments, routes, clubs, gear, streams) as tools for any MCP client. Read-only by default, with an optional --write flag to enable mutating operations.
    21
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Withings health data — sleep, activity, heart, and body metrics.

  • MCP server for Argo RPG Platform — connects AI assistants to campaign data via OAuth2

  • Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.

View all MCP Connectors

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/SrenoG/mcp-strava'

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