garmin-claude-mcp
Enables Claude to read Garmin activities and wellness data, then creates structured workouts that sync to your Garmin watch via Intervals.icu.
README
garmin-claude-mcp
Connect your Garmin training data to Claude, and let Claude push structured workouts back to your watch. Free to run. No subscription.
Claude reads your recent activities and wellness data, designs a workout, and writes it to your intervals.icu calendar. Intervals.icu syncs it to Garmin Connect, and it lands on your watch.
Why it works this way
Garmin's developer API is closed to individuals. Applications are approved for companies, and the program is currently suspended to new applicants. Unofficial libraries that log in with your Garmin password exist, but Garmin has broken them before by changing its auth flow.
Intervals.icu has an official Garmin partnership that predates the program closing. It already syncs both directions, including pushing planned workouts to your watch. It also has a documented API with a personal key. So Claude talks to intervals.icu, and intervals.icu talks to Garmin. Your Garmin password never leaves Garmin.
What you need
- A Garmin device syncing to Garmin Connect
- A free intervals.icu account with Garmin connected under Settings > Integrations, and "Upload planned workouts" turned on
- Your intervals.icu API key and athlete id, both under Settings > Developer Settings
- A free Cloudflare account
If "Upload planned workouts" is off, everything below will work perfectly and nothing will ever reach your watch. Check it first.
Setup
Option 1: Deploy button
- Click the button above. Cloudflare forks this repo to your GitHub, provisions the KV namespace and Durable Object, and prompts you for three secrets.
- Fill in
INTERVALS_API_KEY,INTERVALS_ATHLETE_ID, andMCP_PASSWORD. Generate the password withopenssl rand -hex 32. - Deploy. You get a URL like
https://garmin-claude-mcp.<subdomain>.workers.dev.
Option 2: Manual
git clone https://github.com/kbaudour/garmin-claude-mcp
cd garmin-claude-mcp
npm install
npx wrangler kv namespace create OAUTH_KV
# paste the printed id into wrangler.jsonc
npx wrangler secret put INTERVALS_API_KEY
npx wrangler secret put INTERVALS_ATHLETE_ID
npx wrangler secret put MCP_PASSWORD
npm run deploy
Connect it to Claude
In claude.ai, go to Settings > Connectors > Add custom connector and enter your worker URL with /mcp on the end:
https://garmin-claude-mcp.<subdomain>.workers.dev/mcp
That path matters. OAuth discovery lives at the domain root, so login will succeed even with the wrong URL, then the connection fails afterward with "Couldn't connect to the server." If you hit that, delete the connector and re-add it with the /mcp path rather than editing the URL in place, so the stale registration is discarded.
You will see a password page. Enter your MCP_PASSWORD. Once connected on web, it works on mobile too.
Tools
| Tool | What it does |
|---|---|
getRecentActivities |
Recent training history |
getWellness |
Sleep, HRV, resting HR, recovery signals |
listUpcomingEvents |
What is already on the calendar |
createWorkout |
Writes a structured workout, which syncs to Garmin |
updateWorkout |
Edits an existing planned workout |
deleteEvent |
Removes a planned workout |
First prompt to try
Pull my wellness data for the last 7 days and my recent activities for the
last 14 days.
Based on what you see there, recovery, training load, how recent runs have
gone, design one run for tomorrow. Walk me through your reasoning before you
create it.
Then create it, and list my upcoming events so I can confirm it landed.
Then open Garmin Connect and check tomorrow's date.
Known issues and limits
- Claude's free plan allows one custom connector. This uses that slot.
- The password page has no rate limiting and no CSRF token. It is a single-user server behind a random 64 character password. Fine for that. Not production auth.
updateWorkoutanddeleteEventare lightly tested. The read tools andcreateWorkoutare confirmed working end to end, watch included.- Token refresh over long periods is untested. If the connector goes stale, reconnecting takes a few seconds.
- Anyone with your worker URL sees the password page. They cannot get further without the password, but the URL is not secret.
Cost
$0/month. Cloudflare Workers free tier covers 100,000 requests per day. Intervals.icu's free tier includes Garmin sync. Durable Objects have been on the free tier since April 2025, so older guides saying otherwise are out of date.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。