
Archive and analyze your Garmin Health data locally.
Garmin Local Archive is a free, open-source Windows app (full Python source included) that keeps a complete, permanent copy of your Garmin Connect data on your own computer. It pulls recent days from Garmin Connect, imports your full history from the Garmin data export, and stores everything in open formats (JSON, Excel). On top of the archive you get dashboards, several export formats (JSON, CSV, InfluxDB) and an MCP server for AI analysis.
Privacy first — inspired by European principles.
A look at the app
Home — connection status, archive stats by device and Daily Actions (Sync / Mirror / Timer); the dashboard viewer below.

Files · Settings · Chat · MCP Server · Diary — click any picture to view full size.
Download
No install, no terminal. Download, unzip, run.
Standard version: install dependencies first — pip install -r requirements.txt.
The app checks GitHub for a new version on startup. Updates can be
downloaded and applied automatically; on the Standalone version this
includes a restart, on the standard version you start it again yourself.
Try it first
No Garmin account yet, or just want to see it in action? A synthetic
180-day demo archive (fictional data, clearly marked as such) lets you
explore dashboards, Chat and the MCP server without connecting a real
account. See QUICKSTART.txt, "Try it first".
Project status & disclaimer
GNU General Public License v3.0 — provided as-is, without warranty of any kind, express or implied.
- Not an official Garmin product: This tool is not affiliated with, endorsed, or supported by Garmin.
- Not medical advice: All health metrics, reference ranges, and dashboard data are for personal informational use only — not a substitute for medical advice.
- AI and health data — handle with care: If you use an external AI service (ChatGPT, Claude, Gemini) to interpret your data: never upload documents containing your name, date of birth, or other identifying information. Cloud AI services store what you send — linked to your account. Use a local model (Ollama) or at minimum a session without login. This includes the app's own in-app Chat tab — its optional Cloud backend (Anthropic/OpenAI) sends your question and any archive data the model requests to that provider's API, same as pasting into their website; with the Ollama backend, local models stay fully local, while an Ollama cloud model (name ending in
-cloud) is processed on Ollama's servers. AI responses on health topics are statistically generated — not medically validated. Treat them as a first orientation, not a conclusion.
- Context data: Weather data is provided by Open-Meteo and Brightsky (DWD), pollen data and air quality data by Open-Meteo — accuracy and availability are not guaranteed. Air quality data (CAMS dataset) is available from approximately 2020 onwards.
- Early stage: Core functionality is stable. APIs and internal structure may still change.
- No guaranteed support: Development happens when time and interest allow.
- Use at your own risk: I am not responsible for data loss or Garmin account issues.
- Feedback welcome: If something feels off — logic, structure, results — open an issue.
Scope & limitations: Local-first, personal use, no enterprise ambitions.
- Relies on python-garminconnect. Since Garmin does not offer a public API for personal use, moste non-commercial tools share this dependency. To mitigate unannounced upstream changes, GLA automatically detects and logs structural API shifts.
- Local test suites cover the full pipeline plus a separate build-output validation suite. The full suite also runs automatically via GitHub Actions on every push to main (Windows runner), alongside dead-code and CVE-relevance checks; CodeQL security scanning runs on every push/PR to main
- HTML dashboards require a one-time internet connection to download Plotly (~3 MB) — cached locally after that
- Per-day checkpointing: an interrupted sync resumes from the last completed day, no full re-sync required
- Historical data quality depends on Garmin servers
This project is built for my own use. If it happens to be useful to others, feel free to use it — but evaluate it like any other unverified open-source tool.
What this is not:
Garmin Connect is still required — the app pulls data from there via API.
A note on cloud folders: the archive itself is stored as plaintext on disk — if garmin_data/ lives inside a cloud-synced folder, that data gets uploaded automatically. See SECURITY.md for details and the encrypted Mirror alternative. This tool does not replace Connect, the Garmin app, or your device sync. It has no cloud component, no remote access, and no sharing features. The GUI and EXE are Windows-only.
Why this exists
I wanted to ask an AI questions about my health data without sending that data to another cloud service. So I built a local alternative instead.
What "intraday resolution" actually means in practice:
| Metric |
API resolution |
Data points / day |
| Heart Rate |
~1 minute |
up to 1,440 |
| Stress |
~3 minutes |
up to 480 |
| Body Battery |
~15 minutes |
up to 96 |
| SpO2 |
~1 hour |
up to 24 |
| Respiration |
variable |
variable |
→ For the full story, see MINDSET.md.
What makes this different
This project is as much a statement as it is a tool.
This is not a data export script — it maintains a complete, consistent
local copy of your Garmin data over time. Your data stays in open formats, readable and analyzable with any tool you choose. Local AI, cloud AI, or no AI at all. Your data, your call.
| Feature |
Garmin Connect |
Cloud-AI Bridges |
Garmin Local Archive |
| Data storage |
Garmin servers (USA) |
US AI servers |
Your machine |
| Privacy risk |
Medium |
High (training data risk) |
Minimal |
| Access |
Online only |
Requires subscription |
100% offline |
| History |
Erodes over time |
Depends on source |
Permanent local copy |
AI-assisted development
I can't write Python. The architecture, module boundaries, and decisions are mine. Every line of code is Claude's.
→ How this collaboration actually worked — who had which idea, where Claude was wrong — is documented in MINDSET.md.
How it works
The app works in two modes: live sync pulls recent data directly from Garmin Connect via API; Bulk Import loads your complete history from a Garmin GDPR export ZIP (the daily values and, since v1.7.6, the heart-rate series over the day) — this is the primary path for recovering years of data that the API no longer serves.
Everything is stored locally in structured formats (JSON, Excel, HTML dashboards). Once downloaded, nothing is transmitted anywhere.
Bulk Import
The GDPR export from Garmin contains your complete daily history.
The Bulk Import feature fills in the rest: request your full data export from Garmin (typically ready in 20–30 minutes), point the app at the ZIP, and your complete daily history is stored locally. The daily files in summary/ are made from the export for every day Garmin's API did not deliver, and completed from it where the API data has gaps — what the API delivered always wins.
The import dialog offers two parts: Daily values (JSON) and, since v1.7.6, Heart-rate series (FIT files) — the heart-rate curve over the day from the FIT files of the export. Both are stored in their own folder, garmin_data/bulk/, next to the archive, not in raw/: raw/ holds only what came from the Garmin API. A Preview shows what would be imported without writing anything, for both parts. AI queries (MCP) and the dashboards use the stored series for days that have no heart-rate series from the live sync, and since v1.7.6.1 the time per day in the four stress zones (rest, low, medium, high) from the export is available as well. Existing API data is never overwritten (the quality log gets a marker per imported day); since v1.7.6.2 the folder is part of the backup (backup/bulk/) and of the mirror.
Export Scan (v1.7.7, v1.7.7.1): before or after an import, the window "📂 Export Scan" (Settings → Data Collection) shows what your own export holds and how complete it is — by topic, as a table or a graph, down to one field (by month or year, its numbers over time or as a distribution), up to 12 fields side by side by date (a table, or one chart per number column) and the heart rate of any single day. It reads only and shows no file name; values stay in memory and are not written to any report or log. A short guide opens from its Help button (src/docs/README_EXPORT_SCAN.md).
Dashboards
The built-in dashboards cover roughly 90% of what most users are looking for — without any AI at all. For deeper analysis, your data is prepared in a format any local AI can work with directly.
| Dashboard |
What it shows |
Output |
| Health Analysis |
HRV, Resting HR, SpO2, Sleep, Body Battery, Stress — daily values vs 90-day personal baseline vs age/fitness-adjusted reference ranges. Flags days outside range. |
HTML, Mobile HTML, JSON + AI prompt |
| Timeseries |
Intraday heart rate, stress, SpO2, body battery and respiration as zoomable charts across any date range. |
HTML, Excel |
| Heatmap |
Six intraday metrics (Heart Rate, Steps, Stress, Body Battery, SpO2, Respiration) as time-of-day × date grids — spot daily rhythms and irregularities at a glance. |
HTML |
| Daily Overview |
All summary fields in one flat table, one row per day. |
Excel |
| Health + Context |
Garmin health metrics alongside local weather and pollen data. |
HTML, Excel |
| Sleep Dashboard |
One row per night — segmented phase bar (Deep / Light / REM / Awake), sleep duration, score, quality badge, feedback label, HRV, Body Battery, and 7-day HRV moving average (computed from archive, no extra API call). Color-coded numbers via continuous gradient against personal reference ranges. Inspired by Garmin's own HRV pattern guide. |
HTML, Excel |