How do I give my AI agent my Strava activities?
There are two routes: Strava's own MCP connector, which gives Claude or Gemini read-only access to your Strava data with a Strava subscription, and Apple Health, where Strava writes each activity's type, distance, time, calories and route when you turn on Send to Health. HealthSQL reads the second: Strava's activities, in a local database, next to everything else Apple Health holds.
HealthSQL is an iPhone app and a command-line tool that copy your whole Apple Health record into a local SQLite database on your computer, so AI agents can query it with SQL or MCP.
Route 1: Strava's MCP connector
Strava's help page on the Strava MCP Connector (read 30 November 2026) says:
- it is a remote server that gives subscribers conversational access to their Strava data;
- it connects to Claude (since June 2026) and Google Gemini (since October 2026); Gemini only with a personal Google account, and at launch only in the US;
- it is read-only: the assistant cannot upload, edit or delete anything;
- it comes with a Strava subscription;
- its address is
https://mcp.strava.com/mcp, and for Claude Code the page givesclaude mcp add --transport http strava-mcp https://mcp.strava.com/mcp.
For questions about Strava itself, such as segments, kudos or Relative Effort, this is the route. Strava's API policy (effective 1 June 2026) does not allow developers to use Strava data with AI applications, and names this connector as Strava's one authorized agent interface (Strava API policy).
Route 2: Strava's activities in Apple Health
From Strava's help page Apple Health and Strava (read 30 November 2026):
- Written to Health, with Send to Health on: route information, activity type, distance, time and calories.
- Not sent: routes of activities recorded in another company's app, such as Garmin or Zwift.
- Read from Health: activities recorded with Apple's Workout app in the past 30 days.
Strava's activities then reach HealthSQL like any workout. Your agent reads them with SQL:
SELECT day, activity, minutes, meters, kcal
FROM workouts WHERE source_name LIKE '%Strava%' ORDER BY start_ts DESC LIMIT 20If Strava and another app both write the same activity to Health, such as your watch's own app, it appears once for each source. The workouts view keeps both, so check source_name before you count; find the names with:
SELECT source_name, count(*) AS workouts FROM workouts GROUP BY source_name ORDER BY workouts DESCThis route works with any agent and puts runs next to sleep, resting heart rate and HRV, so you can ask how training load and recovery move together. Sleep and HRV for agents.
Questions
Which route should I use?
Strava's connector for Strava's own data and features, in Claude or Gemini. HealthSQL for your runs and rides together with the rest of your Apple Health record, in any agent, with SQL, on your own Mac.
Can I use both?
Yes. They do not conflict: one reads Strava's servers, the other reads Apple Health on your phone.
Is there heart rate from Strava in Apple Health?
Strava's page lists type, distance, time, calories and route, and does not mention heart rate. A watch that writes its own workouts to Apple Health, such as an Apple Watch, adds its heart rate there itself.