← Back to directory
S

Strava MCP Server

Community
Query and analyze Strava activity data in natural language.
Category
Other #465 of 678
Stars
★ 509 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
API key / credential required
License
MIT
Last commit
47FMRS · D

This project provides an MCP server that connects to the Strava API over stdio. The manifest lists its status as active and the repository identifies an MIT license; neither establishes upstream ownership or an independent security review. The README describes access to activity, statistics, route, segment, club, and workout data.

Strongest · Setup experience 12/20 Weakest · Reliability 7/20

Reliability
7/20
Security and permissions
10/20
Maintenance
8/20
Documentation
10/20
Setup experience
12/20
Why each score
Reliability 7/20
The README claims 25 tools, OAuth connection, and token refresh, and includes a manual launch example; the manifest declares an npm package using stdio. No source code, CI, or committed tests are provided to verify initialization, tool-list behavior, or implementation. The manifest requires an access token, while the README describes browser authorization and says there are four environment variables, so configuration evidence is inconsistent.
Security and permissions 10/20
The documentation says client credentials and tokens are stored in a local config file, and supports environment variables, .env, and automatic refresh; the manifest marks the client secret and access token as secret. The described capabilities access personal activity, health metrics, routes, and photos, and include route export and starring segments, but permissions, data flows, storage protection, and confirmation for write operations are not explained. No explicit red-line behavior appears in the supplied material, so the red-line penalty does not apply.
Maintenance 8/20
The project lists an MIT license, a versioned npm package, and GitHub issues as update and feedback paths; repository metadata says it is not archived and has 23 open issues. There is no evidence about commit or release cadence, issue response, dependency updates, or a security response process, so sustained maintenance cannot be established.
Documentation 10/20
The README provides feature examples, installation options, OAuth setup, environment variables, token refresh details, troubleshooting, and developer notes. Tool parameters, permission scopes, API limits, costs, data retention, and error handling are not sufficiently detailed; environment-variable counts conflict, and example conversations do not verify real behavior.
Setup experience 12/20
The README gives stdio setup examples for Claude Desktop and Claude Code, npx and global-install options, and browser authorization steps. Platform coverage is limited and users must create a Strava application; the manifest requires a preconfigured access token while the README emphasizes OAuth, leaving a gap between declared and documented setup. No CI or key-path test evidence is supplied, so the static calibration cap applies.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessWrites / deletes local filesUses the networkChanges third-party account dataControls a browser

Best for

  • Athletes who want to query or analyze their Strava data through Claude or another LLM client
  • Strava users who need activity details, route information, or segment discovery

Not for

  • People without a Strava account or who do not want to authorize access to Strava data
  • People seeking a standalone app without an MCP client

Required permissions

  • Requires a Strava API client ID, client secret, and access token; the manifest marks all three required and labels the secret and token confidential
  • The README describes authorizing through Strava during initial connection; accessible data and actions depend on the Strava authorization and API capabilities
  • Route GPX/TCX export can write export files; the README mentions a configurable export directory

Risks and side effects

  • Access tokens and client secrets are sensitive credentials; the README says credentials are saved in a local configuration file
  • Activities, routes, and workout or health-related data may be personal; connect only in a client and environment you trust
  • Activity results and figures shown in README examples are illustrative and do not guarantee actual user data or service results

Setup

Before you start

Runtime:Node.js

STRAVA_CLIENT_ID required The client ID for your Strava API application; get it by creating or viewing an app at strava.com/settings/api.
STRAVA_CLIENT_SECRET requiredsecret The client secret for your Strava API application; get it by creating or viewing an app at strava.com/settings/api.
STRAVA_ACCESS_TOKEN requiredsecret The Strava OAuth access token; obtain it by authorizing the Strava app.
STRAVA_REFRESH_TOKEN optionalsecret The Strava OAuth refresh token; obtain it by authorizing the Strava app.
Other optional settings (1)
ROUTE_EXPORT_PATH optional The directory where GPX/TCX route exports are saved.

Add this entry under mcpServers in the Claude Desktop configuration file: {"strava":{"command":"npx","args":["-y","@r-huijts/strava-mcp-server"]}}. Restart Claude Desktop and connect a Strava account. Claude Code can also be configured to use the server over stdio. First-time connection requires Strava API application credentials and authorization.

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

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "strava": {
      "command": "npx",
      "args": [
        "-y",
        "@r-huijts/strava-mcp-server"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.strava]
command = "npx"
args = ["-y", "@r-huijts/strava-mcp-server"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add strava -- npx -y @r-huijts/strava-mcp-server

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm the Strava tools appear in your client's tool list, then ask “Am I connected to Strava?” to check the account connection.

Troubleshooting

  1. If the browser does not open during connection, confirm the MCP server is running, restart Claude Desktop, and check whether port 8111 is blocked
  2. For authentication failures or invalid tokens, reconnect Strava and confirm the Strava API application is active
  3. For missing credentials, complete OAuth authorization; if using environment variables, check that required credentials are set
  4. If the client does not show the tools, validate the configuration JSON and restart the client
  5. For a JSON-RPC transport error, check that the configuration uses @r-huijts/strava-mcp-server and try clearing the npx cache as the README suggests

Things to try

Once connected, you can ask your AI assistant things like:

  • Show my recent Strava activities.
  • Analyze the heart rate and power data from my last ride.
  • List my starred segments.
  • Export my saved route as a GPX file.

Use cases

Query recent activities or filter activities by date or type
Analyze an activity, segments, heart rate, power, pace, and laps
Review activity totals, personal records, training zones, and training load
Find, star, and inspect segments; manage routes and export GPX or TCX files
Review clubs and equipment usage, or format a workout plan as a Zwift .zwo file

Supported clients

Claude Desktop
Claude CodePartial support

Listed from the project's documentation, not tested by this site.

Overview

Strava MCP Server connects the Strava API to MCP clients so users can ask natural-language questions about their profile, activities, stats, routes, segments, clubs, and workout data. The README says it exposes 25 tools for Strava API v3 but does not provide canonical tool identifiers.

Similar servers

Source revision ac43cc7b0aad Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/strava-mcp.svg)](https://followmcp.com/en/servers/strava-mcp)