프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Intervals MCP

제작자: ljcl버전 2.19.0i★ 0i내 컴퓨터에서 실행
레지스트리 이름io.github.ljcl/intervals-mcp

설치 방법

개요

제작자가 쓴 설명(영어 원문)

Remote MCP server for intervals.icu run data and analysis

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: Streamable HTTP
  • 카테고리: 기타
  • 입력해야 할 값: INTERVALS_API_KEY, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 2/2 통과 · 내 컴퓨터에서 실행돼요

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. Docker 설치

    한 번만 하면 Docker가 필요한 모든 서버에 쓸 수 있어요

    Docker 다운로드 페이지 열기 ↗

  2. Intervals MCP에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Intervals MCP 사이트 열기 ↗

  3. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  4. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "intervals": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "-e",
            "INTERVALS_API_KEY",
            "-e",
            "INTERVALS_ATHLETE_ID",
            "-e",
            "TZ",
            "-e",
            "ORS_API_KEY",
            "-e",
            "HOME_START",
            "-e",
            "OSM_EXTRACT_URL",
            "-e",
            "MCP_AUTH_TOKEN",
            "-e",
            "PORT",
            "-e",
            "DATA_DIR",
            "-e",
            "ROUTE_RETENTION_DAYS",
            "-e",
            "PUBLIC_URL",
            "ghcr.io/ljcl/intervals-mcp:2.19.0"
          ],
          "env": {
            "INTERVALS_API_KEY": "your-value",
            "INTERVALS_ATHLETE_ID": "your-value",
            "TZ": "your-value",
            "ORS_API_KEY": "your-value",
            "HOME_START": "your-value",
            "OSM_EXTRACT_URL": "your-value",
            "MCP_AUTH_TOKEN": "your-value",
            "PORT": "your-value",
            "DATA_DIR": "your-value",
            "ROUTE_RETENTION_DAYS": "your-value",
            "PUBLIC_URL": "your-value"
          }
        }
      }
    }

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Claude를 끄고 다시 열기

  6. 해 보기

    Intervals MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Intervals MCP을 쓰고 있다고 하거나 답에 Intervals MCP 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Intervals MCP에 연결할 수 없어요

Intervals MCP는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Intervals MCP에 연결되는 앱 쓰기

  • Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
  • Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)
  • Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)

B · 기타에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)

  1. Docker 설치

    한 번만 하면 Docker가 필요한 모든 서버에 쓸 수 있어요

    Docker 다운로드 페이지 열기 ↗

  2. Intervals MCP에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Intervals MCP 사이트 열기 ↗

  3. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  4. 이 명령을 붙여 넣고 Enter

    claude mcp add intervals --env INTERVALS_API_KEY=your-value --env INTERVALS_ATHLETE_ID=your-value --env TZ=your-value --env ORS_API_KEY=your-value --env HOME_START=your-value --env OSM_EXTRACT_URL=your-value --env MCP_AUTH_TOKEN=your-value --env PORT=your-value --env DATA_DIR=your-value --env ROUTE_RETENTION_DAYS=your-value --env PUBLIC_URL=your-value -- docker run -i --rm -e INTERVALS_API_KEY -e INTERVALS_ATHLETE_ID -e TZ -e ORS_API_KEY -e HOME_START -e OSM_EXTRACT_URL -e MCP_AUTH_TOKEN -e PORT -e DATA_DIR -e ROUTE_RETENTION_DAYS -e PUBLIC_URL ghcr.io/ljcl/intervals-mcp:2.19.0

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Claude Code에서 /mcp 입력

    Intervals MCP이 목록에 있고 연결됨으로 보이면 돼요

  6. 해 보기

    Intervals MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Intervals MCP을 쓰고 있다고 하거나 답에 Intervals MCP 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)

  1. Docker 설치

    한 번만 하면 Docker가 필요한 모든 서버에 쓸 수 있어요

    Docker 다운로드 페이지 열기 ↗

  2. Intervals MCP에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Intervals MCP 사이트 열기 ↗

  3. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  4. 키 입력

    Intervals MCP 설정에서 INTERVALS_API_KEY, INTERVALS_ATHLETE_ID, TZ, ORS_API_KEY, HOME_START, OSM_EXTRACT_URL, MCP_AUTH_TOKEN, PORT, DATA_DIR, ROUTE_RETENTION_DAYS, PUBLIC_URL가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. Cursor에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Intervals MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Intervals MCP을 쓰고 있다고 하거나 답에 Intervals MCP 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

Intervals MCP 키가 필요해요 (제작자 사이트에서 가입, 비용이 들 수 있음) · 먼저 컴퓨터에 Docker를 설치하세요 (한 번만)

  1. Docker 설치

    한 번만 하면 Docker가 필요한 모든 서버에 쓸 수 있어요

    Docker 다운로드 페이지 열기 ↗

  2. Intervals MCP에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 비용이 들 수 있어요.

    Intervals MCP 사이트 열기 ↗

  3. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  4. 키 입력

    Intervals MCP 설정에서 INTERVALS_API_KEY, INTERVALS_ATHLETE_ID, TZ, ORS_API_KEY, HOME_START, OSM_EXTRACT_URL, MCP_AUTH_TOKEN, PORT, DATA_DIR, ROUTE_RETENTION_DAYS, PUBLIC_URL가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  5. VS Code에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Intervals MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Intervals MCP을 쓰고 있다고 하거나 답에 Intervals MCP 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Intervals MCP을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add intervals --env INTERVALS_API_KEY=your-value --env INTERVALS_ATHLETE_ID=your-value --env TZ=your-value --env ORS_API_KEY=your-value --env HOME_START=your-value --env OSM_EXTRACT_URL=your-value --env MCP_AUTH_TOKEN=your-value --env PORT=your-value --env DATA_DIR=your-value --env ROUTE_RETENTION_DAYS=your-value --env PUBLIC_URL=your-value -- docker run -i --rm -e INTERVALS_API_KEY -e INTERVALS_ATHLETE_ID -e TZ -e ORS_API_KEY -e HOME_START -e OSM_EXTRACT_URL -e MCP_AUTH_TOKEN -e PORT -e DATA_DIR -e ROUTE_RETENTION_DAYS -e PUBLIC_URL ghcr.io/ljcl/intervals-mcp:2.19.0

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "intervals": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "OSM_EXTRACT_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.19.0"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "OSM_EXTRACT_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "intervals": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "OSM_EXTRACT_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.19.0"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "OSM_EXTRACT_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "intervals": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "INTERVALS_API_KEY",
        "-e",
        "INTERVALS_ATHLETE_ID",
        "-e",
        "TZ",
        "-e",
        "ORS_API_KEY",
        "-e",
        "HOME_START",
        "-e",
        "OSM_EXTRACT_URL",
        "-e",
        "MCP_AUTH_TOKEN",
        "-e",
        "PORT",
        "-e",
        "DATA_DIR",
        "-e",
        "ROUTE_RETENTION_DAYS",
        "-e",
        "PUBLIC_URL",
        "ghcr.io/ljcl/intervals-mcp:2.19.0"
      ],
      "env": {
        "INTERVALS_API_KEY": "your-value",
        "INTERVALS_ATHLETE_ID": "your-value",
        "TZ": "your-value",
        "ORS_API_KEY": "your-value",
        "HOME_START": "your-value",
        "OSM_EXTRACT_URL": "your-value",
        "MCP_AUTH_TOKEN": "your-value",
        "PORT": "your-value",
        "DATA_DIR": "your-value",
        "ROUTE_RETENTION_DAYS": "your-value",
        "PUBLIC_URL": "your-value"
      }
    }
  }
}

직접 입력할 값

  • INTERVALS_API_KEY 비밀 필수 env
    intervals.icu personal API key (Settings, Developer Settings)
  • INTERVALS_ATHLETE_ID env
    Athlete id: 0 (default, the API key's own athlete) or e.g. i12345
  • TZ env
    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_KEY 비밀 env
    OpenRouteService API key (openrouteservice.org) for generated route suggestions; unset offers past runs only
  • HOME_START 비밀 env
    Usual run start as lat,lng (e.g. 37.79,-122.39); unset infers it from recent GPS runs
  • OSM_EXTRACT_URL env
    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_TOKEN 비밀 env
    Shared secret (32+ characters) gating /mcp and detailed /health (recommended when internet-facing)
  • PORT env
    Server port, 1-65535 (default 3000)
  • DATA_DIR env
    Directory for stored routes (stitch-route, amend-route); the image uses /data, a volume in docker-compose.yml. Default ./data
  • ROUTE_RETENTION_DAYS env
    Days a stored route not read or changed is kept, 1-3650 (default 30)
  • PUBLIC_URL env
    Public URL, used only to warn when /mcp is exposed without MCP_AUTH_TOKEN

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
라이선스i
라이선스 표시 없음
연결 방식
내 컴퓨터에서 실행
전송 방식
streamable-http
최신 버전i
2.19.0
카테고리i
기타
레지스트리 공개i
2026년 11월 11일
코드 마지막 변경i
2026년 11월 11일
제작자
ljcl
패키지
oci: ghcr.io/ljcl/intervals-mcp:2.19.0
웹사이트
github.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 11일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 ljcl 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 오늘

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

기타 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 19245개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 19245개 중 99%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 19245개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Intervals MCP, 안전한가요?

해당하는 기본 점검 2개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: INTERVALS_API_KEY, ORS_API_KEY, HOME_START, MCP_AUTH_TOKEN

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 오늘 변경됐고, 최신 버전(2.19.0)은 오늘 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: World Monitor, Claude Flow, Tldraw

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 102 tools.

제작자: koala73널리 사용됨★ 9만6일 전 업데이트

클라우드에서 실행✓ worldmonitor.app

Claude Flow

AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.

제작자: ruvnet널리 사용됨↓ 1.4만/주★ 8.1만14개월 전 업데이트

내 컴퓨터에서 실행

Tldraw

Draw and visually collaborate with your agents on tldraw's canvas.

제작자: tldraw널리 사용됨★ 5.1만8개월 전 업데이트

클라우드에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Intervals Extra (intervals-mcp)

A single-user remote MCP server for intervals.icu run data and analysis, with interactive MCP Apps.

All text tools and every MCP App talk to intervals.icu directly and are verified against a real account; see docs/tools.md for the full catalog. Configuration is checked at startup: a bad variable stops the server with a message naming it, and the key's presence is reported on /health.

History. This project began as strava-mcp and was migrated to intervals.icu as its data source; nothing in the server talks to Strava today.

Setup

1. Get an intervals.icu API key
  1. Log in to intervals.icu
  2. Go to Settings, Developer Settings
  3. Copy your personal API key
2. Configure environment
cp .env.example .env

Edit .env with your values:

INTERVALS_API_KEY=your_api_key

All variables are listed in docs/operations.md.

3. Run it

Local development (needs Bun):

bun install

bun run dev

Docker:

docker compose up -d

Prefer the prebuilt image? Pull ghcr.io/ljcl/intervals-mcp:latest, the newest release (also on the MCP registry as io.github.ljcl/intervals-mcp), and point your compose image: at it instead of building; you still supply your own API key. :edge tracks unreleased main. Published images carry SBOM/provenance attestations you can verify; see operations.md.

GET /health reports liveness without spending an intervals.icu API request; with MCP_AUTH_TOKEN it also reports config and rate-limit state. Response shapes and monitoring guidance: operations.md.

Point any client at http://localhost:3000/mcp. Repo layout, task runner, tests, coverage gates, and Storybook workflow: docs/development.md. Agent conventions live in AGENTS.md.

Connecting to AI Tools

Most AI tools (Claude Desktop, Claude Code, etc.) need an HTTPS URL to reach your MCP server. Since the server runs on your local network, you'll need a tunnel to expose it.

Tailscale Funnel (Recommended)

Tailscale Funnel exposes a local port to the internet over HTTPS with no configuration:

tailscale funnel --bg 3000

→ https://your-machine.tail1234.ts.net

Set PUBLIC_URL in your .env to the resulting URL.

Cloudflare Tunnel
cloudflared tunnel --url http://localhost:3000
Securing the endpoint

A tunnel makes /mcp reachable by anyone who discovers the URL, so they can use the intervals.icu API key configured on the server (the key itself is never exposed to them). Set MCP_AUTH_TOKEN to a long random secret (openssl rand -hex 32) and every /mcp request requires Authorization: Bearer ; each client snippet below shows where the header goes. The secret also gates the detailed half of /health. Full details: operations.md.

Set it in .env alongside your API key; docker-compose.yml forwards it automatically.

AI Tool (Claude Desktop, Claude Code, etc.)

│ HTTPS HTTPS Tunnel (Tailscale / Cloudflare) │ HTTP (localhost:3000) intervals-mcp Server (Docker / Bun) │ HTTPS intervals.icu API

Client configuration

The server works with any MCP client that supports the Streamable HTTP transport. In every snippet below, replace https://your-public-url with your tunnel URL (or http://localhost:3000 for local development), and include the Authorization header only if you set MCP_AUTH_TOKEN.

Claude Desktop

Add to your Claude configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{

"mcpServers": { "intervals-mcp": { "type": "url", "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

Restart Claude Desktop to load the new configuration.

Claude Code
claude mcp add --transport http intervals-mcp https://your-public-url/mcp \

--header "Authorization: Bearer your-mcp-auth-token"

Cursor

Add to .cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):

{

"mcpServers": { "intervals-mcp": { "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

VS Code

Add to .vscode/mcp.json in your workspace (or run MCP: Add Server from the command palette):

{

"servers": { "intervals-mcp": { "type": "http", "url": "https://your-public-url/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

Other clients (generic Streamable HTTP)

Any client that speaks Streamable HTTP can connect to the /mcp endpoint directly. The endpoint serves the 2026-07-28 revision: clients send stateless requests carrying the io.modelcontextprotocol/* envelope keys and the Mcp-Method/Mcp-Name headers (server/discover advertises capabilities). A 2025-era client (one that opens with initialize) is served statelessly too, because claude.ai loads MCP Apps that way, but it gets no write tool: update-activity, update-wellness and update-gear need a 2026-07-28 client. POST JSON-RPC messages with an Accept: application/json, text/event-stream header. Protocol details: docs/architecture.md.

Tools

The full tool catalog, prompts, permission behaviour, and example requests live in docs/tools.md. All text tools and every MCP App's data handler talk to intervals.icu directly.

Documentation

DocContents
docs/tools.mdFull tool catalog, prompts, permission behaviour, example requests
docs/operations.mdEnvironment variables, the API key, health endpoint, rate limits, endpoint security
docs/architecture.mdServer architecture: transport, HTTP layer, cache, error taxonomy, analysis math
docs/api-notes.mdCalling the intervals.icu API: auth, endpoints, verified behaviour from Phases 1 and 2
docs/mcp-apps.mdMCP App packages: shared shell, mobile, theming, per-app details
docs/development.mdMonorepo mechanics: Turborepo, coverage gates, Storybook gates, Docker build
docs/releasing.mdRelease automation: Conventional Commit PR titles, release-please, publishing
docs/project.mdIssue tracking and project board
docs/Intervals_MCP_Server.mdCapability reference to upload as project knowledge in a Claude project using this server

PRs are squash-merged and the PR title becomes the commit on `main`, so write it as a Conventional Commit (fix: patch, feat: minor, any ! or BREAKING CHANGE: footer major; chore:/docs:/refactor:/ci: release nothing). A CI check rejects non-conforming titles; see docs/releasing.md.

Troubleshooting

Server exits at startup: The message names the variable to fix, one line per bad variable. See operations.md.

AI tool can't reach the server — MCP requires an HTTPS URL. Use a tunnel (Tailscale Funnel or Cloudflare Tunnel) to expose your local server. See Connecting to AI Tools.

API key errors: Check /health first: api_key_configured tells you whether the server has a key set at all. If api_key_configured is true but calls still fail, the key may be wrong or revoked; generate a new one at intervals.icu, Settings, Developer Settings, and update INTERVALS_API_KEY. See operations.md.

Today's run is missing, or dates are a day off: Check time_zone and time_zone_source on /health. With TZ unset (or UTC), the server uses your intervals.icu time zone; set TZ to choose one. See operations.md.

"Cloudflare … answered with a challenge": Cloudflare, in front of intervals.icu, stopped the request before it reached intervals.icu, so this is not an API key problem. Wait a few minutes and retry. See operations.md.

Client can't connect (401 or unsupported protocol version): Each refused /mcp request writes one mcp_rejected line to the server log with its status, JSON-RPC code and, when the client sent it, its name. A 401 means the bearer token is missing or wrong. Code -32022 means the client's envelope names an MCP revision the server does not serve. See operations.md.

Is the server up and reachable? curl https://your-public-url/health. It answers without touching the intervals.icu API, so it works even when your rate limit is exhausted.

Client re-prompts for read tools after I granted them — A release likely renamed a tool or changed its input schema; grants are stored per tool identity, so that drops the grant. Releases say so in the changelog. Otherwise persistence lives in the client — check both connector-level and per-tool settings. See docs/tools.md.

License

MIT