Skip to main content
Glama

Garmin MCP Server

by Taxuspt

Garmin MCP サーバー

このモデル コンテキスト プロトコル (MCP) サーバーは Garmin Connect に接続し、フィットネスと健康のデータを Claude やその他の MCP 対応クライアントに公開します。

特徴

  • 最近のアクティビティを一覧表示する
  • 詳細なアクティビティ情報を取得する
  • 健康指標(歩数、心拍数、睡眠)にアクセス
  • 体組成データを表示する

設定

  1. 新しい環境に必要なパッケージをインストールします。
virtualenv .venv source .venv/bin/activate python -m pip install -r requirements.txt
  1. Garmin の認証情報を使用して、プロジェクト ルートに.envファイルを作成します。
GARMIN_EMAIL=your.email@example.com GARMIN_PASSWORD=your-password

サーバーの実行

クロード・デスクトップ

  1. Claude Desktop で構成を作成します。

Claude Desktop 構成ファイルを編集します。

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

次のサーバー構成を追加します。

{ "mcpServers": { "garmin": { "command": "python", // if you created a new environment this should be "<root_folder>/.venv/bin/python" "args": ["<path to>/garmin_mcp/garmin_mcp_server.py"] } } }

パスをサーバー ファイルへの絶対パスに置き換えます。

  1. Claudeデスクトップを再起動します

MCPインスペクターを使用

テストには、MCP Inspector を使用できます。

npx @modelcontextprotocol/inspector python /Users/adomingues/Documents/claude_filesystem/garmin_mcp/garmin_mcp_server.py

使用例

Claude に接続すると、次のような質問をすることができます。

  • 「最近のアクティビティを表示」
  • 「昨晩の睡眠はどうだった?」
  • 「昨日は何歩歩いた?」
  • 「最新の実行の詳細を表示」

セキュリティに関する注意事項

このサーバーでは、 .envファイルに Garmin Connect の認証情報が必要です。このファイルは安全に保管し、リポジトリにコミットしないでください。

トラブルシューティング

ログインの問題が発生した場合:

  1. .envファイル内の資格情報が正しいことを確認してください
  2. Garmin Connectで追加の認証が必要かどうかを確認する
  3. GarminConnectパッケージが最新であることを確認する

その他の問題については、次の Claude Desktop ログを確認してください。

  • macOS: ~/Library/Logs/Claude/mcp-server-garmin.log
  • Windows: %APPDATA%\Claude\logs\mcp-server-garmin.log
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Garmin Connect に接続し、フィットネスと健康のデータ (アクティビティ、睡眠、心拍数、歩数、体組成) を Claude やその他の MCP 対応クライアントに公開します。

  1. 特徴
    1. 設定
      1. サーバーの実行
        1. クロード・デスクトップ
        2. MCPインスペクターを使用
      2. 使用例
        1. セキュリティに関する注意事項
          1. トラブルシューティング

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Connects Claude and other MCP clients to Elasticsearch data, allowing users to interact with their Elasticsearch indices through natural language conversations.
              Last updated -
              3
              1,026
              367
              Rust
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              Connects Claude with the Intervals.icu API to retrieve fitness data including activities, workouts, wellness metrics, and training events.
              Last updated -
              6
              43
              Python
              GPL 3.0
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Claude MCP server that lets users query and analyze their Strava activity data by connecting to the Strava API.
              Last updated -
              Python
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that bridges LLMs (like Claude) with the Fitbit API, allowing the LLM to request and retrieve user health and fitness data through defined tools.
              Last updated -
              3
              9
              6
              TypeScript
              MIT License

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Taxuspt/garmin_mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server