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

intervals-icu-mcp-server

v0.10.0

Published

MCP server for Intervals.icu — 36 tools for activities, wellness, calendar events, workouts and more

Readme

intervals-icu-mcp-server

MCP server for Intervals.icu — connects Claude / Claude Code to your training data.

Installation

npx -y intervals-icu-mcp-server

Or install globally:

npm install -g intervals-icu-mcp-server

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "intervals-icu": {
      "command": "npx",
      "args": ["-y", "intervals-icu-mcp-server"],
      "env": {
        "API_KEY": "your_api_key",
        "ATHLETE_ID": "i12345"
      }
    }
  }
}

Claude Code

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "intervals-icu": {
      "command": "npx",
      "args": ["-y", "intervals-icu-mcp-server"],
      "env": {
        "API_KEY": "your_api_key",
        "ATHLETE_ID": "i12345"
      }
    }
  }
}
  • API_KEY: Settings → API → Generate key on intervals.icu
  • ATHLETE_ID: The i12345 part of your intervals.icu profile URL

Tools

Activities

| Tool | Description | |------|-------------| | get_activities | One line per activity (NP/IF/TSS, HR, decoupling, RPE); detail: true for full metrics | | get_activity_details | Full metrics for a specific activity | | get_activity_intervals | Per-interval breakdown (power, HR, speed, elevation) | | get_activity_streams | Raw per-second data streams (watts, HR, cadence, speed, altitude) | | get_activity_power_curves | Best power at standard durations (5s, 1min, 5min, 20min, 1h, etc.) | | download_activity_fit | Save an activity's FIT to disk (Intervals.icu-generated, or original: true for the device upload) |

Wellness & Fitness

| Tool | Description | |------|-------------| | get_wellness_data | Weight, HRV, sleep, CTL/ATL, subjective scores for a date range, as one table | | get_wellness_day | Wellness data for a single date | | update_wellness | Log weight, HRV, sleep, mood, soreness, etc. |

Athlete

| Tool | Description | |------|-------------| | list_athletes | List athletes you follow or coach (including yourself) — find athlete IDs for a coach account | | get_coach_ticks | Get coach-tick presets on an athlete's profile (in practice a fixed 1-5 rating scale) | | set_activity_coach_tick | Set or clear the coach's 1-5 rating on a specific activity | | get_athlete_profile | FTP, LTHR, weight, VO2max, resting HR | | get_athlete_zones | Power, HR and pace training zones | | get_athlete_summary | Current CTL, ATL, TSB and ramp rate snapshot |

Coach accounts: every tool accepts an optional athlete_id argument that overrides the ATHLETE_ID env var for that call. Log in with a coach's API_KEY, call list_athletes to get IDs for the athletes they coach, then pass athlete_id: "iXXXXX" on any tool call to work with that specific athlete — no need to swap accounts or .env files.

Calendar Events

| Tool | Description | |------|-------------| | get_events | Calendar events (workouts, races) for a date range; descriptions cut at 300 chars unless full_description: true | | get_event_by_id | Full details for a specific event | | create_event | Create a new event (workout, note, race) | | update_event | Update event fields or move it to a new date | | delete_event | Delete an event | | bulk_create_events | Create multiple events at once | | bulk_delete_events | Delete multiple events at once |

Workout Library

| Tool | Description | |------|-------------| | list_workouts | List all workouts in the library | | create_workout | Save a new structured workout to the library | | download_workout_fit | Save a planned (event_id) or library (workout_id) workout as a FIT for your head unit |

Downloads go to dir if given, else FIT_DOWNLOAD_DIR, else ~/Downloads/intervals.

Development

git clone https://github.com/SergeyPirogov/intervals-mcp.git
cd intervals-mcp
npm install
npm run build
npm run dev          # watch mode
npm run inspector    # MCP inspector UI