MCP Strava Server logo

MCP Strava Server

Community
MariyaFilippova

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

PublisherMariyaFilippova
Repositorymcp-strava
LanguageKotlin
Forks
2
Stars
21
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    MCP Strava Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    21 stars and 2 forks from the linked repository.

MCP Strava Server

A Model Context Protocol (MCP) server that integrates Strava with Claude for Desktop, enabling AI-powered analysis of your fitness activities.

Features

  • ⭐ Route Generation - suggest round-trip routes with a Google Maps link (no API key needed)
  • ⭐ Popular Routes - discover popular Strava segments nearby and get a Google Maps loop through them
  • OAuth Authentication with automatic token refresh and persistence
  • Activity Analysis - get details on any activity by ID, or browse recent ones
  • Data Streams - heart rate, pace, altitude, cadence, power, GPS for any activity
  • Lap Splits - per-lap distance, time, speed, elevation, and heart rate
  • Personal Best Efforts - fastest 400m, 1k, 1 mile, 5k, 10k, etc. for a run, with pace and PR ranking
  • Paginated Search - find activities by date range with full pagination
  • Historical Comparisons - compare months year-over-year
  • Statistics - all-time stats, weekly/monthly summaries
  • Filtering - by activity type (Run, Ride, Swim, etc.)

Available Tools

ToolDescription
auth_stravaAuthorize with Strava (opens browser)
logoutClear stored tokens to switch accounts
last_activityGet details of your most recent activity
get_activityFetch any activity by its ID
recent_activitiesList last 10 activities
search_activitiesPaginated search with optional date range (before/after epoch, page, per_page)
athlete_statsAll-time statistics (rides, runs, swims)
activities_by_typeFilter activities by sport type
weekly_summarySummary of the past 7 days
monthly_summarySummary of the past 30 days
month_summarySummary for a specific month/year
compare_monthsCompare two months (e.g., Jan 2025 vs Jan 2026)
get_streamsHeart rate data for last activity
get_activity_streamsFull data streams (HR, pace, altitude, cadence, power, GPS, etc.) for any activity
get_lapsLap splits for any activity (distance, time, speed, elevation, HR)
get_best_effortsPersonal best efforts (400m, 1k, 1 mile, 5k, 10k, …) for a run, with pace and PR ranking
suggest_routeGenerate a round-trip route and get a Google Maps link for navigation
popular_routesFind popular Strava segments nearby and build a Google Maps route through them

Setup

1. Clone the Repository

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

2. Configure Strava API Credentials

Get your credentials from Strava API settings.

Create/edit src/main/resources/.env:

dotenv
CLIENT_ID="your-client-id"
CLIENT_SECRET="your-client-secret"

3. Build the Project

bash
./gradlew shadowJar

The JAR will be at: build/libs/strava-mcp-server-2.1.0-all.jar

4. Configure Claude for Desktop

Edit Claude's configuration file:

bash
# macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json

# Windows
code %APPDATA%\Claude\claude_desktop_config.json

Add the MCP server:

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

Restart Claude for Desktop.

Usage Examples

Once configured, you can ask Claude things like:

  • "Show me my recent Strava activities"
  • "What are my all-time running stats?"
  • "Compare my January 2025 with January 2026"
  • "Give me a summary of my cycling this week"
  • "How did my training this month compare to last month?"
  • "Show me the lap splits for activity 123456789"
  • "Analyze the heart rate and elevation data for my last run"
  • "Find all my activities from March 2025"
  • "Suggest a 5km running route starting from Central Park, NYC"
  • "Generate a 10km cycling route from 48.8566, 2.3522"
  • "Find popular running segments near Central Park, NYC"
  • "Show me popular cycling routes within 10km of Paris"

Authentication

On first use, the server will open your browser for Strava authorization. Tokens are persisted to ~/.strava-mcp-token.json and automatically refreshed when expired.

Use the logout tool to clear stored tokens if you need to switch accounts.

License

MIT

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use MCP Strava Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Strava Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Strava Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Strava Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mariyafilippova-mcp-strava": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-strava"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Strava Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Strava Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Strava Server to help me with this task?
MCP Strava Server
Sure. I read it.
Here is what I found using MCP Strava Server.

Frequently asked questions

What is the MCP Strava Server MCP server used for?

MCP Strava Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Strava Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Strava Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Strava Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Strava Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Strava Server MCP to TypingMind?

MCP Strava Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Strava Server MCP provide in TypingMind?

MCP Strava Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Strava Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Strava Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇