GarminSynapse
Provides tools for interacting with Garmin Connect, enabling AI agents to retrieve health metrics, activities, sleep data, HRV trends, download FIT files, and query the local relational database.
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., "@GarminSynapseShow my sleep stages and HRV status for today."
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.
⚡ GarminSynapse
Unified Health Engine, Relational Database, Native MCP Server & Web Dashboard for Garmin Connect.
Bridge your Garmin training data, health metrics, and raw .FIT files directly to AI Agents (Claude, Cursor, AGY) and modern web clients.
Features • Architecture • Quick Start • MCP Guide • REST API • License
🌟 Key Features
Related MCP server: garmin-mcp
🏗️ System Architecture
flowchart TD
subgraph Cloud["Garmin Connect Cloud"]
GC["Garmin API Endpoints (180+ Methods)"]
end
subgraph Auth["Dual-Engine Auth Core"]
CFFI["curl_cffi (Chrome/Safari Impersonation)"]
PW["Playwright Chromium Fallback"]
end
subgraph Storage["Storage & ETL Engine"]
EXT["GarminExtractor"]
PROC["GarminProcessor"]
DB[("SQLite Database\n(40+ Relational Tables)")]
end
subgraph Access["Interfaces"]
MCP["FastMCP Server\n(STDIO & SSE)"]
REST["FastAPI REST API\n(Port 6060)"]
SPA["Web Dashboard SPA\n(Glassmorphism Dark UI)"]
end
subgraph Clients["Clients"]
AI["AI Agents\n(Claude, Cursor, AGY)"]
User["User Browser / Tailscale"]
end
GC --> Auth
Auth --> EXT
EXT --> PROC
PROC --> DB
DB --> MCP
DB --> REST
REST --> SPA
MCP --> AI
SPA --> User⚡ Quick Start
Zero-Friction Install: install.sh automatically installs all dependencies, Playwright browser binaries, and sets up project directories.
# 1. Clone Repository
git clone https://github.com/kaivyy/garminsynapse.git
cd garminsynapse
# 2. One-Click Setup
./install.sh
# 3. Start Web Dashboard (Port 6060)
python3 -m garminsynapse.cli start-server --port 6060Open your browser at http://localhost:6060 or via Tailscale IP http://<IP-Tailscale-Server>:6060.
🤖 MCP Integration Guide
Connect GarminSynapse to your favorite AI Assistant in seconds.
Claude Desktop Setup
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"garminsynapse": {
"command": "python3",
"args": ["-m", "garminsynapse.cli", "mcp"],
"env": {
"PYTHONPATH": "${workspaceFolder}/src"
}
}
}
}Cursor & AGY Setup
In Editor Settings -> Model Context Protocol (MCP) -> Add New Command:
Name:
garminsynapseCommand:
python3 -m garminsynapse.cli mcp
🛠️ MCP Tools Reference
Tool Name | Parameters | Description |
| None | Check auth, database, and MCP status |
|
| Authenticate with Garmin Connect |
|
| Extract recent Garmin metrics to SQLite |
|
| Get daily steps, RHR, stress, body battery |
|
| Get sleep stages, sleep score, SpO2 |
|
| Get HRV status and weekly baseline |
|
| List recent workouts (distance, duration, HR, calories) |
|
| Get detailed time-series metrics & map polyline |
|
| Download raw binary |
|
| Execute safe |
📡 REST API Endpoints (Port 6060)
Method | Endpoint | Description |
|
| System health & authentication status |
|
| Authenticate Garmin Connect account |
|
| Clear active token session |
|
| Today's health gauges (Steps, HR, Sleep, Battery) |
|
| List recent logged workouts |
|
| Trigger manual data extraction |
🧹 Database Maintenance
Keep disk usage optimal by downsampling high-frequency 1-second metrics.
# Downsample raw 1-second time-series metrics older than 30 days
python3 -m garminsynapse.cli downsample --days-keep-raw 30
# Prune historical activities older than 1 year
python3 -m garminsynapse.cli prune --days-keep 365📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
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.
Related MCP Servers
- Flicense-qualityBmaintenanceExposes Garmin Connect data and workout management to AI agents, supporting tools, resources, and prompts for health data, workout creation, and coaching workflows.1
- Alicense-qualityDmaintenanceEnables AI agents to access Garmin Connect activities, workouts, and workout templates for querying and creating workout plans.5MIT
- Alicense-qualityAmaintenanceDownloads all your Garmin health and fitness data into a local SQLite database and exposes 45 MCP tools for AI analysis, enabling assistants to query sleep, training load, HRV, and more.138AGPL 3.0
Related MCP Connectors
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
63 tools for Apple Health, Fitbit, Oura & Health Connect data in Claude, ChatGPT, Grok & Mistral.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kaivyy/garminsynapse'
If you have feedback or need assistance with the MCP directory API, please join our Discord server