garmin_mcp

Garmin MCP Serverは、Garmin Connectと接続し、フィットネスや健康データをMCP互換のクライアントに提供するサーバーです。最近の活動のリストや詳細な情報、健康指標(歩数、心拍数、睡眠)へのアクセス、体組成データの表示が可能です。

GitHubスター

73

ユーザー評価

未評価

お気に入り

0

閲覧数

155

フォーク

16

イシュー

4

README

MseeP.ai Security Assessment Badge

Garmin MCP Server

This Model Context Protocol (MCP) server connects to Garmin Connect and exposes your fitness and health data to Claude and other MCP-compatible clients.

Features
  • List recent activities
  • Get detailed activity information
  • Access health metrics (steps, heart rate, sleep)
  • View body composition data
Setup
  1. Install the required packages on a new environment:
uv sync
Running the Server
With Claude Desktop
  1. Create a configuration in Claude Desktop:

Edit your Claude Desktop configuration file:

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

Add this server configuration:

{
  "mcpServers": {
    "garmin": {
      "command": "uvx",
      "args": [
        "--python", "3.12",
        "--from", "git+https://github.com/Taxuspt/garmin_mcp",
        "garmin-mcp"
      ],
      "env": {
        "GARMIN_EMAIL": "YOUR_GARMIN_EMAIL",
        "GARMIN_PASSWORD": "YOUR_GARMIN_PASSWORD"
      }
    }
  }
}

Replace the path with the absolute path to your server file.

  1. Restart Claude Desktop
With MCP Inspector

For testing, you can use the MCP Inspector:

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

Once connected in Claude, you can ask questions like:

  • "Show me my recent activities"
  • "What was my sleep like last night?"
  • "How many steps did I take yesterday?"
  • "Show me the details of my latest run"
Security Note
Troubleshooting

If you encounter login issues:

  1. Verify your credentials are correct
  2. Check if Garmin Connect requires additional verification
  3. Ensure the garminconnect package is up to date

For other issues, check the Claude Desktop logs at:

  • macOS: ~/Library/Logs/Claude/mcp-server-garmin.log
  • Windows: %APPDATA%\Claude\logs\mcp-server-garmin.log