Skip to content
HealthSave Get the app

Connect Claude to your Apple Health history

Ask Claude about the Apple Health data you have synced to your own HealthSave Observatory. Set up a read-only MCP connection for sleep, activity, workouts, and trends.

By HealthSave · Updated

What you need

  • HealthSave on your iPhone, with permission to read the Apple Health records you want to ask about.
  • HealthSave Observatory on your own computer or server. The connector is available from Observatory 1.4.0. These steps use version 1.5.3.
  • Claude Code or Claude Desktop on a computer that can reach your Observatory. Install uv on that computer, or use the Docker option below.

Follow the Observatory install guide to pair HealthSave and send your first batch. Claude can ask about data after it reaches Observatory. The free app can send the last seven days manually after pairing by QR code. Sending your whole history requires HealthSave Pro.

Set up the Apple Health MCP connection

On the computer that runs Observatory, run this command. It creates a read-only key on the first run and prints the connection details.

healthsave mcp

Claude Code

Paste the full line printed for Claude Code into the terminal on the computer where you run Claude. This example from the v1.5.3 setup instructions shows the shape of the line. Use the line your server prints, with your own address and read key.

claude mcp add healthsave -e HEALTHSAVE_URL=http://192.168.1.20:8000 -e HEALTHSAVE_API_KEY=<your read key> -- uvx --from "git+https://github.com/umutkeltek/healthsave-observatory@v1.5.3#subdirectory=packages/mcp" healthsave-mcp

Run claude mcp list to check that healthsave is connected.

Claude Desktop

On the Observatory computer, run healthsave mcp --client claude-desktop. In Claude Desktop, open Settings → Developer → Edit Config. Add the printed entry to mcpServers, save, and restart Claude Desktop.

Docker and other MCP clients

  • With Docker, run healthsave mcp --client docker on the Observatory computer. Use the printed Docker setup line on the computer running Claude Code.
  • With another client that supports local MCP over standard input and output, configure it to run healthsave-mcp over stdio. Set HEALTHSAVE_URL and HEALTHSAVE_API_KEY using the address and read key from your setup.

The setup line pins the connector to your Observatory release. After healthsave update, run healthsave mcp again and use the new setup line or config. To check that the read key works from the server, run:

healthsave mcp --check

If Claude cannot reach Observatory, check that both computers are on the same network. For access away from home, see the remote access guide. Keep the read key private. It can read records through the Observatory API. Use the key made by healthsave mcp for the connector.

What you can ask

  • “How much did I sleep each night for the last seven nights?”
  • “What workouts did I record last week, and how long were they?”
  • “How did my resting heart rate change this year?”

The tools return units, the data source, and limits such as missing data. Ask for a shorter period if the answer says the window was cut. Check any figure you rely on against your data in Observatory.

What Claude can see

The connector is read-only. It reads from your Observatory and sends tool results to your assistant. Your original records stay on the server you run. Your health data never touches our servers. With Claude, the tool results go to Anthropic as part of the conversation. To keep the results on your own hardware, use an MCP client with a local model.

ChatGPT cannot connect to this release. Its connectors reach servers over public HTTPS. You can still export a file and attach it to ChatGPT if you choose to share that file.

Use the answers to review your own records. They cannot diagnose a condition or provide medical advice.

HealthSave Observatory v1.5.3 MCP documentation