Strava
The MCP Strava Server facilitates seamless integration between Strava APIs and Claude for Desktop.
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
Maintainer
Works with
Installation
Manual Installation
npx mcp-stravaConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
Clone the repository
Clone the MCP Strava server repository to your local machine.
git clone https://github.com/MariyaFilippova/mcp-strava.git
cd mcp-stravaConfigure 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"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 shadowJarConfigure Claude for Desktop
Edit your Claude Desktop configuration file to register the server. Use the absolute path to the built JAR.
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.
Strava Alternatives — Similar Analytics Servers
Looking for alternatives to Strava? Here are other popular analytics servers you can use with Claude, Cursor, and VS Code.
OpenMetadata
★ 14.0kOpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
Superset
★ 10.9kAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
Horizon
★ 4.4k📡 Your own AI-powered news radar. Generates daily briefings in English & Chinese. | 用 AI 构建你专属的新闻雷达
MCP Server Chart
★ 4.1kEnables generation of 25+ types of charts and data visualizations using AntV, including bar charts, line charts, maps, mind maps, and specialized diagrams like fishbone and sankey charts. Supports both statistical charts and geographic visualizations
Muapi CLI
★ 997Official CLI for muapi.ai — generate images, videos & audio from the terminal. MCP server, 14 AI models, npm + pip installable.
Weather MCP Server
★ 907Weather Data Fetcher MCP server built with Node.js, MCP SDK, and Zod. Provides weather details like temperature and forecast for cities such as Noida and Delhi via a registered tool. Simplifies API integration, enabling structured responses for clien
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.
Set Up Strava in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.