Strava

v1.0.0Analyticsstable

The MCP Strava Server facilitates seamless integration between Strava APIs and Claude for Desktop.

anthropicclaudekotlinmcp-server
Share:
21
Stars
0
Downloads
0
Weekly
0/5

What is Strava?

Strava is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp strava server facilitates seamless integration between strava apis and claude for desktop.

The MCP Strava Server facilitates seamless integration between Strava APIs and Claude for Desktop.

This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • The MCP Strava Server facilitates seamless integration betwe

Use Cases

Integrate Strava fitness tracking data with Claude for Desktop.
Analyze workout and activity data through conversational AI.
MariyaFilippova

Maintainer

LicenseMIT
Languagekotlin
Versionv1.0.0
UpdatedApr 23, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-strava

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Strava

MCP Strava Server is a Kotlin-based Model Context Protocol server that connects Claude for Desktop to the Strava fitness API, enabling AI-powered analysis of your athletic activities. It supports OAuth authentication with automatic token refresh, activity search and filtering, detailed data streams (heart rate, pace, altitude, cadence, power, GPS), lap splits, historical comparisons, and route generation with Google Maps links. Athletes and coaches can use it to analyze training trends, compare months year-over-year, and generate running or cycling routes — all through conversation.

Prerequisites

  • Java runtime (JDK 17+ recommended) installed for running the JAR
  • Gradle build tool (or use the included Gradle wrapper) to build from source
  • A Strava account and a Strava API application (client ID and client secret from https://www.strava.com/settings/api)
  • An MCP-compatible client such as Claude for Desktop
  • Git to clone the repository
1

Clone the repository

Clone the MCP Strava server repository to your local machine.

git clone https://github.com/MariyaFilippova/mcp-strava.git
cd mcp-strava
2

Configure Strava API credentials

Create an .env file with your Strava API client ID and client secret. Obtain these from the Strava API settings page at https://www.strava.com/settings/api.

# File: src/main/resources/.env
CLIENT_ID="your-strava-client-id"
CLIENT_SECRET="your-strava-client-secret"
3

Build the JAR

Use the Gradle wrapper to build a fat JAR containing all dependencies. The output will be at build/libs/strava-mcp-server-2.1.0-all.jar.

./gradlew shadowJar
4

Configure Claude for Desktop

Edit your Claude Desktop configuration file to register the server. Use the absolute path to the built JAR.

5

Authorize with Strava on first use

On first connection, invoke the auth_strava tool from Claude. The server will open your browser for OAuth authorization. Tokens are persisted to ~/.strava-mcp-token.json and refreshed automatically on subsequent runs.

Strava Examples

Client configuration

Add this block to your claude_desktop_config.json. Replace the path with the absolute path to your built JAR file.

{
  "mcpServers": {
    "strava": {
      "command": "java",
      "args": [
        "-jar",
        "/absolute/path/to/mcp-strava/build/libs/strava-mcp-server-2.1.0-all.jar"
      ]
    }
  }
}

Prompts to try

After authorizing with Strava, use these prompts to analyze your fitness data.

- "Show me my recent Strava activities"
- "What are my all-time running stats?"
- "Compare my January 2025 with January 2026"
- "Show me the lap splits for activity 123456789"
- "Analyze the heart rate and elevation data for my last run"
- "Suggest a 10km running route starting from Central Park, NYC"
- "Find popular cycling segments within 10km of Paris"

Troubleshooting Strava

OAuth authorization fails or browser does not open

Ensure CLIENT_ID and CLIENT_SECRET are correctly set in src/main/resources/.env before building. Rebuild the JAR after updating the file. Also verify your Strava app's Authorization Callback Domain is set to localhost.

Token refresh errors after initial authorization

Delete ~/.strava-mcp-token.json and use the auth_strava tool again to re-authorize. The file may be corrupted or the refresh token may have expired due to a long period of inactivity.

Claude cannot find the JAR or the server fails to launch

Confirm you are using an absolute path in the args array of your MCP config. Run java -jar /path/to/strava-mcp-server-2.1.0-all.jar manually to check for JVM errors such as unsupported class file version, which indicates a Java version mismatch.

Frequently Asked Questions about Strava

What is Strava?

Strava is a Model Context Protocol (MCP) server that mcp strava server facilitates seamless integration between strava apis and claude for desktop. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Strava?

Follow the installation instructions on the Strava GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Strava?

Strava works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Strava free to use?

Yes, Strava is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Analytics MCP Servers

Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-strava": { "command": "npx", "args": ["-y", "mcp-strava"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Strava?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides