Deploy Garmin MCP
MCP Tools to allow an LLM read-only connection to your Garmin fitness data
garmin-mcp
Just deployed
/data
Deploy and Host Garmin MCP with Railway
Garmin MCP lets Claude answer questions about your sleep, recovery, heart rate, training load and activities. It is a self-hosted, read-only MCP server that works with your Garmin Connect data through Garmin's official Personal API. Independent project, not affiliated with or endorsed by Garmin.
About Hosting Garmin MCP
The template runs one small Python service with a public domain and a volume for sign-in data.
Before you start: create a Personal API key at connect.garmin.com > Settings > Personal API token (Create Key). Garmin shows the key once, and it expires after at most a year. Railway hosting is billed separately.
Setup
- Deploy the template and paste your key into
GARMIN_PERSONAL_API_KEY.SETUP_SECRETis generated for you. - In Claude, add a custom connector with the URL
https://YOUR-DOMAIN/mcp. Your domain is under Settings -> Networking. - Click Connect and enter your
SETUP_SECRET(found in Variables).
When the key expires, create a new one and replace GARMIN_PERSONAL_API_KEY.
Common Use Cases
- How did I sleep last night, and how has my sleep trended this month?
- Am I recovered enough for a hard workout today?
- How is my training load and weekly mileage building before a race?
- Debrief my last race: pacing, splits and how it compares with earlier efforts
- Combine health data with your calendar or other connectors in Claude
Dependencies for Garmin MCP Hosting
- A Garmin Connect account with a Personal API key
- Claude, or another MCP client that runs on your computer and supports OAuth
Deployment Dependencies
Implementation Details
- Read-only: the server only reads from Garmin and changes nothing
- OAuth for the connector; each new connection needs your setup code
- Responses are cached for five minutes to limit requests to Garmin
- GPS positions and routes are removed from every response
- Readiness and load readings are rule-based estimates, not medical advice
- Sign-in data stays on your volume; tool results go to your MCP client and its AI provider
Why Deploy Garmin MCP on Railway?
Railway gives your server a public HTTPS domain, a persistent volume and generated secrets in one deploy, so you can run your own private connector without managing a machine.
Template Content
garmin-mcp
dbranham20/garmin-mcpGARMIN_PERSONAL_API_KEY
Your Garmin Connect Personal API key, from connect.garmin.com > Settings > Personal API token.

