strava
A Model Context Protocol (MCP) server that connects to Strava API, providing tools to access Strava data through LLMs
claude mcp add --transport stdio r-huijts-strava-mcp npx -y @r-huijts/strava-mcp-server
How to use
This Strava MCP Server lets Claude talk to your Strava data. After you connect your Strava account, you can ask Claude natural-language questions about your workouts, routes, and progress, and receive structured insights such as totals, breakdowns by activity, heart-rate zones, and route details. The toolset supports tracking your activity totals, analyzing individual workouts, exploring segments and routes, and receiving coaching-style insights about training load and performance. You can interact with Claude to fetch recent activities, get detailed analysis of a ride, export routes as GPX, and view segment details or your starred segments.
To use it, first ensure the MCP server is configured in Claude as shown in the Quick Start. Then connect your Strava account when Claude prompts you, authorize the app in the browser, and begin asking questions like: "How many kilometers did I run this month?", "Analyze my last cycling workout", or "Export my Sunday morning route as GPX". Claude will relay queries to the Strava MCP server and present results in a readable format, including summaries, charts, and downloadable files where supported.
How to install
Prerequisites:
- Node.js and npm installed on your system
- Internet access to download the MCP server package via npx or npm
Option A: Just Use It (Recommended)
- No local installation is required beyond using the Quick Start npx command.
Option B: Install Globally
- Install the MCP server globally:
npm install -g @r-huijts/strava-mcp-server
- Update Claude config to use the global executable:
{
"mcpServers": {
"strava": {
"command": "strava-mcp-server"
}
}
}
Note: Although the package name is @r-huijts/strava-mcp-server, the executable remains strava-mcp-server for backward compatibility.
Option C: Build from Source
1) Clone the repository and install dependencies:
```bash
git clone https://github.com/r-huijts/strava-mcp.git
cd strava-mcp
npm install
npm run build
- Point Claude to your local build:
{
"mcpServers": {
"strava": {
"command": "node",
"args": ["/path/to/strava-mcp/dist/server.js"]
}
}
}
Prerequisites recap:
- Node.js (recommended LTS) and npm installed
- Access to the internet for package downloads or local build tooling
- Optional: Claude configuration access to add the MCP server
Additional notes
Tips: If you ever need to reconnect Strava, you can say or select to reconnect in Claude. Your Strava credentials are stored locally (e.g., under ~/.config/strava-mcp/config.json) and persist across sessions. If you switch machines or environments, you may need to re-authenticate. For troubleshooting, verify that the MCP server URL/command is accessible and that Claude has permission to launch the npx/strava-mcp-server process. If you encounter latency, ensure your network can reach Strava's API endpoints and that your Strava app credentials are valid. The available tools cover Accounts & Profiles, Activities, Segments, Routes, and Coaching Insights, so you can build complex queries like "Show my starred segments near Denver" or "Analyze my training load this week".
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud