Skip to main content

Intervals MCP

io.github.ljcl/intervals-mcp

v3.0.0Updated Nov 19, 2026local · Docker

Remote MCP server for intervals.icu run data and analysis

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add intervals-mcp -e 'INTERVALS_API_KEY=<your-intervals-api-key>' -- docker run -i --rm -e INTERVALS_API_KEY ghcr.io/ljcl/intervals-mcp:3.0.0

Configuration

11 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • INTERVALS_API_KEY
    Env var· required· secret
    intervals.icu personal API key (Settings, Developer Settings)
  • ORS_API_KEY
    Env var· optional· secret
    OpenRouteService API key (openrouteservice.org) for generated route suggestions; unset offers past runs only
  • HOME_START
    Env var· optional· secret
    Usual run start as lat,lng (e.g. 37.79,-122.39); unset infers it from recent GPS runs
  • MCP_AUTH_TOKEN
    Env var· optional· secret
    Shared secret (32+ characters) gating /mcp and detailed /health (recommended when internet-facing)
  • INTERVALS_ATHLETE_ID
    Env var· optional
    Athlete id: 0 (default, the API key's own athlete) or e.g. i12345
  • TZ
    Env var· optional
    IANA time zone for local dates, e.g. Australia/Sydney; unset or UTC follows the athlete's intervals.icu time zone (Etc/UTC pins UTC)
Show 5 more
  • OSM_EXTRACT_URL
    Env var· optional
    URL of an .osm.pbf (e.g. a BBBike city or Geofabrik region) for the local OpenStreetMap index that counts road crossings in route suggestions; needs HOME_START
  • PORT
    Env var· optional
    Server port, 1-65535 (default 3000)
  • DATA_DIR
    Env var· optional
    Directory for stored routes (stitch-route, amend-route); the image uses /data, a volume in docker-compose.yml. Default ./data
  • ROUTE_RETENTION_DAYS
    Env var· optional
    Days a stored route not read or changed is kept, 1-3650 (default 30)
  • PUBLIC_URL
    Env var· optional
    Public URL, used only to warn when /mcp is exposed without MCP_AUTH_TOKEN

Listed in the official MCP Registry since Nov 19, 2026. Mirrored daily; last checked Nov 26, 2026.