GC-MCP
Allows AI assistants to retrieve health metrics, training load, activities, and trends from a Garmin Connect account.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GC-MCPwhat's my HRV trend for the past week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GC-MCP
Disclaimer: GC-MCP is an independent, community-made project. It is not affiliated with, endorsed by, or created by Garmin Ltd. Garmin and Garmin Connect are trademarks of Garmin Ltd.
A Model Context Protocol server that connects AI assistants to your Garmin Connect account. Ask about your health metrics, training load, activities, and trends — directly from conversation.
Installation (Required)
The MCP server must be installed before anything else — including the gc-coach plugin — will work.
Run this in your terminal:
npx @ace4seven/gc-mcp setupThe wizard will:
Ask for your Garmin Connect email and password
Save authentication tokens to
~/.gc-mcp/on your machineDetect all installed AI clients and configure each one automatically
Then restart any configured AI client — you're done.
Supported clients: Claude Desktop, Cursor, Windsurf, VS Code, Zed, Claude Code CLI
Re-authenticate when tokens expire
npx @ace4seven/gc-mcp loginWhat You Can Ask
Once configured, ask your AI assistant things like:
"How was my sleep last week?"
"Show me my HRV trend for the past 30 days"
"What was my resting heart rate on Monday?"
"List my last 10 runs with pace and distance"
gc-coach Plugin (Optional)
An optional Claude Code plugin that turns Claude into a personalised fitness coach with persistent memory, daily readiness decisions, weekly planning, and automatic red-flag detection.
Requires the MCP server to be installed first (see Installation above).
Install
/plugin marketplace add ace4seven/GC-MCP
/plugin install gc-coach@gc-mcp-marketplaceSlash Commands
Command | Description |
| First-run setup. Infers an athlete profile from 90 days of Garmin data, confirms with 5 questions, and writes a conservative starter training block. |
| Morning decision. Reads today's readiness, HRV, sleep, and body battery; cross-checks the weekly plan; outputs one prescription + fallback. |
| Daily log. Asks energy, soreness, sleep, session done, and RPE in a single prompt. Detects patterns and opens flags automatically. |
| Builds a periodised Monday–Sunday week with session rationale. Saves to |
| Weekly retrospective. Reports adherence, load trajectory, opened/closed flags, and exactly one thing to change next week. |
State Files
All coaching state is stored locally in ~/.gc-mcp/coach/ — no cloud sync.
~/.gc-mcp/coach/
├── profile.json # Athlete profile (modalities, baselines, voice prefs)
├── goals.md # Goals in the athlete's own words
├── current-block.md # Active training block description
├── weekly-plan.md # Current week's session plan
├── flags.md # Active and closed red flags
├── daily-log/
│ └── YYYY-MM-DD.md # Per-day check-in
└── history/
└── YYYY-Wnn-review.md # Weekly retrospective archiveAvailable Tools
Daily Health
Tool | Description | Parameters |
| Steps, calories, floors, active minutes, and distance |
|
| Resting heart rate and intraday HR curve |
|
| Average/max stress levels and timeline |
|
| Energy charge/drain curve |
|
| Deep/light/REM/awake breakdown, sleep score, SpO2 |
|
| Nightly HRV score and 5-night rolling average |
|
| Breathing rate throughout the day |
|
| Blood oxygen readings |
|
| Water intake log |
|
Fitness & Performance
Tool | Description | Parameters |
| Fitness level: peaking, productive, maintaining, etc. |
|
| Readiness score with contributing factors |
|
| Acute vs chronic load balance (ACWR) over 28 days |
|
| VO2 max estimate for running and cycling |
|
| Predicted 5K, 10K, half marathon, marathon times | — |
| All-time personal records across all sport types | — |
Activities
Tool | Description | Parameters |
| List activities with summary stats |
|
| Full details for a single activity |
|
| Lap/split data for a single activity |
|
Body Composition
Tool | Description | Parameters |
| BMI, body fat percentage, and muscle mass |
|
| Weight measurements over a date range |
|
Gear & Profile
Tool | Description | Parameters |
| Shoes, bikes, and other gear with usage mileage | — |
| Display name, date of birth, weight, preferred units | — |
Date Range Support
Most tools accept optional start_date and end_date (YYYY-MM-DD format, max 90-day range). Omit both for today's data.
Troubleshooting
"Missing credentials" error — Run npx @ace4seven/gc-mcp login to authenticate.
Tools not appearing — Re-run npx @ace4seven/gc-mcp setup, then fully restart your AI client.
Authentication expired — Run npx @ace4seven/gc-mcp login again and restart your AI client.
"Tool result is too large" — Use a shorter date range, or ask about a specific metric rather than fetching everything at once.
Privacy
Your Garmin credentials are used only during login and are never stored.
OAuth tokens are stored locally in
~/.gc-mcp/on your machine.All Garmin API requests are made directly from your machine — no data passes through any intermediary server.
Development
Project Structure
src/
cli.ts # Binary entry point — setup/login/server dispatch
index.ts # MCP server: startServer()
auth.ts # Token I/O: login(), loadClient(), isLoggedIn()
garmin-client.ts # One fetch* function per tool + range helpers
tools.ts # MCP tool registration
coach/
state.ts # Coach state I/O (~/.gc-mcp/coach/*)
load-summary.ts # ACWR + modality load computation
readiness-synthesis.ts # Readiness fusion (HRV, sleep, body battery)
plugin/ # gc-coach Claude Code plugin
.claude-plugin/
commands/
skills/Commands
npm run build # Compile TypeScript → dist/
npm run setup # Run the setup wizard
npm run login # Re-authenticate with Garmin
npm test # Run unit tests with Vitest
npx tsc --noEmit # Type-check without emitting filesAdding a New Tool
Add a
fetch*function insrc/garmin-client.tsRegister it in
src/tools.tsfollowing the existingtry/catchpatternRun
npm run build
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ace4seven/GC-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server