SuperAPIAI Directory

intervals-mcp-server

github.com · AI developer platforms

intervals-mcp-server is an Intervals.icu training data server for MCP clients such as ChatGPT and Claude. It is community-maintained and is the continuation of mvilanova/intervals-mcp-server. It lets AI assistants read and analyze endurance training data such as cycling and running from a coach's perspective, including activities with all their custom fields and streams, intervals, wellness data compared against personal baselines, thresholds and power/heart-rate zones, planned versus actual training comparisons, climbs, dual power meters, best efforts, efficiency and durability, nutrition and weight, training summaries, and the calendar. The server runs in the user's own environment, communicates only with the Intervals.icu API, and is read-only by default unless write access is explicitly enabled. It supports metrics restored by Garmin Intervals Bridge and also supports climb custom fields written by intervals-summits. It provides 67 tools (52 read-only), built-in OAuth 2.1 remote access, token-efficient output, 13 coach prompts, and methodology guide resources. It requires an Intervals.icu API key and athlete ID and can be installed via PyPI, Docker, the Claude Desktop extension package, or the MCP Registry.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose

intervals-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants (such as ChatGPT and Claude) to read and analyze a user's training data in Intervals.icu and present the analysis in a coaching style. It is community-maintained and is the continuation of mvilanova/intervals-mcp-server, whose original project is no longer actively developed.

Key capabilities

  • Activities and streams: Read activities along with all their custom fields, interval fields, streams, and wellness fields; fields are resolved dynamically from the user's own definitions, reporting name, code, value, and unit. Streams can be output as summaries, CSV, or JSON, with support for slicing by index or time, downsampling, and pagination, plus statistics for each interval.
  • Coaching-style analysis: Provide single-activity reports, step-by-step planned versus actual comparisons, climbs and descents, second power meter checks, best efforts, similar intervals, repeat workouts, power-heart-rate efficiency, durability, training load (acute:chronic ratio, monotony, strain), three-zone intensity distribution and polarization index, aerobic durability, load forecasting, recovery snapshots (42-day baseline), wellness trends and correlations, nutrition and weight trends, weekly/monthly summaries, and more.
  • Token efficient: Heavy tools support detail_level (compact, standard, full) and output_format="json"; the tool catalog is compact (about 23k tokens for read-write, about 10k for the core set), and 13 ready-made coach prompts and methodology guide resources are provided.
  • Secure remote access: Built-in OAuth 2.1 server with "Continue with Intervals.icu" login, per-connection permission consent pages, private_key_jwt (ChatGPT), PKCE, and RFC 9207; the same process serves Streamable HTTP (/mcp) and SSE.
  • Safe writes: Validate workouts before writing, dry_run shows the exact request, duplicate events on the same day are rejected, and after writing, the content stored and parsed by Intervals.icu is read back.
  • Route-aware outdoor workouts: Support for until_lap_press steps so the next interval starts where the road is suitable (such as the start of a climb), while work steps continue to be timed. Already in End-to-end validation on Garmin Edge 1040.
  • Read-only by default: tools are grouped by permission class (read, write, destructive, admin) and enforced server-side, with only read enabled by default.

Usage

Requires an Intervals.icu API key (Settings → Developer Settings) and an athlete ID (e.g. i123456). The Python package requires uv (or Python 3.12+ and pip), and the container image requires Docker. Each installation runs the user's own server and credentials; there is no hosted service.

Installation options include:

  • PyPI package futureweb-intervals-mcp (uvx or pip)
  • Container images ghcr.io/futureweb/intervals-mcp-server and futurewebat/futureweb-intervals-mcp (Docker Hub)
  • Claude Desktop extension package (.mcpb) from GitHub Releases
  • Official MCP Registry entry io.github.futureweb/intervals-mcp-server

Claude Desktop can be configured via claude_desktop_config.json to launch with uvx or Docker; Claude Code can be added with the claude mcp add command.

Use cases

Suited to endurance sports enthusiasts, coaches, or data analysis users who want to use an AI assistant to deeply analyze training data in Intervals.icu, including recovery status, training load, race-week preparation, nutrition and weight trends, power meter comparisons, and more. Also suited to scenarios requiring secure remote access or sharing a server with friends.

Limitations

  • Requires an Intervals.icu API key and athlete ID; no hosted service.
  • Read-only by default; writes require explicitly enabling permission classes.
  • Route-aware outdoor training is only validated on Garmin Edge 1040; other devices are unverified.
  • Not affiliated with Intervals.icu or Garmin.
  • Current version 1.0.0b2 is a pre-release; you must pin the version or allow pre-releases.
  • Some features depend onthe optional Garmin Intervals Bridge or intervals-summits project, but the server itself does not contact Garmin.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools