Skip to main content
Glama

How to connect Garmin Connect to Claude Code, ChatGPT and any AI agent

Yes, Claude, ChatGPT and other AI agents can work in your Garmin Connect account. Garmin Connect data and workouts are available through Cotlet.dev in your signed-in account.

What you can ask

Build a 10 km tempo run workout and put it on my Garmin calendar for Thursday.

How did my sleep and HRV change over the last 4 weeks?

Plan my next 8 weeks for a half marathon and schedule the workouts.

Compare my last three long runs: pace, heart rate, cadence.

What's my VO2 max trend this year?

Related MCP server: claude-garmin

Connect in 2 minutes

Get your API key at https://cotlet.dev/app and export it as COTLET_API_KEY.

Claude Code

claude mcp add --transport http cotlet https://cotlet.dev/mcp/v1 --header "Authorization: Bearer $COTLET_API_KEY"

ChatGPT

Settings → Apps → add connector URL https://cotlet.dev/mcp/v1, then sign in with Cotlet.dev. No API key needed.

Cursor

Copy .cursor/mcp.json from this repo into your project:

{
  "mcpServers": {
    "cotlet": {
      "url": "https://cotlet.dev/mcp/v1",
      "headers": {
        "Authorization": "Bearer ${COTLET_API_KEY}"
      }
    }
  }
}

Run it locally (stdio)

This repo is a real MCP server. It speaks MCP over stdio, lists its Garmin Connect tools without any key, and forwards every tool call to the hosted Cotlet.dev server. The hosted URL above stays the recommended way. Use this when your client only starts local servers.

{"mcpServers":{"garmin":{"command":"uvx","args":["garmin-cotlet-mcp"],"env":{"COTLET_API_KEY":"your-key"}}}}

Or with Docker:

docker build -t garmin-mcp .
docker run -i --rm -e COTLET_API_KEY garmin-mcp

Tools: garmin_guide, garmin_status, garmin_open, garmin_read, garmin_click, garmin_type, garmin_close. Without COTLET_API_KEY a tool call answers: "Set COTLET_API_KEY. Get a key at https://cotlet.dev/app".

Command line

Python 3.10+, nothing else to install. From PyPI:

pip install garmin-cotlet-mcp        # or run it once: uvx garmin-cotlet-mcp connect
garmin-cotlet-mcp connect

Or straight from this repo:

export COTLET_API_KEY="your-key"
python3 garmin_agent.py connect   # ready config for Claude Code, Cursor, ChatGPT
python3 garmin_agent.py status    # is Garmin Connect ready in your Cotlet.dev account
python3 garmin_agent.py guide     # Garmin Connect screens and sign-in link
python3 garmin_agent.py read      # open Garmin Connect, read the page, close the browser
python3 garmin_agent.py tools     # list Cotlet.dev tools
python3 garmin_agent.py serve     # start the stdio MCP server (same as no argument)

Questions from Garmin Connect users

Can I use the Garmin Connect API without an AI agent?

Yes. Call Cotlet's REST API from a script or an HTTP step in n8n, Make or Zapier with your Cotlet key. MCP is the alternative for AI agents; you do not need to connect an agent to use REST.

Is there an official ChatGPT or Claude app for Garmin Connect?

Garmin has no app of its own in ChatGPT or Claude (checked 6 Nov 2026). ChatGPT lists third-party fitness apps, and on iPhone Garmin data can reach ChatGPT through Apple Health, read only. Cotlet works in your own Garmin Connect account, so the AI can also build workouts and put them on your Garmin calendar.

Can ChatGPT create workouts in Garmin Connect?

Yes, with Cotlet. ChatGPT and Claude build runs, rides and strength workouts, schedule them on your Garmin calendar and read your training, sleep and HRV.

How do I get access?

Create a free account at https://cotlet.dev, open Garmin Connect under Integrations in the console and sign in to Garmin Connect in its Cloud Browser. The trial starts when you sign up, no card asked.

How do I connect Garmin Connect to ChatGPT or Claude?

Sign up at cotlet.dev, log in to Garmin Connect once in its Cloud Browser and add Cotlet to ChatGPT or Claude, following the steps in your console. No API key is needed. ChatGPT and Claude then work in your Garmin Connect account through Cotlet, in their phone apps too.

What can ChatGPT do in Garmin Connect?

With Cotlet, ChatGPT, Claude and other AI agents handle jobs like these in Garmin Connect: morning readiness check; review last week; build and schedule a training week. You ask in plain words, and anything that reaches other people waits for your OK first.

Why not use Garmin's free Personal API key?

For reading your own activity and health data, you can (checked 27 Oct 2026). The key is read-only, pull only and expires after 30 days to a year, and you need your own code or an open-source server to use it. Cotlet is for what the key does not do: building and scheduling workouts, and training status, in a hosted server.

Does a scheduled workout reach my watch?

Scheduling puts the workout on your Garmin Connect training calendar. Garmin's manuals say workouts sent from Connect to the device overwrite the training calendar already on it, so check the calendar before you confirm.

Do I need Garmin Connect+?

No for the tools here. Cotlet works in your account on the plan you have. Features Garmin sells with Connect+, such as nutrition tracking, need that subscription in Garmin first (checked 27 Oct 2026).

Does Garmin Connect have webhooks?

Only for approved businesses. Starter and Enterprise push data to an app's server, while the Personal tier is pull only (checked 27 Oct 2026). Run your agent on a schedule instead, for example a daily get_sleep and get_training_status pass.

Does it work with any Garmin watch?

Cotlet reads what Garmin Connect shows for your account. A device that does not record a metric, such as HRV status or training readiness, returns it empty.

Can the agent see my Garmin password?

No. We keep the signed-in session, never the password, and no tool returns the cookie.

Is the MCP server different from the REST API?

Only the way in. Both have the same 11 tools, inputs and answers, one API key and one price. Agents use MCP; scripts, cron jobs and HTTP steps use REST.

Is Cotlet affiliated with Garmin?

No. Cotlet is independent and not affiliated with Garmin Ltd.

Find it on

Also works with


More: https://cotlet.dev/integrations/garmin-api-mcp-server?utm_source=github&utm_medium=readme&utm_campaign=garmin

Start free: https://cotlet.dev/signup?app=garmin&utm_source=github&utm_medium=readme&utm_campaign=garmin

Available Tools

7 tools
garmin_clickBInspect

Click a numbered element on the current Garmin Connect page.

Inputs: element (required).

garmin_closeAInspect

Close the Garmin Connect browser session when the work is done, so credits stop running.

Inputs: no named parameters.

garmin_guideBInspect

How to work in Garmin Connect (workouts and training data): its screens and the sign-in link. Call this first.

Inputs: task.

garmin_openBInspect

Open a Garmin Connect page in your signed-in Cloud Browser (default https://connect.garmin.com) to work with workouts and training data.

Inputs: url.

garmin_readBInspect

Read the current Garmin Connect page: its text and numbered buttons, links and fields.

Inputs: element.

garmin_statusBInspect

Check that your Cotlet.dev account and Garmin Connect are ready: account, credits and Garmin Connect connection.

Inputs: no named parameters.

garmin_typeBInspect

Type text into a numbered field on the current Garmin Connect page.

Inputs: text (required), element (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool maps to a distinct phase of the workflow: onboarding (garmin_guide), readiness check (garmin_status), and a clean browser primitive set (open/read/click/type/close). The only near-overlap is guide vs. status, but their descriptions clearly separate 'how-to instructions' from 'account/connection check'.

    Naming Consistency4/5

    All tools share a predictable garmin_ prefix, which makes the set easy to scan. However, guide and status are noun-style names while open/read/click/type/close are verbs, a minor deviation from a pure verb_noun convention.

    Tool Count5/5

    Seven tools is well-scoped for a single-site browser automation workflow. Each tool earns its place: two setup/context tools plus five minimal browser primitives, with no redundancy.

    Completeness4/5

    The surface covers the full browse loop (open, read, click, type, close) plus onboarding and status, which is enough for most Garmin Connect tasks. Minor gaps exist for navigation/scroll/back and verification of results (e.g. screenshot or wait), but agents can work around these by re-reading the page.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Local-first MCP server that connects AI agents to your Garmin sleep, HRV, Body Battery, stress, training readiness and activities, keeping tokens on your machine.
      2
      42
      299 npm
      14
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that connects Garmin Connect data to Claude, enabling training analysis, recovery checks, and personalized plans based on real metrics like HRV, training load, and activities.
      24
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A local MCP server that exposes your Garmin Connect data—sleep, HRV, training readiness, workouts, and more—to any MCP-compatible AI assistant. Runs entirely on your machine and keeps your Garmin credentials private.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A read-only MCP server that lets AI assistants query a user's own training, recovery, sleep, activity, and wellness data through the official Garmin Connect Personal API. It can run locally or be self-hosted on Cloudflare Workers for access from Claude and other MCP clients.
      27
      67 npm
      MIT