npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-strava

v1.0.24

Published

MCP server for Strava API integration

Readme

Strava MCP Server

Minimalist Strava integration for Claude.

7 focused tools. One-time auth. Zero bloat.

What You Can Ask Claude

  • "How was my training this week vs last?"
  • "What's my average heart rate on tempo runs?"
  • "Break down yesterday's workout by zones"

Tools

| Tool | What it does | | ---------------------------- | --------------------------------------------------- | | get_athlete_profile | Your profile info | | get_athlete_stats | Totals: recent, YTD, all-time | | get_athlete_zones | HR and power zone configuration | | list_activities | Browse with date filtering | | get_activity_detail | Full workout breakdown with laps and segments | | get_activity_zones | Zone distribution with time and percentage per zone | | get_segment_effort_streams | Segment analysis with historical comparison |

Quick Start with npx

1. Create Strava App     →  strava.com/settings/api → get Client ID + Secret
2. Authorize (one-time)  →  STRAVA_CLIENT_ID=xxx STRAVA_CLIENT_SECRET=xxx \
                            STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback \
                            npx mcp-strava-auth
3. Configure Claude      →  Add to claude_desktop_config.json (see below)
4. Restart Claude        →  Done! Ask Claude about your workouts

1. Create Strava API Application

Visit https://www.strava.com/settings/api and create an application to get your Client ID and Secret.

2. Authorize with Strava (one-time setup)

Run the auth server with your Strava credentials:

STRAVA_CLIENT_ID=your_client_id STRAVA_CLIENT_SECRET=your_client_secret STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback npx mcp-strava-auth

Then:

  1. Visit http://localhost:3000/auth/strava in your browser
  2. Authorize on Strava's page
  3. You'll see "Authorization Successful!" when complete
  4. The server shuts down automatically

Tokens and credentials are stored securely in ~/.strava-mcp/tokens.json.

3. Configure Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

open ~/Library/Application\ Support/Claude/

Windows: %APPDATA%\Claude\claude_desktop_config.json

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

4. Restart Claude Desktop

Restart Claude Desktop to load the MCP server.

Manual Setup (Alternative)

If you prefer to clone and build locally:

1. Create Strava API Application

Visit https://www.strava.com/settings/api and create an application to get your Client ID and Secret.

2. Build the Project

git clone https://github.com/adrienlupo/mcp-strava.git
cd mcp-strava
npm install
npm run build

3. Authorize with Strava

Run the authorization server with your Strava credentials:

STRAVA_CLIENT_ID=your_client_id STRAVA_CLIENT_SECRET=your_client_secret STRAVA_REDIRECT_URI=http://localhost:3000/auth/callback npm run auth

Then:

  1. Visit http://localhost:3000/auth/strava in your browser
  2. Authorize on Strava's page
  3. You'll see "Authorization Successful!" when complete
  4. The server shuts down automatically

4. Configure Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

open ~/Library/Application\ Support/Claude/

Windows: %APPDATA%\Claude\claude_desktop_config.json

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

5. Restart Claude Desktop

Restart Claude Desktop to load the MCP server.

Development

npm install
npm run build
npm start

License

MIT