MCP directory
IM

Intervals Mcp

by github.com/ljcl · v3.0.0 · updated Nov 19, 2026

Remote MCP server for intervals.icu run data and analysis

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/ljcl/intervals-mcp:3.0.0

Environment variables

  • INTERVALS_API_KEYrequiredsecret

    intervals.icu personal API key (Settings, Developer Settings)

  • INTERVALS_ATHLETE_ID

    Athlete id: 0 (default, the API key's own athlete) or e.g. i12345

  • TZ

    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)

  • ORS_API_KEYsecret

    OpenRouteService API key (openrouteservice.org) for generated route suggestions; unset offers past runs only

  • HOME_STARTsecret

    Usual run start as lat,lng (e.g. 37.79,-122.39); unset infers it from recent GPS runs

  • OSM_EXTRACT_URL

    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

  • MCP_AUTH_TOKENsecret

    Shared secret (32+ characters) gating /mcp and detailed /health (recommended when internet-facing)

  • PORT

    Server port, 1-65535 (default 3000)

  • DATA_DIR

    Directory for stored routes (stitch-route, amend-route); the image uses /data, a volume in docker-compose.yml. Default ./data

  • ROUTE_RETENTION_DAYS

    Days a stored route not read or changed is kept, 1-3650 (default 30)

  • PUBLIC_URL

    Public URL, used only to warn when /mcp is exposed without MCP_AUTH_TOKEN

More from github.com/ljcl

More MCP servers