Intervals.icu

v1.0.0Analyticsstable

Enables AI assistants to interact with Intervals.icu fitness tracking and wellness data, allowing users to fetch, filter, and group activities or health metrics. It provides structured summaries of workouts and physical well-being through natural lan

intervals-icu-mcp-servermcpai-integration
Share:
270
Stars
0
Downloads
0
Weekly
0/5

What is Intervals.icu?

Intervals.icu is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to interact with intervals.icu fitness tracking and wellness data, allowing users to fetch, filter, and group activities or health metrics. it provides structured summaries of wo...

Enables AI assistants to interact with Intervals.icu fitness tracking and wellness data, allowing users to fetch, filter, and group activities or health metrics. It provides structured summaries of workouts and physical well-being through natural lan

This server falls under the Analytics category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to interact with Intervals.icu fitness

Use Cases

Fetch and analyze fitness tracking data from Intervals.icu.
Group workouts and health metrics by time period.
Get AI summaries of physical activity and wellness.
mvilanova

Maintainer

LicenseGPL 3.0
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx intervals-icu-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Intervals.icu

The Intervals.icu MCP server enables AI assistants to fetch, filter, and analyze your fitness tracking and wellness data from Intervals.icu through natural language. It connects to the Intervals.icu REST API using your personal API key and athlete ID, exposing 13 tools covering activities, power curve analysis, wellness metrics (HRV, sleep, weight), calendar events, and custom data fields. Athletes and coaches use it to get AI-generated summaries of training blocks, compare performance trends, and manage their training calendar without leaving their AI assistant.

Prerequisites

  • Python 3.12 or higher
  • uv package manager for running the server
  • An Intervals.icu account with an API key (from Settings > API)
  • Your Intervals.icu athlete ID (the i-prefixed ID from your profile URL)
  • An MCP-compatible client such as Claude Desktop
1

Install uv and clone the repository

Install the uv package manager and clone the intervals-mcp-server repository to your local machine.

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/mvilanova/intervals-mcp-server.git
cd intervals-mcp-server
2

Set up the Python virtual environment

Create a Python 3.12 virtual environment and install all dependencies using uv sync.

uv venv --python 3.12
source .venv/bin/activate
uv sync
3

Configure your Intervals.icu credentials

Copy the example env file and add your API key and athlete ID. Your athlete ID is the i-prefixed value in your Intervals.icu profile URL.

cp .env.example .env
# Edit .env and set:
# API_KEY=your_api_key_here
# ATHLETE_ID=i12345
# INTERVALS_API_BASE_URL=https://intervals.icu/api/v1
# LOG_LEVEL=INFO
4

Register the server with Claude Desktop

Use the mcp install command to register and configure the server. It reads credentials from your .env file automatically.

mcp install src/intervals_mcp_server/server.py \
  --name "Intervals.icu" \
  --with-editable . \
  --env-file .env
5

Restart Claude Desktop and start querying

Restart Claude Desktop after registration. The Intervals.icu server exposes 13 tools for activities, wellness data, power curves, events, and custom items — all accessible through natural language.

Intervals.icu Examples

Client configuration

Claude Desktop config for the Intervals.icu MCP server with credentials passed as environment variables.

{
  "mcpServers": {
    "intervals-icu": {
      "command": "/full/path/to/uv",
      "args": [
        "run",
        "--with-editable",
        "/path/to/intervals-mcp-server",
        "python",
        "/path/to/intervals-mcp-server/src/intervals_mcp_server/server.py"
      ],
      "env": {
        "API_KEY": "your_intervals_icu_api_key",
        "ATHLETE_ID": "i12345",
        "INTERVALS_API_BASE_URL": "https://intervals.icu/api/v1",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

Prompts to try

Natural language prompts for analyzing training and wellness data from Intervals.icu.

- "List my last 20 running activities with pace, distance, and heart rate"
- "What is my best 5-minute power output in the last 6 months?"
- "Summarize my wellness trends for this training block — HRV, sleep quality, and fatigue"
- "Compare my training load from last month vs. this month"
- "Show upcoming events on my Intervals.icu calendar for the next 4 weeks"

Troubleshooting Intervals.icu

401 Unauthorized error when connecting to Intervals.icu

Verify your API_KEY is correct by testing it directly: curl -u 'API_KEY:your_key' https://intervals.icu/api/v1/athlete/i12345. Generate a new API key from Intervals.icu Settings > API if needed.

Server fails to start with Python version error

The server requires Python 3.12+. Run uv python install 3.12 to install it, then recreate the virtual environment with uv venv --python 3.12.

Claude Desktop shows the server as disconnected after restart

Use the full absolute path to the uv executable in your claude_desktop_config.json (find it with which uv). Relative paths and shell aliases are not resolved in the MCP server launch environment.

Frequently Asked Questions about Intervals.icu

What is Intervals.icu?

Intervals.icu is a Model Context Protocol (MCP) server that enables ai assistants to interact with intervals.icu fitness tracking and wellness data, allowing users to fetch, filter, and group activities or health metrics. it provides structured summaries of workouts and physical well-being through natural lan It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Intervals.icu?

Follow the installation instructions on the Intervals.icu GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Intervals.icu?

Intervals.icu works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Intervals.icu free to use?

Yes, Intervals.icu is open source and available under the GPL 3.0 license. You can use it freely in both personal and commercial projects.

Browse More Analytics MCP Servers

Explore all analytics servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "intervals-icu-mcp-server": { "command": "npx", "args": ["-y", "intervals-icu-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Intervals.icu?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides