EI

eddmann/intervals-icu-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

40 stars 28 forks 품질 63 트렌드 0MIT

eddmann/intervals-icu-mcp는 MCP 서버 후보가 https://github.com/eddmann/intervals-icu-mcp.에서 수입되었습니다

개요

eddmann/intervals-icu-mcp는 MCP 서버 후보가 https://github.com/eddmann/intervals-icu-mcp.에서 수입되었습니다

개요(AI 번역)

Intervals.icu 통합을 위한 Model Context Protocol (MCP) 서버. Claude 및 기타 LLM을 통해 훈련 데이터, 웰빙 미터 및 성능 분석에 액세스하십시오.

개요

이 MCP 서버는 Intervals와 상호 작용하는 48개의 도구를 제공합니다. icu 계정, 구성 9 범주:

  • 활동 (10 도구) - Query, 검색, 업데이트, 삭제 및 다운로드 활동
  • 활동 분석 (8 도구) - 스트림, 간격, 최고의 노력 및 histograms로 딥 다이빙
  • Athlete (2개의 공구) - 접근 단면도, 적당 미터 및 훈련 짐
  • 웰빙 (3 도구) - 트랙 및 업데이트 복구, HRV, 수면, 건강 통계
  • 이벤트/Calendar (9개의 공구) - 계획된 운동, 인종, 대량 가동을 가진 주 관리
  • 성능 / 회로 (3 도구) - 분석 전력, 심박수 및 속도 곡선
  • 운동 라이브러리 (2 도구) - 검색 및 운동 템플릿 및 계획을 탐구
  • Gear Management (6 도구) - 장비 및 유지 보수 알림
  • 스포츠 설정 (5 도구) - FTP, FTHR, 속도 임계값 및 영역을 구성

또한 서버는 다음과 같습니다.

  • 1 MCP Resource - 지속적인 컨텍스트를 위한 피트니스 메트릭을 가진 선수 프로필

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Intervals.icu MCP Server

A Model Context Protocol (MCP) server for Intervals.icu integration. Access your training data, wellness metrics, and performance analysis through Claude and other LLMs.

Overview

This MCP server provides 48 tools to interact with your Intervals.icu account, organized into 9 categories:

  • Activities (10 tools) - Query, search, update, delete, and download activities
  • Activity Analysis (8 tools) - Deep dive into streams, intervals, best efforts, and histograms
  • Athlete (2 tools) - Access profile, fitness metrics, and training load
  • Wellness (3 tools) - Track and update recovery, HRV, sleep, and health metrics
  • Events/Calendar (9 tools) - Manage planned workouts, races, notes with bulk operations
  • Performance/Curves (3 tools) - Analyze power, heart rate, and pace curves
  • Workout Library (2 tools) - Browse and explore workout templates and plans
  • Gear Management (6 tools) - Track equipment and maintenance reminders
  • Sport Settings (5 tools) - Configure FTP, FTHR, pace thresholds, and zones

Additionally, the server provides:

  • 1 MCP Resource - Athlete profile with fitness metrics for ongoing context
  • 6 MCP Prompts - Templates for common queries (training analysis, performance analysis, activity deep dive, recovery check, training plan review, weekly planning)

Prerequisites

  • Python 3.11+ and uv, OR
  • Docker

Intervals.icu API Key Setup

Before installation, you need to obtain your Intervals.icu API key:

  1. Go to https://intervals.icu/settings
  2. Scroll to the Developer section
  3. Click Create API Key
  4. Copy the API key (you’ll use it during setup)
  5. Note your Athlete ID from your profile URL (format: i123456)

Installation & Setup

How Authentication Works

  1. API Key - Simple API key authentication (no OAuth required)
  2. Configuration - API key and athlete ID saved to .env file
  3. Basic Auth - HTTP Basic Auth with username “API_KEY” and your key as password
  4. Persistence - Subsequent runs reuse stored credentials

Option 1: Using UV

# Install dependencies
cd intervals-icu-mcp
uv sync

Then configure credentials using one of these methods:

Interactive Setup

uv run intervals-icu-mcp-auth

This will prompt for your API key and athlete ID and save credentials to .env.

Manual Setup

Create a .env file manually:

INTERVALS_ICU_API_KEY=your_api_key_here
INTERVALS_ICU_ATHLETE_ID=i123456

Option 2: Using Docker

# Build the image
docker build -t intervals-icu-mcp .

Then configure credentials using one of these methods:

Interactive Setup

# Create the env file first (Docker will create it as a directory if it doesn't exist)
touch intervals-icu-mcp.env

# Run the setup script
docker run -it --rm \
GitHub에서 전체 README 보기

설치

docker run -i --rm -v /ABSOLUTE/PATH/TO/intervals-icu-mcp.env:/app/.env intervals-icu-mcp:latest
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "intervals-icu": { "command": "uv", "args": [ "run", "--directory", "/ABSOLUTE/PATH/TO/intervals-icu-mcp", "intervals-icu-mcp" ] } } }