NG

nicolasvegam/garmin-connect-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

187 stars 97 forks 品質 77 トレンド 37

nicolasvegam/garmin-connect-mcpは、[[T0]からインポートされたMCPサーバー候補です。

概要

nicolasvegam/garmin-connect-mcpは、[[T0]からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Garmin ConnectのMCPサーバー。Claude Code、Claude Desktop、Cursor、Windsurf、または任意のMCPクライアントからフィットネス、健康、トレーニングデータにアクセスできます。

61のツールは7つのカテゴリーにわたり:活動、日々の健康、トレンド、睡眠、体組成、パフォーマンス/トレーニング、プロフィール/デバイス。

APIエンドポイントと認証フローは、cyberjunkyによるpython-garminconnectに基づいています。

要件

  • Node.js 20+
  • Garmin Connectアカウント(メールとパスワード)

設置

クロード・コード

クロードデスクトップ

~/Library/Application Support/Claude/claude_desktop_config.json(macOS)または%APPDATA%\Claude\claude_desktop_config.json(Windows)に追加:

カーソル

プロジェクトのルートに.cursor/mcp.jsonを追加してください:

ウィンドサーフィン

~/.codeium/windsurf/mcp_config.jsonに加算:

どのMCPクライアントでも

環境変数でサーバーを動かす:

サーバーはモデルコンテキストプロトコルを用いてstdio上で通信します。

利用可能なツール

アクティビティ(12道具)

道具 説明
get_activities ページ付き最近の活動一覧
get_activities_by_date 日付範囲内の検索活動
get_last_activity 最新のアクティビティを見る

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

claude mcp add garmin -e [email protected] -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):

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

Cursor

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

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

Windsurf

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

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

Any MCP Client

Run the server with environment variables:

[email protected] GARMIN_PASSWORD=yourpass npx -y @nicolasvegam/garmin-connect-mcp

The server communicates over stdio using the Model Context Protocol.

Available Tools

Activities (12 tools)

Tool Description
get_activities List recent activities with pagination
get_activities_by_date Search activities within a date range
get_last_activity Get the most recent activity
count_activities Get total number of activities
get_activity Summary data for a specific activity
get_activity_details Detailed metrics: HR, pace, elevation time series
get_activity_splits Per-km or per-mile split data
get_activity_weather Weather conditions during activity
get_activity_hr_zones Time in each heart rate zone
get_activity_exercise_sets Strength training sets (reps, weight)
get_activity_types All available activity types
get_progress_summary Fitness stats over a date range by activity type

Daily Health (14 tools)

Tool Description
GitHub で README 全文を見る

インストール

npx -y @nicolasvegam/garmin-connect-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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