# Garmin Connect (treinos)

Garmin Connect (treinos) is an MCP server for Claude Code that connects an agent to Garmin Connect to view, create, edit, and schedule structured workouts.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 264 installs
- Author: mcp-dir
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mcp-dir/garmin-mcp
- Updated: 2026-08-30
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/garmin-connect-treinos

## What it does

Garmin Connect (treinos) lets an MCP client work with structured workouts in Garmin Connect. An agent can list workouts, inspect a selected item, create or replace a workout, remove it, and put it on the calendar. Scheduled entries can also be viewed or unscheduled.

The service uses Garmin’s unofficial API through a Garmin session. Account credentials are used for access, while OAuth tokens are kept encrypted to reduce repeated logins. The HTTP endpoint is `https://api.mcp.ai/p_garmin`, so the server can be connected from clients such as Claude Code, Codex, Cursor, and Gemini CLI.

This is a proprietary hosted service, and tool results are sent to the LLM host selected by the user. That matters when the connected Garmin account contains data you would not send to that host.

## Requirements
- Remote server: `https://garmin-mcp--mcp-dir.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http garmin-mcp https://garmin-mcp--mcp-dir.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add garmin-connect-treinos --url https://garmin-mcp--mcp-dir.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "garmin-connect-treinos": {
            "url": "https://garmin-mcp--mcp-dir.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "garmin-connect-treinos": {
            "type": "http",
            "url": "https://garmin-mcp--mcp-dir.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http garmin-connect-treinos https://garmin-mcp--mcp-dir.run.tools
```

## When to use it
- view workouts stored in Garmin Connect
- build structured running or cycling sessions
- replace or remove an existing workout
- schedule a workout and cancel its scheduled entry

## Example prompts
- Create an interval running workout and schedule it for tomorrow.
- List my workouts for next week.
- Replace Thursday’s bike workout with a long Z2 session.

## Similar
- [Garmin Connect](https://affpapa.org/en/nevibecode/mcp/dynamicsninja-garmin-connect.md) — MCP server · ★ 7 repo stars
- [livedot MCP](https://affpapa.org/en/nevibecode/mcp/livedot-mcp.md) — MCP server
- [MFIT Personal](https://affpapa.org/en/nevibecode/mcp/mfit-personal.md) — MCP server · 350 installs
- [Long Run Hybrid Coach](https://affpapa.org/en/nevibecode/mcp/long-run-hybrid-coach.md) — MCP server · ★ 7 repo stars
- [igpsport-mcp](https://affpapa.org/en/nevibecode/mcp/igpsport-mcp.md) — MCP server · ★ 8 repo stars
- [running-race-coach](https://affpapa.org/en/nevibecode/plugins/running-race-coach.md) — plugin · ★ 35 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
