Skip to main content
Glama
Ezhil2k

Garmin Connect MCP Server

by Ezhil2k

Garmin MCP

Read Garmin Connect health, activity, profile, device, and body-battery data through:

  • a simple local CLI/dashboard;

  • an MCP server for ChatGPT or another MCP client.

The MCP server also exposes per-distance/per-lap splits for individual activities.

Garmin MCP dashboard

The MCP tools are read-only. Garmin login tokens are cached locally in ~/.garminconnect; never commit .env or token files.

Run

source .venv/bin/activate
./garmin-mcp

The dashboard starts the MCP server and secure tunnel in the background. Use:

r  start services
x  stop services
s  refresh status
l  show logs
q  quit dashboard

For one-off commands:

./garmin-mcp status
./garmin-mcp test
./garmin-mcp doctor

Related MCP server: garmin-mcp

ChatGPT MCP connection

The dashboard must show both services as running/ready/connected. In ChatGPT, add a custom MCP connector using the configured tunnel ID. The tunnel forwards ChatGPT to the local endpoint:

http://127.0.0.1:8000/mcp

If the tunnel or MCP process stops, ChatGPT cannot reach Garmin until the dashboard is started again.

First login and configuration

On the first Garmin request, enter the Garmin email/password when prompted. Credentials and tunnel settings may be placed in a local .env file; copy .env.example and fill it in. Keep .env private.

Useful direct commands

./garmin-mcp run
python mcp_server.py --transport streamable-http

The server listens locally on 127.0.0.1:8000 and exposes /mcp.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Connects MCP clients to Garmin Connect data, enabling queries about activities, sleep, heart rate, body battery, and training status.
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    Exposes Garmin Connect health and activity data (steps, sleep, heart rate, etc.) via MCP tools, with built-in login and MFA support.
    -
  • A
    license
    B
    quality
    B
    maintenance
    Enables retrieval of Garmin Connect data such as activities, sleep, heart rate, and body battery levels using unofficial API through MCP tools.
    4
    MIT