Connect Apple Health to Claude Code

Soon. It needs the Memory.fit iPhone app, which is coming soon. Once it is out, connect Apple Health there, add one Memory.fit address to Claude Code, and Claude Code reads your workouts, sleep and sleep stages, HRV and resting heart rate.

Claude Code can also write your plans back to Memory.fit, where you see them in the app.

What Claude Code needs: on a computer, Claude Code, about a minute.

Connect Apple Health to Claude Code: the title card of the how-to video1:24 · On YouTube soon

The whole setup in 1:24. The chats in it are examples: Claude Code's answers depend on your data.

  1. 0:00Connect Apple Health in Memory.fit
  2. 0:24Add Memory.fit to Claude Code
  3. 0:53Ask Claude Code and plan your week around your sleep

The address to add to Claude Code

https://api.memory.fit/mcp?src=mcp-apple-health-claude-code

MCP address: https://api.memory.fit/mcp

What it reads

What Claude Code reads from Apple Health

From your iPhone, through the Memory.fit iPhone app, with no export file.

The first sync reads up to 90 days back.

  • Workouts
  • Sleep and sleep stages
  • HRV and resting heart rate
  • Steps and active energy
  • Weight

The tools that read it:get_workoutsget_sleepget_daily_metricsget_trendsget_source_data

What it can do

What Claude Code can do with it

Plans written back
Yes. Claude Code reads your training and writes the sessions it plans back to Memory.fit, asking before each change unless you allowed it.
Where it runs
Your terminal, on a computer.
Good to know
Claude Code adds Memory.fit with one command in your terminal and signs in from /mcp. It reads your Apple Health workouts and sleep there, and before it changes your plan it asks for your yes; once you allow it, it shows on Plan in the Memory.fit app.

Setup

Set up Apple Health in Claude Code

1. Apple Health in the Memory.fit app

  1. 01In the Memory.fit app, open Settings → Health data.
  2. 02Tap Apple Health, then Connect.
  3. 03Choose what Memory.fit may read and tap Allow.
  4. 04Memory.fit syncs in the background from then on.

The Memory.fit iPhone app is not on the App Store yet. Join the waitlist and we'll tell you the day it is.

2. Memory.fit in Claude Code

Claude CodeOn a computer · Claude Code · about a minute
  1. 01In your terminal, run the command
  2. 02Start Claude Code and run /mcp
  3. 03Pick memory-fit and sign in to Memory.fit
claude mcp add --transport http memory-fit "https://api.memory.fit/mcp?src=mcp-apple-health-claude-code"

Other routes

Apple Health in Claude Code without Memory.fit

Apple has no official route from Apple Health to Claude Code.

Try it

Ask Claude Code about your Apple Health data

“Read my Apple Watch workouts and sleep from the last month and tell me how my week is balanced.”

Claude CodeExample
Runs lead. In four weeks you logged 12 runs, 2 rides and 3 strength sessions, about 4 h 25 a week. Sleep averaged 7 h 10, and Monday nights were the shortest, at 6 h 25.

From the video. Answers depend on your data.

Uses:get_workoutsget_sleepget_trends

“How have my resting heart rate and HRV moved over the last eight weeks?”

Uses:get_daily_metricsget_trends

“Plan three runs and two strength sessions for next week around my sleep.”

Claude CodeExample
Planned. Runs on Tuesday, Thursday and Saturday, strength on Wednesday and Friday. Your shortest nights are Mondays, so Tuesday's run is easy.

From the video. Answers depend on your data.

Uses:get_sleepplan_session

Limits

Limits, said plainly

  • Needs the Memory.fit iPhone app, which is not on the App Store yet. Join the waitlist and we'll tell you the day it is.
  • Works with every AI you connect, not only the AI apps with their own health features, and outside the US.
  • The first sync reads up to 90 days back.
  • Your AI's own subscription is separate from Memory.fit's.

Questions

Apple Health in Claude Code, in short.

  • Not from Apple. Memory.fit is a hosted MCP server: connect Apple Health in the Memory.fit app, add one Memory.fit address to Claude Code, and Claude Code reads it.

  • Memory.fit is $9 a month or $69 a year, with 7 days free, for every device and every AI you connect. Claude Code's own plan, if it has one, is separate.

  • Memory.fit works in every country, and Claude Code's requirements name no region.

  • Claude Code gets only the permissions you allow, every change shows in the Memory.fit app with who made it, and you can disconnect Claude Code or Apple Health at any time.

  • Yes, by default. When Claude Code wants to write a session or a target to Memory.fit, it shows the request and waits for your yes, unless you allowed Memory.fit's tools for the session.

Your next chapter starts with everything you've learned.

On Android now. iPhone is coming: join the waitlist and we'll email you the day Memory.fit is on the App Store.

No spam. One email when it's ready.

Get it onGoogle Play