Intervals.icu MCP サーバー
Claude と Intervals.icu API を接続するための Model Context Protocol (MCP) サーバー。アクティビティ、イベント、ウェルネスデータの認証とデータ取得のためのツールを提供します。
要件
- Python 3.10以上
- モデルコンテキストプロトコル (MCP) Python SDK
- httpx
- Python-dotenv
設定
1. uvをインストールする(推奨)
2. このリポジトリをクローンする
3. 仮想環境を作成してアクティブ化する
4. 依存関係をインストールする
5. 環境変数を設定する
次のコマンドを実行して、 .env.example
のコピーを作成し、 .env
という名前を付けます。
次に、 .env
ファイルを編集し、Intervals.icu アスリート ID と API キーを設定します。
Intervals.icu APIキーの取得
- Intervals.icuアカウントにログイン
- 設定 > API へ移動
- 新しいAPIキーを生成する
アスリートIDを見つける
アスリートIDは通常、Intervals.icuにログインするとURLに表示されます。例:
https://intervals.icu/athlete/i12345/...``i12345
はあなたのアスリートIDです
使用法
1. Claudeデスクトップを設定する
このサーバーを Claude Desktop で使用するには、Claude Desktop 構成に追加する必要があります。
- Claude Desktop を構成するには、
intervals_mcp_server
ディレクトリから次のコマンドを実行します。
- Claude デスクトップ アプリの構成ファイル
claude_desktop_config.json
を開くと、次のようになります。
ここで/path/to/
は、システム内のintervals-mcp-server
コード フォルダーへのパスです。
Claude Desktop を開いた際に以下のエラーメッセージが表示される場合は、 claude_desktop_config.json
設定ファイルの command キーにuv
へのフルパスを指定してください。ターミナルでwhich uv
実行すると、フルパスを取得できます。
- Claude Desktop を再起動します。
2. クロードとMCPサーバーを使用する
サーバーが稼働し、Claude Desktop が設定されると、次のツールを使用して、過去および将来のアクティビティ、イベント、健康データについて質問できるようになります。
get_activities
: アクティビティのリストを取得するget_activity_details
: 特定のアクティビティの詳細情報を取得するget_activity_intervals
: 特定のアクティビティの詳細な間隔データを取得するget_wellness_data
: ウェルネスデータを取得するget_events
: 今後のイベント (ワークアウト、レースなど) を取得します。get_event_by_id
: 特定のイベントの詳細情報を取得する
ライセンス
GNU 一般公衆利用許諾書 v3.0
特集
グラマ.ai
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Claude を Intervals.icu API に接続して、アクティビティ、ワークアウト、健康指標、トレーニング イベントなどのフィットネス データを取得します。
Related MCP Servers
- -securityAlicense-qualityConnects to Garmin Connect and exposes your fitness and health data (activities, sleep, heart rate, steps, body composition) to Claude and other MCP-compatible clients.Last updated -1PythonMIT License
- -securityAlicense-qualityProvides access to Urban Institute's Education Data API through Claude, enabling users to query and analyze detailed educational data from schools, districts, and universities.Last updated -JavaScriptMIT License
- -securityAlicense-qualityEnables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.Last updated -TypeScriptMIT License
- AsecurityAlicenseAqualityAn implementation that enables Claude to connect to ServiceNow instances, retrieve data, and perform actions through the ServiceNow API.Last updated -6270PythonMIT License