---
title: "Deploy Garmin MCP"
description: "MCP Tools to allow an LLM read-only connection to your Garmin fitness data"
category: "AI/ML"
url: https://railway.com/deploy/garmin-mcp
---

# Deploy Garmin MCP

MCP Tools to allow an LLM read-only connection to your Garmin fitness data

**[Deploy Garmin MCP on Railway](https://railway.com/template/garmin-mcp)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/garmin-mcp/manifest.json

- **Creator:** Daniel Branham's Projects
- **Category:** AI/ML
- **Total deploys:** 1

## Template content

### garmin-mcp

- **Source:** dbranham20/garmin-mcp
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# 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**

1. Deploy the template and paste your key into `GARMIN_PERSONAL_API_KEY`. `SETUP_SECRET` is generated for you.
2. In Claude, add a custom connector with the URL `https://YOUR-DOMAIN/mcp`. Your domain is under
   Settings -> Networking.
3. 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

- [Garmin Personal API key page](https://connect.garmin.com/app/settings/personalApiToken)
- [Source code and full setup guide](https://github.com/dbranham20/garmin-mcp)

### 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.

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/garmin-mcp
