Strava MCP

Integrations

  • Provides access to a user's Strava activity data, allowing queries about exercise records and workout history.

Strava MCP

This repository contains a Strava MCP which you can add to your Claude Desktop client. Once installed, you'll be able to ask Claude all about your activities!

Checkout my blog post here

Setup

Dependencies

  • Claude Desktop
  • uv
  • A Stava account with a develop app setup

Connecting to Strava

Once you have an app setup on your Strava profile and you've cloned this repository, create an .env file at the root with the following contents:

STRAVA_CLIENT_ID=<fill-me-in> STRAVA_CLIENT_SECRET=<fill-me-in> STRAVA_ACCESS_TOKEN=<fill-me-in> STRAVA_REFRESH_TOKEN=<fill-me-in>

Connecting the MCP to Claude

You can add the server to your Claude config by running the following:

uv run mcp install main.py

If you make changes to the server, you will need to restart your Claude desktop client.

Once installed, you should see a hammer icon at the bottom of the text box on your Claude app. If you click on it, it should show the following:

Running

Now the server is added, Claude should be able to use it.

Try: "tell me about my latest activity".

-
security - not tested
A
license - permissive license
-
quality - not tested

A Claude MCP server that lets users query and analyze their Strava activity data by connecting to the Strava API.

  1. Setup
    1. Dependencies
    2. Connecting to Strava
    3. Connecting the MCP to Claude
  2. Running
    ID: deb6j1cofk