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

            • -
              security
              A
              license
              -
              quality
              Model Context Protocol (MCP) server implementation that enables Claude Desktop to interact with Google's Gemini AI models.
              Last updated -
              53
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              Provides Discord integration capabilities to MCP clients like Claude Desktop.
              Last updated -
              12
              53
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API. This server enables AI assistants to access and manage workout data, routines, exercise templates, and more through the Hevy API (requires PRO subscription).
              Last updated -
              15
              50
              13
              TypeScript
              MIT License
            • -
              security
              F
              license
              -
              quality
              An MCP server that connects Limitless Pendant wearable data to AI tools like Claude and Windsurf, allowing AI assistants to interact with your personal Lifelog recordings through structured tools and searches.
              Last updated -
              1
              TypeScript

            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