ST

Strava

Created 6 months ago

Strava MCP Server implementing Model Context Protocol in TypeScript.

development location documentation public Strava API

What is Strava?

Connect to the Strava API to access activity data, athlete profiles, segments, and routes, enabling fitness tracking and analysis with Claude.

Documentation

Strava MCP Server

This project implements a Model Context Protocol (MCP) server in TypeScript that acts as a bridge to the Strava API. It exposes Strava data and functionalities as "tools" that Large Language Models (LLMs) can utilize through the MCP standard.

Features

  • πŸƒ Access recent activities, profile, and stats.
  • πŸ“Š Fetch detailed activity streams (power, heart rate, cadence, etc.).
  • πŸ—ΊοΈ Explore, view, star, and manage segments.
  • ⏱️ View detailed activity and segment effort information.
  • πŸ“ List and view details of saved routes.
  • πŸ’Ύ Export routes in GPX or TCX format to the local filesystem.
  • πŸ€– AI-friendly JSON responses via MCP.
  • πŸ”§ Uses Strava API V3.

Installation & Setup

  1. Prerequisites:
  • Node.js (v18 or later recommended)
  • npm (usually comes with Node.js)
  • A Strava Account
  1. Clone Repository:

    git clone https://github.com/r-huijts/strava-mcp.git
    cd strava-mcp
    
  2. Install Dependencies:

    npm install
    
  3. Build the Project:

    npm run build
    
  4. Configure Claude Desktop Update your Claude configuration file...

License

This project is licensed under the MIT License - see the LICENSE file for details.

Server Config

{
  "mcpServers": {
    "strava-server": {
      "command": "npx",
      "args": [
        "strava"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: No

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: R Huijts
Category: community
License: MIT License
Tags:
development location documentation