Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Strava MCP

by r-huijtsversion 1.0.1i★ 509iRuns on your computerRepository ↗
Registry nameio.github.r-huijts/strava-mcp

How to install

What it does

MCP server for accessing Strava API

  • Connects Runs on your computer
  • Account or key Needs STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN · 1 setting to fill in (STRAVA_CLIENT_ID)
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity32/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score35/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Strava MCP. Follow https://mcp.popnx.com/i/r-huijts-strava-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Strava MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "strava": { "command": "npx", "args": [ "-y", "strava-mcp-server" ], "env": { "STRAVA_CLIENT_ID": "your-value", "STRAVA_CLIENT_SECRET": "your-value", "STRAVA_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Strava MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Strava MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STRAVA_CLIENT_ID Your Strava API client ID

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "strava": {
          "command": "npx",
          "args": [
            "-y",
            "strava-mcp-server"
          ],
          "env": {
            "STRAVA_CLIENT_ID": "your-value",
            "STRAVA_CLIENT_SECRET": "your-value",
            "STRAVA_ACCESS_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Strava MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Strava MCP or shows a Strava MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Strava MCP yet

Strava MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Strava MCP

  • You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)
  • You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)
  • You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Strava MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user strava --env STRAVA_CLIENT_ID=your-value --env STRAVA_CLIENT_SECRET=your-value --env STRAVA_ACCESS_TOKEN=your-value -- npx -y strava-mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Strava MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Strava MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STRAVA_CLIENT_ID Your Strava API client ID

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user strava --env STRAVA_CLIENT_ID=your-value --env STRAVA_CLIENT_SECRET=your-value --env STRAVA_ACCESS_TOKEN=your-value -- npx -y strava-mcp-server

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Strava MCP listed as connected

  7. Try it

    Use Strava MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Strava MCP or shows a Strava MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Strava MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "strava": { "command": "npx", "args": [ "-y", "strava-mcp-server" ], "env": { "STRAVA_CLIENT_ID": "your-value", "STRAVA_CLIENT_SECRET": "your-value", "STRAVA_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Strava MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Strava MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STRAVA_CLIENT_ID Your Strava API client ID

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Strava MCP settings, STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Strava MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Strava MCP or shows a Strava MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Strava MCP key (create it on the maker’s site) · 1 setting(s) to fill in (STRAVA_CLIENT_ID) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Strava MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "strava": { "type": "stdio", "command": "npx", "args": [ "-y", "strava-mcp-server" ], "env": { "STRAVA_CLIENT_ID": "your-value", "STRAVA_CLIENT_SECRET": "your-value", "STRAVA_ACCESS_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Strava MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Strava MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STRAVA_CLIENT_ID Your Strava API client ID

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Strava MCP settings, STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN, STRAVA_CLIENT_ID is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Strava MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Strava MCP or shows a Strava MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Strava MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user strava --env STRAVA_CLIENT_ID=your-value --env STRAVA_CLIENT_SECRET=your-value --env STRAVA_ACCESS_TOKEN=your-value -- npx -y strava-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "strava": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value",
        "STRAVA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "strava": {
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value",
        "STRAVA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "strava": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "your-value",
        "STRAVA_CLIENT_SECRET": "your-value",
        "STRAVA_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • STRAVA_CLIENT_ID required env
    Your Strava API client ID
  • STRAVA_CLIENT_SECRET secret required env
    Your Strava API client secret
  • STRAVA_ACCESS_TOKEN secret required env
    Your Strava API access token

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
92/wk
Connection
Runs on your computer
Latest versioni
1.0.1
Categoryi
Other
Published to registryi
Sep 17, 2025
Code last changedi
Jun 13, 2026
Maker
r-huijts
Packages
npm: strava-mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account r-huijts, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 5 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for strava-mcp-server@1.0.1

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/r-huijts-strava-mcp.svg)](https://mcp.popnx.com/en/servers/r-huijts-strava-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 99% of the other 20653 servers in this category
  • Published to the registry more recently than 0% of the other 20653 servers in this category
  • Basic checks equal to or better than 99% of the other 20653 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Strava MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: STRAVA_CLIENT_SECRET, STRAVA_ACCESS_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 5 months ago, and the latest version (1.0.1) reached the registry 14 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
Strava MCP
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseMITAGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Strava MCP Server

Talk to your Strava data using AI.

Connect Claude to your Strava account and ask questions in plain English: "How far did I run this month?", "Analyze my last ride", or "Show me my fastest segments."


What Can You Do With This?

Once connected, just talk to Claude like you're talking to a friend who has access to all your Strava data:

🏃 Track Your Progress

"How many kilometers did I run this month?"

"Compare my running stats from January to December"

"What's my longest ride ever?"

📊 Analyze Your Workouts

"Break down my last cycling workout - show me power, heart rate, and cadence"

"How did my heart rate zones look during yesterday's run?"

"What was my average pace for each lap in my interval training?"

🗺️ Explore Routes & Segments

"What are the most popular cycling segments near Central Park?"

"Show me my starred segments"

"Export my Sunday morning route as a GPX file"

🏆 Get Coaching Insights

"Analyze my training load this week"

"How does my current fitness compare to last month?"

"Give me a summary of my cycling performance this year"


Quick Start (3 Steps)

Step 1: Add to Claude Desktop

Open your Claude Desktop configuration file:

  • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add this to the file:

{

"mcpServers": { "strava": { "command": "npx", "args": ["-y", "@r-huijts/strava-mcp-server"] } } }

Step 1 (alternative): Add to Claude Code

You can add this MCP server to claude code with the following command:

claude mcp add --transport stdio strava -- npx @r-huijts/strava-mcp-server

You can confirm successful instalation as follows:

% claude mcp list

Checking MCP server health...

strava: npx @r-huijts/strava-mcp-server - ✓ Connected

Step 2: Restart Claude Desktop

Close and reopen Claude Desktop to load the new configuration.

Step 3: Connect Your Strava

Just say to Claude:

"Connect my Strava account"

A browser window will open. Enter your Strava API credentials, authorize the app, and you're done!

That's it! Start asking about your activities.


Connecting Your Strava Account

First Time Setup

When you say "Connect my Strava account", here's what happens:

  1. A browser window opens showing a setup page
  2. Enter your Strava API credentials (Client ID and Client Secret)
  3. Click "Continue to Strava" - you'll be redirected to Strava
  4. Authorize the app on Strava's website
  5. See the success message - you can close the browser
  6. Done! Claude confirms you're connected

Your credentials are saved locally at ~/.config/strava-mcp/config.json and persist across sessions.

Getting Your Strava API Credentials

You need to create a free Strava API application (one-time setup):

  1. Go to strava.com/settings/api
  2. Click "Create an App" (or view your existing app)
  3. Fill in the form:
  • Application Name: Anything you want (e.g., "My Claude Assistant")
  • Category: Choose any
  • Website: Can be anything (e.g., http://localhost)
  • Authorization Callback Domain: Must be localhost
  1. Copy your Client ID and Client Secret

That's it! You only need to do this once.

Managing Your Connection
  • Check status: "Am I connected to Strava?"
  • Reconnect: "Connect my Strava account" (use force: true to reconnect)
  • Disconnect: "Disconnect my Strava account"

Installation Options

Option A: Just Use It (Recommended)

No installation needed! The npx command in the Quick Start automatically downloads and runs the latest version.

Option B: Install Globally

If you prefer to install it once:

npm install -g @r-huijts/strava-mcp-server

Then update your Claude config to use:

{

"mcpServers": { "strava": { "command": "strava-mcp-server" } } }

Note: Even though the package name is @r-huijts/strava-mcp-server, the executable name remains strava-mcp-server for backward compatibility.

Option C: Build from Source

For developers who want to modify the code:

   git clone https://github.com/r-huijts/strava-mcp.git

cd strava-mcp npm install npm run build

Then point Claude to your local build:

{

"mcpServers": { "strava": { "command": "node", "args": ["/path/to/strava-mcp/dist/server.js"] } } }


Example Conversations

Morning Check-in

You: What did I do for exercise this week?

Claude: Looking at your Strava activities this week, you completed:

- Monday: 5.2km run (28:15)

- Wednesday: 45km bike ride (1:32:00)

- Saturday: 10km run (52:30)

Total: 60.2km across 3 activities. Nice consistency!

Workout Analysis

You: Analyze my last cycling workout in detail

Claude: Here's a breakdown of your ride "Evening Loop" from yesterday:

Overview

- Distance: 42.3 km

- Time: 1:28:45

- Avg Speed: 28.6 km/h

Power Analysis

- Average Power: 185W

- Normalized Power: 198W

- Max Power: 520W

Heart Rate

- Average: 142 bpm

- Max: 175 bpm

- Time in Zone 4+: 23 minutes

Your power-to-heart-rate ratio suggests good aerobic efficiency...

Finding New Routes

You: Find me some challenging cycling climbs near Boulder, Colorado

Claude: Here are popular climbing segments near Boulder:

1. Flagstaff Road - 5.2km, 6.8% avg grade

2. Sunshine Canyon - 3.8km, 7.2% avg grade

3. Left Hand Canyon - 8.1km, 4.5% avg grade

Want me to star any of these so you can find them easily later?


Available Tools

Account & Profile
What you can askWhat it does
"Connect my Strava account"Links your Strava to Claude
"Check my Strava connection"Shows connection status
"Disconnect my Strava account"Unlinks Strava and clears stored tokens
"Get my Strava profile"Shows your profile info
"What shoes do I have?"Lists your shoes and usage distance
"What are my training zones?"Shows HR and power zones
Activities
What you can askWhat it does
"Show my recent activities"Lists your latest workouts
"Get all my runs from January"Fetches activities with filters
"Analyze activity 12345"Detailed info about one activity
"Show the laps from my last run"Lap-by-lap breakdown
"Get heart rate data from my ride"Time-series workout data (optimized compact format)
"Show photos from my hike"Activity photos
Stats & Progress
What you can askWhat it does
"What are my running stats?"YTD and all-time totals
"How far have I cycled this year?"Activity totals by type
"What's my longest ride?"Personal records
Segments
What you can askWhat it does
"Show my starred segments"Your favorite segments
"Find segments near [location]"Discover popular segments
"Get details on segment 12345"Segment info and leaderboard
"Star this segment"Save to favorites
"Show my efforts on [segment]"Your attempts on a segment
Routes
What you can askWhat it does
"List my saved routes"Your created routes
"Get details for my [route name]"Route info
"Export [route] as GPX"Download for GPS devices
"Export [route] as TCX"Download for GPS devices
Clubs
What you can askWhat it does
"What clubs am I in?"Lists your Strava clubs
Workouts
What you can askWhat it does
"Turn this workout into a Zwift file"Formats a workout plan into a structured file (currently Zwift .zwo)
Server
What you can askWhat it does
"What version is the Strava server?"Shows the MCP server version and metadata

Troubleshooting

"Connect my Strava account" doesn't open a browser
  • Make sure Claude Desktop is running the MCP server (check for errors in Claude)
  • Try restarting Claude Desktop
  • Check that port 8111 isn't blocked by a firewall
"Authentication failed" or "Invalid token"
  • Your token may have expired - say "Connect my Strava account" to reconnect
  • Make sure your Strava API application is still active at strava.com/settings/api
"Missing credentials" error
  • You need to complete the OAuth flow - say "Connect my Strava account"
  • If you're using environment variables, make sure all 4 are set (see Developer section)
Claude doesn't see the Strava tools
  • Make sure your claude_desktop_config.json is valid JSON (no trailing commas!)
  • Restart Claude Desktop after making config changes
  • Check Claude's developer console for error messages
JSONRPC.ProtocolTransportError after package name change

If you're getting a JSONRPC error after updating to @r-huijts/strava-mcp-server:

  1. Clear npx cache: Run rm -rf ~/.npm/_npx in terminal
  2. Verify config uses @r-huijts/strava-mcp-server (not the old strava-mcp-server)
  3. Restart Claude Desktop completely (quit and reopen)
  4. Test manually: Run npx -y @r-huijts/strava-mcp-server - you should see "Starting Strava MCP Server v1.2.1..."

For Developers

Click to expand technical details

Environment Variables

Instead of using the browser-based auth, you can set environment variables:

VariableDescription
STRAVA_CLIENT_IDYour Strava Application Client ID
STRAVA_CLIENT_SECRETYour Strava Application Client Secret
STRAVA_ACCESS_TOKENOAuth access token
STRAVA_REFRESH_TOKENOAuth refresh token
ROUTE_EXPORT_PATHDirectory for GPX/TCX exports
Token Refresh

The server automatically refreshes expired tokens. New tokens are saved to both process.env and ~/.config/strava-mcp/config.json.

Config Priority
  1. Environment variables (highest)
  2. ~/.config/strava-mcp/config.json
  3. Local .env file
Building & Testing
npm install

npm run build npm test

Activity Streams Optimization

The get-activity-streams tool uses a compact format by default, reducing payload size by ~70-80% while preserving all data:

  • Compact format (default): Raw arrays with metadata, ~70-80% smaller, ideal for LLM processing
  • Verbose format: Human-readable objects with formatted values (backward compatible)
  • Smart chunking: Large activities automatically split into ~50KB chunks
  • Optional downsampling: Can reduce very large datasets while preserving key features

The compact format includes comprehensive metadata (units, descriptions, statistics) so LLMs can understand the raw numeric data.

API Reference

The server implements the Model Context Protocol (MCP) and exposes 25 tools for Strava API v3. See the source code in src/tools/ for implementation details.

Contributing

Contributions welcome! Please submit a Pull Request.


License

MIT License - see LICENSE file for details.


Questions? Open an issue on GitHub.