Intervals.icu MCP サーバー
Claude と Intervals.icu API を接続するための Model Context Protocol (MCP) サーバー。アクティビティ、イベント、ウェルネスデータの認証とデータ取得のためのツールを提供します。
要件
Python 3.10以上
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
Related MCP Servers
- -security-license-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 -95MIT License
- Asecurity-licenseAqualityProvides 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 -22MIT License
- -security-license-qualityEnables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.Last updated -193MIT License
- -security-license-qualityEnables Claude to interact with Qlik Cloud applications and extract data from visualizations through the Qlik Cloud API.Last updated -5MIT License