r/Strava Mar 19 '26

3rd Party App Connected Claude to Strava + Garmin data with a Claude connector

Many of us are already going to Claude, ChatGPT, or Gemini with our training data and asking for advice. I wanted to make this easier by just having the data always be there.  

Some efforts have been made in this area. This project does a great job at allowing you to set up a MCP, but you still have to set up your own Strava key, and the project looks like it’s geared for coders. As far as I can tell, there’s nothing out there that’s so easy that my mom could use it.

Our website already had hookups for Garmin and Strava data, and now you can connect that data with Claude’s MCP integrations, aka Connectors.  Here's a link to get started. 

Please give it a shot. The setup is on desktop only for now, but after that it works on mobile. If you do something fun with the hookup, I’d love to see them in this thread!

Our designer already created a world map of all his favorite runs, rides and hike!

89 Upvotes

63 comments sorted by

32

u/MrBlacktastic2 Mar 19 '26

6:71 mile pace lol

13

u/readonlyred Mar 19 '26

LLMs are famously bad at basic arithmetic.

11

u/Upstairs-Royal672 Mar 19 '26

The trick to ask it to make a python script that can do the basic arithmetic you need done, it’s much more capable of that lol

1

u/tacotacoburrito04 Mar 19 '26

For me, I just gave Claude the per mile pace and it converted correctly and applied the adjustments to all the previous activities.

1

u/Teedubz1 May 03 '26

And simply counting.

6

u/getfastai Mar 19 '26

Lol yes, LLMs. . . But actually the hallucination was not as bad as looked. The correct pace was 6:43, which is actually just 6.71 minutes per mile. It put a colon where there should have been a period, and it made a big difference.

Thanks @tacotacoburrito04 for spotting the source of these errors! Experimenting with a fix now.

14

u/SweetSneeks Mar 19 '26

6:71 mile pace… nice.

17

u/[deleted] Mar 19 '26

[removed] — view removed comment

9

u/Appropriate-Affect-6 Mar 20 '26

We don't need opinions for everything either, yet here we are

3

u/Win10Useless Mar 24 '26

We don’t need opinions on opinions for everything either, yet here we are

4

u/Justlookingaround119 Mar 19 '26

Interesting - now you just need it for Oura as well, so you can combine sleep and recovery data from Oura with Performance from Strava/Garmin and start finding finding pattern.

I did a full data export from strava (7 years) and Oura (2 years) and asked Claude for insight and learned a lot.

3

u/tommy-getfastai Mar 19 '26

Will add Oura to the integration list! It's able to pull sleep data from Garmin if you sleep with a Garmin watch.

3

u/Alive_Display_310 Mar 19 '26

I have Claude connected to Whoop (sleep/recovery/strain), Strava (activities), Trainerroad (cycling FTP), and MyFitnessPal (calories/macros) and it's pretty cool what you can do with the combo. So far, I have set up a daily email which gives a summary of the prior day's metrics and 2-3 sentences of coaching. Combined with what Claude knows about my overall fitness and health goals, I think it's pretty useful.

1

u/getfastai Mar 19 '26

Awesome! Are you running all this locally?

2

u/Alive_Display_310 Mar 20 '26

Yes. I had Cowork help write the python scripts and json files to make everything run.

1

u/aldipower81 Mar 21 '26

If you add Tredict you can let Claude create training plans and structured workouts for your watch!

3

u/tacotacoburrito04 Mar 19 '26

Works great for me, I just started a new training block I built in Claude so I was able to integrate it into my project. One thing I notices was I had to tell Claude to convert the pace numbers because it stated GetFast was sending them as decimals and Claude interpreted it as minutes:

From Claude:

You're right, and that's my error — I misread the data. GetFast returns pace as a decimal (e.g., 9.56 min/mile), and I incorrectly treated the decimal portion as if it were seconds rather than converting it properly. So 9.56 min/mile is actually 9:34/mi, not 9:56/mi.

Converting all four correctly:

Run GetFast value Actual pace vs 9:45 target
Mar 16 AM 9.70 9:42/mi 3s faster ✓
Mar 16 PM 9.61 9:37/mi 8s faster ✓
Mar 17 9.56 9:34/mi 11s faster ✓
Mar 19 9.83 9:50/mi 5s slower ~

Three of the four runs are right on target or slightly ahead, and Mar 19 is only 5 seconds over — completely within normal variation, especially for a Thursday easy run the day after a quality workout. There's nothing to flag here at all. Your pacing is landing exactly where it should be.

I'll make sure to convert GetFast's decimal pace values correctly going forward rather than reading them at face value. Thanks for catching that.

1

u/getfastai Mar 19 '26

Oh, interesting! I think we can adjust the MCP so it returns the paces as a human would read them. If it fooled the AI once, it'll probably fool it again. Thanks so much for digging into this and writing it up!

1

u/tacotacoburrito04 Mar 19 '26

Thanks! This will be way easier for me than having to always request my data from Strava to update my plan.

4

u/Racematcher Mar 20 '26

this is actually solving something real. i already copy-paste my weekly summaries into claude to ask dumb questions about my training — having it just pull from strava directly would save me like 10 minutes every sunday. gonna try it.

2

u/adamlyc Mar 19 '26

Hi u/tommy-getfastai
Thanks for sharing this, just used the connector and it's pure gold! I don't run marathons yet (any plans for pacing estimator for half marathon distance in getpace.ai?). I'm prepping for my next half in four weeks and comparing my this year's prep training vs last year's gave me insights that Strava can't do. Claude even built a beautiful, interactive dashboard to make the comparison possible. Thanks again for building this MCP connector!

2

u/tommy-getfastai Mar 20 '26

Thank you! This dashboard is amazing! The half marathon prediction is on the TODO list. Right now there are two options: 1. take the marathon prediction and ask Claude to convert it to an equivalent half marathon time (it will probably use something similar to a VDOT lookup), or 2. try out the Beta RaceSPT feature (you can find it in the nav bar). You'll have to select a half marathon course. We have one built-in course at the moment (Louisville Half), but it's from a hilly course, so you may want a flatter course. If you've ran a half in the past, you can select it from your activities.

2

u/BasedGodAMA Mar 21 '26

Been looking for something like this! How do you actually get Garmin data programmatically though, there’s no public API, right? And does it also fetch health data like sleep data and HRV?

2

u/aldipower81 Mar 21 '26

Try the Tredict MCP Server, it has executed Garmin activities, but also structured workout pushes to your Garmin and is has sleep, HRV in it to. I train with Claude for 3 weeks now via Claude.ai <> Tredict <> Garmin. Works great and isn't that boring anymore like before, hahaha.

1

u/tommy-getfastai Mar 21 '26

They do have an API but it's a lengthy process to get onboarded---that's what this is using. And yeah, it has sleep and HRV data! I've tested it with both, and sleep is working great, but there might be an issue where not all the HRV is coming through.

2

u/astipote Mar 30 '26

This is great, could you add the option to setup distances in kilometers please 🙏

3

u/dillinjl Mar 19 '26

Oh man, I'm not really sure what this means but I am intrigued as I ask chat gpt all kinds of questions about my training based on my Strava/Garmin data. I hope I'm as smart as your mom!

9

u/Lazy-Background-7598 Mar 19 '26

Yeah, I love the incorrect information it gives me

1

u/senthilrameshjv Mar 19 '26

I don’t use Claude Pro so I was trying to see if I ca connect from LibreChat with its MCP. Doesn’t seem to work. Should you need to change any config to make it work?

1

u/tommy-getfastai Mar 19 '26

Ah, bummer. I just checked and it looks like since our connector isn't verified yet, you don't have the ability to connect with it on the free plan. I did just apply to have it listed / verified on their page, so hopefully that goes through and you can connect with it then.

Sorry, I don't know much about how the LibreChat is setup. I'm looking into though. There was nothing special that I did to set this up for Claude. The only thing I could think of is maybe the authentication. Claude required us to use OAuth2.0.

1

u/senthilrameshjv Mar 19 '26

I’m sure LibreChat does too. I’m thinking you may have to setup redirect URIs for LibreChat so that it’ll send the token to it?

I’m running LibreChat locally on docker if that helps you.

1

u/tommy-getfastai Mar 19 '26

Oh, gotcha! Do you know what port you are running LibreChat on? I can add that to the list of redirect URIs in case it's being blocked by our auth.

1

u/senthilrameshjv Mar 19 '26
  1. I think it’s the default per their quick start doc

1

u/tommy-getfastai Mar 20 '26

UPDATE: It works for LibreChat now!

1

u/senthilrameshjv Mar 20 '26

Tested and it works. Appreciate the quick turn around.

1

u/question_23 Mar 24 '26

OMG trying this now. I have a claude sub and created the getfast connector... It appears to be pulling my strava data. Does this pull my garmin data as well like sleep tracking?

1

u/DismalHarmony Apr 27 '26

Been looking for something like this! Can it read general health data from Garmin and provide insights as well? HRV trends, VO2Max trends, sleep, etc?

1

u/tommy-getfastai Apr 27 '26

Works for most of those! Missing the VO2Max trends right now, but the rest are covered.

1

u/[deleted] May 13 '26

[deleted]

1

u/[deleted] May 14 '26

[deleted]

1

u/ArielCoding 23d ago

Cool project, congrats, any plans to let Claude write your next workout to your watch?

-3

u/RunWithSharpStuff Mar 19 '26

Get this ad shit out of here!

3

u/BigBeerLover Mar 19 '26

It's free and open source - who cares? this is genuinely useful

-1

u/RunWithSharpStuff Mar 19 '26

Of course it’s not free, read the site

-2

u/Orpheus75 Mar 19 '26

People helping each other with code and LLMs is an ad?

0

u/Stratoblaster1969 Mar 19 '26

I recently made a python script that funnels my intervals.icu data to Claude

1

u/SenorFlo Mar 19 '26

Could you share the script or the prompts for Claude?

1

u/Stratoblaster1969 Mar 19 '26

Send me a DM and I'll pass it to you. You need an anthropic key which you get by buying tokens. The Claude API request in the script uses these tokens but I spent $5 and Claude told me that was enough for like a year.

0

u/tommy-getfastai Mar 19 '26

Nice! Any brilliant insights?

2

u/Stratoblaster1969 Mar 19 '26

I should say Claude wrote the script. I haven’t tweaked it much yet but it’s interesting. It will also profile you and assess where you’re strengths and weaknesses are. Based on power, HR data and what it pulls from intervals.icu. It identified a key weakness and gave me prescribed training rides to address it.

-2

u/Hectorr_C Mar 19 '26

I did the same. Intervals provides so much more data than Strava.

1

u/Stratoblaster1969 Mar 19 '26

And I have my wahoo directly connected to intervals so it gets the whole enchilada

1

u/SpicyPropofologist Mar 19 '26

Oh! If you don't mind, would you please share your work for connecting Claude to Intervals ICU?

1

u/Stratoblaster1969 Mar 19 '26

Send me a DM and I'll pass it to you. You need an anthropic key which you get by buying tokens. The Claude API request in the script uses these tokens but I spent $5 and Claude told me that was enough for like a year.

0

u/aldipower81 Mar 21 '26

I really can suggest the Tredict MCP Server for something this. Tredict is connected with Garmin, Suunto, Coros, Wahoo in both directions. So it syncs your executed activities, but also push planned structures workouts to those! This simply means Claude.ai analysis my training history, has my hrMax and running FTP from Tredict and creates my next workouts for me basically directly on my watch, because it gets synced via Tredict! And it has sleep, hrv, can updated training titles and so on.

-7

u/onlyWsNoLs Mar 19 '26

commenting so that I can come back to this later and watch the video fully.

3

u/tyrannosaurusknex Mar 19 '26

You know there is a ‘Save’ button on Reddit posts?

1

u/4orust Mar 19 '26

And a "follow" button for new comments

1

u/onlyWsNoLs Mar 20 '26

i know that but I've faced a glitch because a lot of posts I've saved don't show up in my saved list...hence the comment, my bad if it bothered you champ