Skip to main content

Garmin Connect MCP server

Project description

garth-mcp-server

PyPI version

Garmin Connect MCP server based on garth.

Usage

image

Install

{
  "mcpServers": {
    "Garth - Garmin Connect": {
      "command": "uvx",
      "args": [
        "garth-mcp-server"
      ],
      "env": {
        "GARTH_TOKEN": "<output of `uvx garth login`>"
      }
    }
  }
}

Make sure the path for the uvx command is fully scoped as MCP doesn't use the same PATH your shell does. On macOS, it's typically /Users/{user}/.local/bin/uvx.

Tool Filtering

By default, all 30 tools are exposed. To reduce context size for LLM usage, you can filter tools using environment variables.

Enable specific tools only (whitelist)

{
  "mcpServers": {
    "Garth - Garmin Connect": {
      "command": "uvx",
      "args": ["garth-mcp-server"],
      "env": {
        "GARTH_TOKEN": "<token>",
        "GARTH_ENABLED_TOOLS": "get_activities,get_activity_details,daily_steps,nightly_sleep"
      }
    }
  }
}

Disable specific tools (blacklist)

"env": {
  "GARTH_TOKEN": "<token>",
  "GARTH_DISABLED_TOOLS": "get_gear,get_gear_stats,get_device_settings,get_connectapi_endpoint"
}

Tool names are case-insensitive and comma-separated. If GARTH_ENABLED_TOOLS is set, GARTH_DISABLED_TOOLS is ignored.

Tools

Health & Wellness (using Garth data classes)

  • user_profile - Get user profile information
  • user_settings - Get user settings and preferences
  • nightly_sleep - Get detailed sleep data with optional movement data
  • daily_sleep - Get daily sleep summary data
  • daily_stress / weekly_stress - Get stress data
  • daily_intensity_minutes / weekly_intensity_minutes - Get intensity minutes
  • daily_body_battery - Get body battery data
  • daily_hydration - Get hydration data
  • daily_steps / weekly_steps - Get steps data
  • daily_hrv / hrv_data - Get heart rate variability data

Activities (using Garmin Connect API)

  • get_activities - Get list of activities with optional filters
  • get_activities_by_date - Get activities for a specific date
  • get_activity_details - Get detailed activity information
  • get_activity_splits - Get activity lap/split data
  • get_activity_weather - Get weather data for activities

Additional Health Data (using Garmin Connect API)

  • get_body_composition - Get body composition data
  • get_respiration_data - Get respiration data
  • get_spo2_data - Get SpO2 (blood oxygen) data
  • get_blood_pressure - Get blood pressure readings

Device & Gear (using Garmin Connect API)

  • get_devices - Get connected devices
  • get_device_settings - Get device settings
  • get_gear - Get gear information
  • get_gear_stats - Get gear usage statistics

Utility Tools

  • monthly_activity_summary - Get monthly activity overview
  • snapshot - Get snapshot data for date ranges
  • get_connectapi_endpoint - Direct access to any Garmin Connect API endpoint

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

garth_mcp_server-0.0.10.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

garth_mcp_server-0.0.10-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file garth_mcp_server-0.0.10.tar.gz.

File metadata

  • Download URL: garth_mcp_server-0.0.10.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for garth_mcp_server-0.0.10.tar.gz
Algorithm Hash digest
SHA256 8fea0e8af1a3962c39abacaec4d447ed4e914ed4ab7fe6cd255e02eb90c524d4
MD5 ee96856725d02ae059a2ad55c5082bfb
BLAKE2b-256 e354b1a69f99383cad4620ed7be7c622faed43bdb783306daa1d6cadfaf119cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for garth_mcp_server-0.0.10.tar.gz:

Publisher: publish.yml on matin/garth-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file garth_mcp_server-0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for garth_mcp_server-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 7de8f0904b2c02c12666dd27a1c6e5f0902928196a9d2d785f8156df31884021
MD5 d54fa45f7e81f9f2c70a647e96c90b49
BLAKE2b-256 6aca2b9967f74552d85fe8ca3b665b71474c60340a31904735591b1f21ae93b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for garth_mcp_server-0.0.10-py3-none-any.whl:

Publisher: publish.yml on matin/garth-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page