Health Connect icon

Connect Health Connect to Claude Code

Yes. Connect Health Connect in the Memory.fit app, add one Memory.fit address to Claude Code, and Claude Code reads your workouts, sleep and 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 Health Connect to Claude Code: the title card of the how-to video1:23 · On YouTube soon

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

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

The address to add to Claude Code

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

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

Get it onGoogle Play
Set it up

What it reads

What Claude Code reads from Health Connect

From your Android phone, through the Memory.fit app.

The first time, Memory.fit reads up to 90 days back.

  • Workouts
  • Sleep
  • Heart rate
  • HRV
  • Resting heart rate
  • Weight
  • Steps
  • Active calories
  • Distance
  • VO2max
  • Hydration
  • Nutrition
  • Cycle

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 Health Connect 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 Health Connect in Claude Code

1. Health Connect in the Memory.fit app

  1. 01Install Memory.fit on Android.
  2. 02Open Settings → Health data and tap Health Connect.
  3. 03Allow the data types you want Memory.fit to read.

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-health-connect-claude-code"

Other routes

Health Connect in Claude Code without Memory.fit

Google has no official route from Health Connect to Claude Code.

Try it

Ask Claude Code about your Health Connect data

“Read my workouts and sleep from Health Connect for the last month and tell me how my weeks compare.”

Claude CodeExample
Week two was your biggest: 4 h 50 of training and 6 h 55 of sleep a night. The others ran 3 h 40 to 4 h 10, with about 7 h 20 of sleep. Sunday nights were short every week.

From the video. Answers depend on your data.

Uses:get_workoutsget_sleepget_trends

“How have my resting heart rate and HRV moved since I started training more?”

Uses:get_daily_metricsget_trends

“Plan next week's sessions around the nights I usually sleep worst.”

Claude CodeExample
Planned five sessions around your Sunday nights, your shortest: an easy 40 min run Monday, intervals Tuesday, tempo Thursday, strength Friday and the long run Saturday.

From the video. Answers depend on your data.

Uses:get_sleepplan_session

Limits

Limits, said plainly

  • Memory.fit reads new data when you open the app.
  • What reaches Health Connect depends on what each app writes there.
  • Your AI's own subscription is separate from Memory.fit's.
  • The first time, Memory.fit reads up to 90 days back.

Questions

Health Connect in Claude Code, in short.

  • Not from Google. Memory.fit is a hosted MCP server: connect Health Connect 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 Health Connect 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