Garmin Connect MCPのロゴ

Garmin Connect MCP

コミュニティ
Nicolasvegam

MCP server for Garmin Connect — access 61 health, fitness and activity tools from any AI assistant

公開者Nicolasvegam
リポジトリgarmin-connect-mcp
言語TypeScript
フォーク
94
スター
180
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

    Garmin Connect MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには180件のスターと94件のフォークがあります。

garmin-connect-mcp

MCP server for Garmin Connect. Access your fitness, health, and training data from Claude Code, Claude Desktop, Cursor, Windsurf, or any MCP client.

61 tools across 7 categories: activities, daily health, trends, sleep, body composition, performance/training, and profile/devices.

API endpoints and authentication flow based on python-garminconnect by cyberjunky.

Requirements

  • Node.js 20+
  • A Garmin Connect account (email and password)

Installation

Claude Code

bash
claude mcp add garmin -e GARMIN_EMAIL=you@email.com -e GARMIN_PASSWORD=yourpass -- npx -y @nicolasvegam/garmin-connect-mcp

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json in your project root:

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "garmin": {
      "command": "npx",
      "args": ["-y", "@nicolasvegam/garmin-connect-mcp"],
      "env": {
        "GARMIN_EMAIL": "you@email.com",
        "GARMIN_PASSWORD": "yourpass"
      }
    }
  }
}

Any MCP Client

Run the server with environment variables:

bash
GARMIN_EMAIL=you@email.com GARMIN_PASSWORD=yourpass npx -y @nicolasvegam/garmin-connect-mcp

The server communicates over stdio using the Model Context Protocol.

Available Tools

Activities (12 tools)

ToolDescription
get_activitiesList recent activities with pagination
get_activities_by_dateSearch activities within a date range
get_last_activityGet the most recent activity
count_activitiesGet total number of activities
get_activitySummary data for a specific activity
get_activity_detailsDetailed metrics: HR, pace, elevation time series
get_activity_splitsPer-km or per-mile split data
get_activity_weatherWeather conditions during activity
get_activity_hr_zonesTime in each heart rate zone
get_activity_exercise_setsStrength training sets (reps, weight)
get_activity_typesAll available activity types
get_progress_summaryFitness stats over a date range by activity type

Daily Health (14 tools)

ToolDescription
get_daily_summaryFull daily summary (steps, calories, distance, etc.)
get_stepsStep count for a date
get_steps_chartIntraday step data throughout the day
get_heart_rateHeart rate data (resting, max, zones, time series)
get_resting_heart_rateResting heart rate for a date
get_stressStress levels and time series
get_body_batteryBody Battery energy levels (date range)
get_body_battery_eventsBattery charge/drain events for a day
get_respirationBreathing rate data
get_spo2Blood oxygen saturation
get_intensity_minutesModerate/vigorous intensity minutes
get_floorsFloors climbed chart data
get_hydrationDaily hydration/water intake
get_daily_eventsDaily wellness events

Trends (4 tools)

ToolDescription
get_daily_steps_rangeDaily step counts over a date range
get_weekly_stepsWeekly step aggregates
get_weekly_stressWeekly stress aggregates
get_weekly_intensity_minutesWeekly intensity minutes

Sleep (2 tools)

ToolDescription
get_sleep_dataSleep stages, score, bed/wake times
get_sleep_data_rawRaw sleep data with HR and SpO2

Body Composition (5 tools)

ToolDescription
get_body_compositionWeight, BMI, body fat %, muscle mass (date range)
get_latest_weightMost recent weight entry
get_daily_weigh_insAll weigh-ins for a date
get_weigh_insWeigh-in records over a date range
get_blood_pressureBlood pressure readings (date range)

Performance & Training (11 tools)

ToolDescription
get_vo2maxVO2 Max estimate (running/cycling)
get_training_readinessTraining Readiness score
get_training_statusTraining status and load
get_hrvHeart Rate Variability
get_endurance_scoreEndurance fitness score
get_hill_scoreClimbing performance score
get_race_predictions5K/10K/half/full marathon predictions
get_fitness_ageEstimated fitness age
get_personal_recordsAll personal records
get_lactate_thresholdLactate threshold HR and pace
get_cycling_ftpFunctional Threshold Power (cycling)

Profile & Devices (13 tools)

ToolDescription
get_user_profileUser social profile and preferences
get_user_settingsUser settings, measurement system, sleep schedule
get_devicesRegistered Garmin devices
get_device_settingsSettings for a specific device
get_device_last_usedLast used device info
get_primary_training_devicePrimary training device
get_device_solar_dataSolar charging data
get_gearAll tracked gear/equipment
get_gear_statsUsage stats for a gear item
get_goalsActive goals and progress
get_earned_badgesEarned badges and achievements
get_workoutsSaved workouts
get_workoutSpecific workout by ID

Authentication

Uses Garmin Connect credentials (email/password) via environment variables. OAuth tokens are cached in ~/.garmin-mcp/ to avoid re-authentication on each request.

MFA (Multi-Factor Authentication)

If your Garmin account has MFA enabled (required for devices with ECG capabilities), you need to run the interactive setup once before using the MCP server:

bash
GARMIN_EMAIL='you@email.com' GARMIN_PASSWORD='yourpass' npx -y @nicolasvegam/garmin-connect-mcp setup

This will:

  1. Log in to Garmin Connect
  2. Prompt you for the MFA code sent to your email or authenticator app
  3. Save OAuth tokens to ~/.garmin-mcp/

After setup, the MCP server will use the saved tokens automatically — no MFA prompt needed until the tokens expire. When they do, simply run the setup command again.

Development

bash
git clone https://github.com/Nicolasvegam/garmin-connect-mcp.git
cd garmin-connect-mcp
npm install
npm run build

To test locally:

bash
GARMIN_EMAIL=you@email.com GARMIN_PASSWORD=yourpass npm start

Credits

License

MIT

インストール

TypingMind
{
  "mcpServers": {
    "garmin-connect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "garmin-connect-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "<GARMIN_EMAIL>",
        "GARMIN_PASSWORD": "<GARMIN_PASSWORD>"
      }
    }
  }
}

Garmin Connect MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Garmin Connect MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Garmin Connect MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Garmin Connect MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "garmin-connect-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nicolasvegam/garmin-connect-mcp"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてGarmin Connect MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Garmin Connect MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Garmin Connect MCPを使ってこのタスクを手伝ってもらえますか?
Garmin Connect MCP
はい、読みました。
Garmin Connect MCPで調べた結果をお伝えします。

よくある質問

Garmin Connect MCP MCPサーバーは何に使いますか?

Garmin Connect MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでGarmin Connect MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでGarmin Connect MCPを利用できます。

TypingMindでGarmin Connect MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Garmin Connect MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Garmin Connect MCP MCPをTypingMindに接続するにはどうすればよいですか?

Garmin Connect MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでGarmin Connect MCP MCPのどのようなツールを利用できますか?

Garmin Connect MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Garmin Connect MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Garmin Connect MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇