Strava MCP Server

Enables language models to access and query athlete activity data from the Strava API.

Local serverstdioPython★ 21

What is the Strava MCP Server?

Enables language models to access and query athlete activity data from the Strava API.

The short version

A Model Context Protocol (MCP) server that provides access to the Strava API. It allows language models to query athlete activities data from the Strava API.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_activitieslimit: int = 10): Get the authenticated athlete's recent activities
get_activities_by_date_rangestart_date: str, end_date: str, limit: int = 30): Get activities within a specific date range
get_activity_by_idactivity_id: int): Get detailed information about a specific activity
get_recent_activitiesdays: int = 7, limit: int = 10): Get activities from the past X days

How to install the Strava MCP Server

{
  "mcpServers": {
    "strava": {
      "command": "uvx",
      "args": [
        "strava-mcp-server"
      ],
      "env": {
        "STRAVA_CLIENT_ID": "YOUR_CLIENT_ID",
        "STRAVA_CLIENT_SECRET": "YOUR_STRAVA_CLIENT_SECRET",
        "STRAVA_REFRESH_TOKEN": "YOUR_STRAVA_REFRESH_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
STRAVA_CLIENT_IDDeclared in the maintainer’s client configuration.Check documentation
STRAVA_CLIENT_SECRETDeclared in the maintainer’s client configuration.Check documentation
STRAVA_REFRESH_TOKENDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

It's a Model Context Protocol (MCP) server that allows language models to access and query athlete activity data from the Strava API.