Polar icon

Connect Polar to Claude Code

Yes. Connect Polar in the Memory.fit app, add one Memory.fit address to Claude Code, and Claude Code reads your training sessions, sleep, HRV and Nightly Recharge.

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 Polar to Claude Code: the title card of the how-to video1:21 · On YouTube soon

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

  1. 0:00Connect Polar in Memory.fit
  2. 0:22Add Memory.fit to Claude Code
  3. 0:50Ask Claude Code and plan around your recovery

The address to add to Claude Code

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

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

Get it onGoogle Play
Set it up

What it reads

What Claude Code reads from Polar

Directly from Polar: you sign in with Polar in the Memory.fit app.

Polar shares the last 30 days of history.

  • Training sessions
  • Sleep
  • HRV and Nightly Recharge
  • Daily activity

The tools that read it:get_workoutsget_sleepget_daily_metricsget_training_loadget_session_complianceget_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 Polar training and Nightly Recharge 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 Polar in Claude Code

1. Polar in the Memory.fit app

  1. 01In the Memory.fit app, open Settings → Health data.
  2. 02Tap Connect next to Polar.
  3. 03Sign in with your Polar account and accept the data sharing consents.
  4. 04Your last 30 days come in first; new sessions arrive as Polar syncs.

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-polar-claude-code"

Other routes

Polar in Claude Code without Memory.fit

Polar has no official route to Claude Code.

Try it

Ask Claude Code about your Polar data

“Read my Nightly Recharge for the last two weeks and tell me which nights I recovered worst.”

Uses:get_daily_metricsget_sleep

“Compare my training load this month with last month.”

Claude CodeExample
About 14% higher: 520 a week on average this month, against 456 last month. Your biggest week, 598, held two long runs.

From the video. Answers depend on your data.

Uses:get_training_load

“How did my sleep change on the nights after my hard sessions?”

Uses:get_sleepget_workouts

“Move tomorrow's threshold run if my Nightly Recharge is poor, and tell me why.”

Claude CodeExample
Your Nightly Recharge was poor last night, ANS charge −5.8, so I moved Thursday's threshold run to Saturday. Thursday is now an easy 40 min run.

From the video. Answers depend on your data.

Uses:get_daily_metricsmove_sessionplan_session

Limits

Limits, said plainly

  • Polar shares the last 30 days of history, so older sessions don't come in.
  • Accept Polar's data sharing consents when you connect, or Polar shares nothing.
  • Memory.fit reads Polar and sends nothing to it.
  • Polar shares the last 30 days of history.
  • Your AI's own subscription is separate from Memory.fit's.

Questions

Polar in Claude Code, in short.

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