Skip to content

Importing history

New Wahoo rides reach FitRepo automatically. Backfill is for everything else: your history from before you joined, rides that were missed, and rides that only reach Intervals.icu (Garmin, Zwift).

  1. Open Backfill.
  2. Choose a source: Wahoo or Intervals.icu.
  3. Pick a date range — it starts on today only, so widen it (up to 20 years) or click Import everything for more.
  4. Click Start import.

The import runs in the background — you can close the tab, and you’ll get an email when it’s done — a branded summary showing the date range and how many activities were found, imported, skipped and failed, with a link to your activities. The progress card shows how many rides were imported, skipped and failed.

Rides that are already stored are skipped. A ride counts as already stored if its Wahoo or Intervals.icu ID is known, or if another stored activity starts within 60 seconds and has the same duration within 1% (or the file is identical). So a ride that reached FitRepo from Wahoo is not imported again from Intervals.icu. Skipped rides are listed with the reason and, when you ask Claude for the import status, the activity they matched. To re-import them anyway (for example after deleting a ride to replace it with a copy from another source), tick Skip duplicate check.

If an import stops making progress, the page offers Resume.

If activities fail to import, ask Claude to check the import status — it lists each failed activity with the reason (for example an HTTP 403 while downloading the file).

With FitRepo connected to Claude (see MCP Setup), you can ask:

“Backfill new workouts.” “Pull in today’s ride from Intervals.” “Import everything from Wahoo since June.”

For “backfill new workouts”, Claude checks the date of your latest stored ride and imports from then until today. If both Wahoo and Intervals.icu are connected and you didn’t say which, it asks. It then waits for the import and tells you what came in.

Imports started from Claude are the same jobs as the Backfill page, so they appear there too. Both tools can be switched off in Settings → MCP access.

Wellness data (weight, HRV, sleep, steps, readiness)

Section titled “Wellness data (weight, HRV, sleep, steps, readiness)”

Wellness doesn’t come from Wahoo. FitRepo pulls it from Intervals.icu (if you log it there) and/or WHOOP. The Wellness data card on the Backfill page shows the newest day stored and when it last synced.

  • Sync now pulls it immediately. Or ask Claude: “My wellness data stops last week — sync it.” It continues from the last day already synced up to today (the last 30 days the first time), is safe to repeat, and skips days Intervals.icu has no values for. Entries you added by hand are never changed.
  • Sync automatically every day keeps it current without you doing anything: tick it and choose the time of day (in your time zone). Each day, once that time has passed, FitRepo runs the sync. If a run is missed it catches up at the next opportunity, and if a sync fails (for example Intervals.icu rejects your key) the card tells you why.
  • Connecting WHOOP. Go to Settings → Source devices and press Connect next to WHOOP, then approve access on WHOOP’s page. FitRepo asks to read your recovery, sleep, cycles (for steps) and basic profile, plus an offline login so it can sync in the background. Sync now and the daily sync then include WHOOP automatically; if you have both providers, each is synced and reported separately (and a failure in one doesn’t stop the other). Disconnect removes the connection and asks WHOOP to revoke FitRepo’s access. FitRepo imports WHOOP’s wellness data only — recovery, HRV, resting HR, sleep and steps — not workouts.
  • Preferred source. Once you have data from more than one source, a Preferred source list appears on the card: move a source up to prefer it. Claude then sees one merged row per day — recovery numbers from a single source (they’re scored differently per device), weight and steps from the best source that has them.
  • WHOOP days are filed under the day you woke up, because that is when WHOOP scores your recovery. A night’s scores can take a while to settle, which the two-day re-check covers.
  • Steps settle the day after. Intervals.icu adds the full day’s step count the following day, so every sync re-checks the last two days and refreshes them. That’s why today’s and yesterday’s steps may change until the day after.

For a specific period, ask Claude for a range, for example “Sync my wellness from Intervals for September.” See sync_wellness.

Some history can’t come through Wahoo or Intervals.icu — for example anything from before you had a Wahoo device, if Intervals only has it as Strava-synced activities (Intervals can’t share those). If you hold the original files, FitRepo can import them directly, with no third-party service involved.

  1. Get your files. For Garmin: in Garmin Connect go to your account’s Data Management and choose Export Your Data. Garmin emails a link to a zip. You don’t need to unzip it — the zip contains more zips, and the original device files are inside DI_CONNECT/DI-Connect-Uploaded-Files/UploadedFiles_*.zip. FitRepo finds them itself. A zip of plain .fit, .gpx and .tcx files works too.
  2. Upload it to FitRepo. The import runs on FitRepo’s servers, so the archive has to get there first. Open Import files in the menu and drag your zip onto the page — large archives upload in parts, so size isn’t a problem (up to 20 GB). Or, with the local FitRepo package (version 0.3.0 or later) in Claude Desktop or Claude Code, give Claude the path — see MCP Setup.
  3. Dry run first. On the Import files page, leave Dry run ticked and press Run dry run; or ask Claude: “Do a dry run importing my latest upload.” Nothing is stored; you get counts — files found, would import, duplicates, unreadable — and the reason for anything unreadable.
  4. Import for real. Press Commit import on the page, or ask Claude: “Import it for real, tagged garmin_export.” Progress and results appear on the page and in Import status (ask Claude, or open Backfill) like any other import. Once it finishes, FitRepo deletes the uploaded archive.

Or from a terminal, which suits very large archives. It is a dry run unless you add --commit:

Terminal window
FITREPO_API_KEY=your-key npx -y @fitrepo/mcp-server import ~/Downloads/garmin-export.zip
FITREPO_API_KEY=your-key npx -y @fitrepo/mcp-server import --upload-id <id-it-printed> --commit

Add --force or --source <tag> as needed. The first run prints the upload id; the second commits that upload without uploading it again.

Good to know:

  • Rides you already have are skipped, including ones inside the archive more than once. A ride counts as the same if it starts within 60 seconds and has the same duration within 1%. Re-running an archive imports nothing new.
  • Your archive is stored on FitRepo only until it has been imported, then deleted. Only the .fit, .gpx and .tcx files inside it are kept, as your activities.
  • Old rides without a power meter import fine. Training-stress numbers (TSS, intensity factor) come from the file, or are calculated from the FTP you had on the ride’s date when the file has power but no TSS. FitRepo never applies today’s FTP to an old ride.
  • Files over 4 MB and FIT files that are truncated or corrupt are reported, not imported.
  • Up to 5 imports per hour. Importing from both sources at once counts as two.
  • A Wahoo import and an Intervals.icu import can run at the same time, but run them one after the other so duplicates are caught reliably; starting a second import from the same source replaces the one in progress.
  • Importing does not trigger auto-sync to Strava or Intervals.icu.
  • Rides that exist in both Wahoo and Intervals.icu are imported once: whichever source you import first is kept, and the same ride from the other source is skipped as a duplicate. Use Skip duplicate check if you want the second copy.
  • If FitRepo couldn’t save a ride’s original FIT file when it arrived, the ride is still imported, but downloading it or pushing it to another service won’t work yet. FitRepo retries these once a day by fetching the file again from Wahoo or Intervals.icu. Rides from your own uploaded files can’t be fetched again, so if one of those is affected, import that file again.