Garmin Connect (treinos) — Claude Code MCP server: setup
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.
MIT 264 installs updated 2026-08-30
claude mcp add --transport http garmin-mcp https://garmin-mcp--mcp-dir.run.toolsWhat Garmin Connect (treinos) 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.
What it helps with
- 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 for the agent
- 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.
How to install Garmin Connect (treinos)
Platform CLI: remote server
claude mcp add --transport http garmin-mcp https://garmin-mcp--mcp-dir.run.toolsPlatform CLI: remote server
codex mcp add garmin-connect-treinos --url https://garmin-mcp--mcp-dir.run.toolsConfig file
{
"mcpServers": {
"garmin-connect-treinos": {
"url": "https://garmin-mcp--mcp-dir.run.tools"
}
}
}Config file
{
"servers": {
"garmin-connect-treinos": {
"type": "http",
"url": "https://garmin-mcp--mcp-dir.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http garmin-connect-treinos https://garmin-mcp--mcp-dir.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Garmin Connect (treinos)
How do I install Garmin Connect (treinos) in Claude Code?
Run claude mcp add --transport http garmin-mcp https://garmin-mcp--mcp-dir.run.tools, then run claude mcp add --transport http garmin-connect-treinos https://garmin-mcp--mcp-dir.run.tools.
What does Garmin Connect (treinos) do?
It gives an agent access to structured Garmin Connect workouts. The agent can inspect, create, replace, delete, schedule, and unschedule workout entries.
Which clients are compatible with Garmin Connect (treinos)?
It works with MCP clients that support MCP over HTTP. Listed platforms include Claude Code, Codex, Cursor, GitHub Copilot, Cline, Zed, and Gemini CLI.