mcp-strava
Provides tools for accessing athlete profile, stats, activities, activity details, zones, and segment effort streams via the Strava API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-stravaHow was my training this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Strava MCP Server
Minimalist Strava integration for Claude.
7 focused tools. One-time auth. Zero bloat.
What You Can Ask Claude
"How was my training this week vs last?"
"What's my average heart rate on tempo runs?"
"Break down yesterday's workout by zones"
Tools
Tool | What it does |
| Your profile info |
| Totals: recent, YTD, all-time |
| HR and power zone configuration |
| Browse with date filtering |
| Full workout breakdown with laps and segments |
| Zone distribution with time and percentage per zone |
| Segment analysis with historical comparison |
Quick Start with npx
1. Create Strava App → strava.com/settings/api → get Client ID + Secret
2. Authorize (one-time) → STRAVA_CLIENT_ID=xxx STRAVA_CLIENT_SECRET=xxx \
STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback \
npx mcp-strava-auth
3. Configure Claude → Add to claude_desktop_config.json (see below)
4. Restart Claude → Done! Ask Claude about your workouts1. Create Strava API Application
Visit https://www.strava.com/settings/api and create an application to get your Client ID and Secret.
2. Authorize with Strava (one-time setup)
Run the auth server with your Strava credentials:
STRAVA_CLIENT_ID=your_client_id STRAVA_CLIENT_SECRET=your_client_secret STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback npx mcp-strava-authThen:
Visit
http://localhost:3000/auth/stravain your browserAuthorize on Strava's page
You'll see "Authorization Successful!" when complete
The server shuts down automatically
Tokens and credentials are stored securely in ~/.strava-mcp/tokens.json.
3. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
open ~/Library/Application\ Support/Claude/Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"strava": {
"command": "npx",
"args": ["-y", "mcp-strava"]
}
}
}4. Restart Claude Desktop
Restart Claude Desktop to load the MCP server.
Manual Setup (Alternative)
If you prefer to clone and build locally:
1. Create Strava API Application
Visit https://www.strava.com/settings/api and create an application to get your Client ID and Secret.
2. Build the Project
git clone https://github.com/adrienlupo/mcp-strava.git
cd mcp-strava
npm install
npm run build3. Authorize with Strava
Run the authorization server with your Strava credentials:
STRAVA_CLIENT_ID=your_client_id STRAVA_CLIENT_SECRET=your_client_secret STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback npm run authThen:
Visit
http://localhost:3000/auth/stravain your browserAuthorize on Strava's page
You'll see "Authorization Successful!" when complete
The server shuts down automatically
4. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
open ~/Library/Application\ Support/Claude/Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"strava": {
"command": "node",
"args": ["/absolute/path/to/mcp-strava/dist/index.js"]
}
}
}5. Restart Claude Desktop
Restart Claude Desktop to load the MCP server.
Development
npm install
npm run build
npm startLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/adrienlupo/mcp-strava'
If you have feedback or need assistance with the MCP directory API, please join our Discord server