---
title: "How to connect Health Connect to AI agents"
service: "Health Connect"
slug: "health-connect"
lang: "en"
translated: true
url: "https://agentok.jp/en/services/health-connect"
json: "https://agentok.jp/en/services/health-connect.json"
category: "Health & Fitness"
tags: ["Free Plan", "Claude", "ChatGPT", "Terra", "非公式MCP"]
status: "Official, individuals OK"
statusKey: "personal"
audience: "In the US, Claude (Pro / Max, Android app) and ChatGPT (ChatGPT Health) users can connect officially. In Japan no official connector is offered, so unofficial MCP servers using the export or a sync app are the available route. Developers embedding this in an app use the Health Connect API (on-device)."
recommendedMethod: "Official connector"
pricing: "Health Connect itself is free. Among the official connectors (US only), ChatGPT works on the free plan, while Claude requires a paid plan (Pro / Max). Distributing an app on Google Play requires the developer registration fee ($25, one-time). Of the integrations covered here, vitals-mcp is free, HC Sync runs from a free beta to paid plans (Personal from $5/month), and Terra starts at $399/month billed annually."
risk: "Permissions are granular per data type, but using the export or a hosted MCP takes your entire health dataset off the device. The database inside the export ZIP is not encrypted, and scheduled exports place it as-is in cloud storage such as Google Drive. Judge by the custodian's storage policy as well."
warning: null
auth: "Android runtime permissions (per data type, separate for read and write). Reading history older than 30 days and background reads require additional permissions."
operatorVerified: "2026-12-05"
agentReports: 0
agentReportsLatest: null
lastUpdated: "2026-12-05"
verification:
  method: "Checked against official documentation"
  clients: []
  mcpServer: null
  mcpServerVersion: null
officialMcp:
  available: "No"
  url: null
  hosting: null
aiGuide:
  available: "No"
  url: null
officialConnectors: ["Claude", "ChatGPT"]
thirdPartyConnectors: ["Terra"]
hasSetupExample: true
upcomingChanges: []
---

# How to connect Health Connect to AI agents

> Source: AgentOK (https://agentok.jp/en/services/health-connect). JSON version: https://agentok.jp/en/services/health-connect.json
> 日本語版: https://agentok.jp/services/health-connect.md

Category: Health & Fitness / Tags: Free Plan, Claude, ChatGPT, Terra, 非公式MCP

## TL;DR

- Verdict: Official, individuals OK — Individuals can connect through an official route (MCP, connector or API) without a business contract or review
- Who can use it: In the US, Claude (Pro / Max, Android app) and ChatGPT (ChatGPT Health) users can connect officially. In Japan no official connector is offered, so unofficial MCP servers using the export or a sync app are the available route. Developers embedding this in an app use the Health Connect API (on-device).
- Method: Official connector
- Pricing: Health Connect itself is free. Among the official connectors (US only), ChatGPT works on the free plan, while Claude requires a paid plan (Pro / Max). Distributing an app on Google Play requires the developer registration fee ($25, one-time). Of the integrations covered here, vitals-mcp is free, HC Sync runs from a free beta to paid plans (Personal from $5/month), and Terra starts at $399/month billed annually.
- Risk: Permissions are granular per data type, but using the export or a hosted MCP takes your entire health dataset off the device. The database inside the export ZIP is not encrypted, and scheduled exports place it as-is in cloud storage such as Google Drive. Judge by the custodian's storage policy as well.

Google offers no cloud API; the data stays in Health Connect on the Android device. In the US, Claude (Android app) and ChatGPT Health can connect officially for read access. In Japan no official connector is available, so a local unofficial MCP server reading the export is the practical option.

- Authentication: Android runtime permissions (per data type, separate for read and write). Reading history older than 30 days and background reads require additional permissions.
- Checked by the operator: 2026-12-05
- How the operator checked: Checked against official documentation

## Official MCP and AI guides

- Official MCP server: No
  - Google does not provide an MCP server for Health Connect. The B2B aggregator Terra offers a read-only MCP (AI Interface) to its own customers.
- Official guide for AI agents: No
  - Google publishes no llms.txt or AI/agent guide for Health Connect. Developer material is the standard Android Developers documentation only.

## Connectors

### Official connectors from AI services

- [Claude](https://claude.com/connectors): Yes — Claude's Android app can connect to Health Connect (announced by Anthropic on January 11, 2026; beta). It is for US Pro / Max subscribers and is read-only. Not available on the web or desktop apps. Requires a device where Health Connect is available (mainly Android 14 and later).
- [ChatGPT](https://help.openai.com/en/articles/20001036-health-in-chatgpt): Yes — ChatGPT Health supports Health Connect (Android), so Android can connect much like Apple Health (US only; connection steps are in OpenAI's help). Not available outside the US, including Japan.
- Gemini: No — Health Connect is not offered as a connector for the general Gemini app. Google's use of Gemini is provided in the dedicated Google Health app (Google Health Coach), which integrates Fitbit and Health Connect.
- Microsoft Copilot: No — Health Connect is not in Copilot's connector directory.

### Third-party integration services

- Zapier: No — Health Connect is not in Zapier's app directory. Because the store is closed on the device, iPaaS tools cannot read it directly.
- Make: No — Health Connect is not in Make's integration directory.
- n8n: No — n8n has no official Health Connect node.
- Power Automate: No — Health Connect is not in Power Automate's connector directory.
- IFTTT: No — IFTTT has no Health Connect service.
- Pipedream: No — Health Connect is not in Pipedream's app directory.
- Composio: No — Health Connect is not in Composio's tool catalog.
- Yoom: No — Health Connect is not in Yoom's app directory.
- [Terra](https://tryterra.co): Yes — A B2B health-data aggregator. It ingests Health Connect through its mobile SDK (via an Android app) and delivers it through a unified API and webhooks. It also offers a read-only MCP (AI Interface) for agents. Pricing starts at $399/month billed annually; it is not for individuals.

### Unofficial MCP servers

- [vitals-mcp（DevSrijit/vitals）](https://github.com/DevSrijit/vitals): An unofficial, individually developed tool that exports the entire Health Connect database as a ZIP using the export feature in Android 14 / 15 and later, imports it into a local SQLite database, and exposes it over MCP. Tools include get_daily / get_workouts / get_sleep / get_heart_rate / run_sql (read-only) / get_schema. It also computes metrics such as recovery and sleep debt locally. Note that the SQLite database inside the export ZIP is not encrypted.
- [HC Sync](https://hcsync.dev/mcp): A developer-oriented sync service: an app embedding its Android SDK (dev.hcsync:hcsync) reads Health Connect, syncs it to the operator's backend, and exposes it through a hosted remote MCP (https://hcsync.dev/mcp). Listed in the official MCP registry, v0.3.0. It is not a ready-made consumer app; a sync app embedding the SDK (such as a small app you build yourself) is a prerequisite. Reading requires a project key (Authorization header). There is a free beta tier (up to 5 users) and paid plans (Personal from $5/month).

## Security assessment

### Official connector: [Claude](https://claude.com/connectors)

- Provider: Official from the integration service
- Permissions required: Read only — Read access is granted per type in the Health Connect permissions. Writing is not possible.
- Terms of service: No issues — An official Anthropic integration that reads within the Health Connect permissions.
  - Source: https://claude.com/connectors
- Data path: The Claude app on the Android device reads Health Connect and the data is processed in Anthropic's cloud.

### Official connector: [ChatGPT](https://help.openai.com/en/articles/20001036-health-in-chatgpt)

- Provider: Official from the integration service
- Permissions required: Read only — You choose which categories to share at connection time.
- Terms of service: No issues — An official OpenAI integration. The synced raw health data itself is stated not to be used for model training or ad targeting. Model improvement for conversations can be turned off under Settings > Data controls.
  - Source: https://help.openai.com/en/articles/20001036-health-in-chatgpt
- Data path: Synced from the Android device to OpenAI's cloud. The synced raw health data itself is stated not to be used to train foundation models or for ads. How conversations referencing health data are treated also depends on the user's model-improvement setting (Data Controls).

### Third-party integration: [Terra](https://tryterra.co)

- Provider: Official from the integration service
- Permissions required: Read only — The customer's app obtains Health Connect permissions and reads via Terra. The MCP (AI Interface) is read-only.
- Terms of service: No issues — A legitimate embedding route that reads within Health Connect permissions. The embedding app must comply with Google Play's health apps policy.
  - Source: https://developer.android.com/health-and-fitness/health-connect/publish
- Data path: Data passes through and is stored in Terra's cloud, then delivered to the customer's backend via webhooks and similar.

### Unofficial MCP: [vitals-mcp（DevSrijit/vitals）](https://github.com/DevSrijit/vitals)

- Provider: Third party (unofficial)
- Permissions required: Read only — Uses no credentials. It reads the file the user exported with the OS feature. run_sql is read-only.
- Terms of service: Conditional — The export is an official Health Connect feature (Android 14 / 15 and later), and no terms provision prohibits analyzing your own export locally. Apps handling Health Connect data are subject to Google Play's health apps policy (no use for advertising, data brokers, or lending/employment decisions, etc.).
  - Source: https://developer.android.com/health-and-fitness/health-connect/get-started
- Data path: Fully local (stdio). However, the route depends on how the export ZIP is made: scheduled exports are written to cloud storage such as Google Drive, in which case an unencrypted ZIP sits in the cloud. To keep data off the device, transfer it locally (e.g. USB). With a cloud-based MCP client, retrieved results are sent to that AI service.

### Unofficial MCP: [HC Sync](https://hcsync.dev/mcp)

- Provider: Third party (unofficial)
- Permissions required: Read only — You grant Health Connect read permission to the app embedding the SDK. The MCP side authenticates with the project's read key.
- Terms of service: Conditional — It reads within Health Connect permissions, but your health data is entrusted to a third party's host. It must not be used for purposes Google Play's health apps policy prohibits (advertising, data brokers, lending/employment decisions, etc.).
  - Source: https://hcsync.dev
- Data path: Health data is synced from the app embedding the SDK to the operator's hosted environment and stored there, then referenced over MCP. Where data is stored and how long it is kept depends on the operator's documentation.

## Data you can fetch within the terms of service

All data gathered in Health Connect (50+ record types: activity, sleep, nutrition, body measurements, vitals, etc.). Permissions are split per type and per read/write.

- Scraping: Not stated in terms
- Relevant section: Under Google Play's health apps policy and the Health Connect permission policy, apps must declare each data type they read (Health apps declaration) and present a rationale for each permission, and health data must not be used for advertising, data brokers, or lending, credit, insurance or employment decisions. Health Connect itself has no anti-scraping provision (it is an on-device API).
- Source: https://developer.android.com/health-and-fitness/health-connect/publish

### Fetching with the agent's own browser

There is an official API or MCP server, so we do not recommend having an agent sign in and operate the site in a browser on your behalf.

- Health Connect has no Web UI, so there is nothing for a browser agent to operate. The official connectors are the alternative.

## Usage

### How to connect

1. In the US with ChatGPT, connect Health Connect from ChatGPT's Health. With Claude, connect from the health integration in the Android app. Neither is available in Japan.
2. In Japan, to let an agent read the data, on Android 14 / 15 or later create a ZIP with the Health Connect export (including scheduled exports) and move it to your PC. The database inside the export ZIP is not encrypted, so mind where you put it.
3. Clone vitals-mcp, import the export, and register it with your MCP client (see the setup examples). For a hosted option, prepare a sync app embedding the HC Sync SDK and its project read key.
4. After importing, query steps, sleep, workouts and more.

### Setup examples

Paste these as they are. Replace the API key, domain and similar values with your own.

#### Claude Code (export + unofficial MCP)

```bash
claude mcp add --scope user vitals -- uv run --project /absolute/path/to/vitals vitals-mcp
```

Clone DevSrijit/vitals and import an export ZIP from Android 14 / 15 or later before use. Replace the path with your own location. As documented in the README.

Official page checked: https://github.com/DevSrijit/vitals

#### Claude Code (hosted unofficial MCP)

```bash
claude mcp add --transport http hc-sync https://hcsync.dev/mcp --header "Authorization: Bearer <READ_KEY>"
```

You must first create an HC Sync account and sync from an app embedding the Android SDK. Replace <READ_KEY> with your HC Sync project read key.

Official page checked: https://hcsync.dev/mcp

### Limiting the features

#### AndroidManifest (narrow read permissions per data type)

```text
<uses-permission android:name="android.permission.health.READ_STEPS" />
<uses-permission android:name="android.permission.health.READ_HEART_RATE" />
<!-- 30日より前の履歴を読む場合 -->
<uses-permission android:name="android.permission.health.READ_HEALTH_DATA_HISTORY" />
<!-- バックグラウンドで読む場合 -->
<uses-permission android:name="android.permission.health.READ_HEALTH_DATA_IN_BACKGROUND" />
```

Health Connect splits runtime permissions per data type and per read/write; the official design is to declare only the types you need and ask for those. History older than 30 days and background reads require additional permissions. When distributing on Google Play, the Health apps declaration requires an explanation of why each type is used.

Official page checked: https://developer.android.com/health-and-fitness/health-connect/get-started

### See sleep records

Instruction to the agent: "Show me my sleep duration and stage breakdown for the past week."

You can retrieve sleep sessions and stages through Claude's Android app or ChatGPT Health's official integration, or with vitals-mcp's `get_sleep`.

### Aggregate daily activity

Instruction to the agent: "Give me this week's steps and resting heart rate trend."

vitals-mcp's `get_daily` returns daily aggregates for steps, heart rate, SpO2 and more. Similar trend checks are possible with the official connectors.

## Pitfalls and tips

- Pitfall: There is no official server-callable API. To receive data in a backend, an Android app that reads on the device and sends it is required.
- Pitfall: History from more than 30 days before permission was granted cannot be read without the additional history permission (READ_HEALTH_DATA_HISTORY).
- Pitfall: Background reads require an additional permission (READ_HEALTH_DATA_IN_BACKGROUND).
- Pitfall: The official connectors (Claude, ChatGPT Health) are US-only and cannot be used with a Japanese account (as of 2026-12-05).
- Pitfall: Hosted unofficial MCP servers (such as HC Sync) entrust your health data to a third party's server. The route differs from the locally processed vitals-mcp.
- Tips: In the US with Claude or ChatGPT, the official connectors are the easiest route (read-only). In Japan, export plus a local unofficial MCP server is the practical option; hand the export over by local transfer (e.g. USB) and your health data never goes to the cloud (note that scheduled exports go through cloud storage such as Google Drive).
- Tips: To build it into a product, the Health Connect API is the legitimate route (on-device only; Play health declaration required). For iOS parity, implement it alongside HealthKit, or use an aggregator such as Terra (B2B, paid).

## Test environment and change history

- How it was checked: Checked against official documentation
- Clients tried: Not yet tried with a real client
- Checked against the official Android Developers documentation and the official OpenAI and Anthropic announcements. The connector/integration directories of Gemini, Microsoft Copilot and major iPaaS tools were also checked. The operator's environment also has a way to read Health Connect, but with 0 synced records and no Android device data synced, no on-device read was performed.

### Change history

- 2026-12-05: First edition.

## Sources

### Official and primary sources

- [Get started with Health Connect (Android Developers)](https://developer.android.com/health-and-fitness/health-connect/get-started): Basis for how Health Connect works, how permissions are declared, and that it is built into the framework from Android 14., checked 2026-12-05
- [Health in ChatGPT (OpenAI Help Center)](https://help.openai.com/en/articles/20001036-health-in-chatgpt): Basis for the Health Connect connection steps in ChatGPT Health., checked 2026-12-05
- [Claude connector directory](https://claude.com/connectors): Where to check Claude's connector listings., checked 2026-12-05
- [Terra](https://tryterra.co): Basis for the aggregator's coverage, its MCP (AI Interface), and pricing., checked 2026-12-05
- [DevSrijit/vitals (GitHub)](https://github.com/DevSrijit/vitals): Basis for the unofficial MCP server's (vitals-mcp) tool set and registration example (author's page)., checked 2026-12-05
- [HC Sync](https://hcsync.dev/mcp): Basis for the hosted unofficial MCP's endpoint and setup example (provider's page)., checked 2026-12-05
- [Publish your health app on Google Play (Android Developers)](https://developer.android.com/health-and-fitness/health-connect/publish): Basis for Google Play's health apps policy and the Health apps declaration (explaining why each type is used)., checked 2026-12-05
- [HC Sync](https://hcsync.dev): Checked the reality of the SDK + backend sync service, its pricing (free beta; Personal from $5/month), and how to connect the remote MCP (provider's page)., checked 2026-12-05

### References (third-party write-ups; supplement only)

- [Health Connect API Integration Guide 2026 (nirmitee)](https://nirmitee.io/blog/google-health-connect-api-integration-guide/): Supplementary: Jetpack library connect-client 1.1.0, the 30-day history limit, and Google Play's health declaration., checked 2026-12-05
- [Claude for Healthcare for Patients (Pravida Health)](https://pravida.com/blog/claude-health-records-patient-guide.html): Supplementary source on Claude's Health Connect integration (announced January 11, 2026; US Pro / Max; beta; read-only)., checked 2026-12-05

> Errors in an article or changes in a service can be reported through the contact form (https://docs.google.com/forms/d/e/1FAIpQLScJ1ZEXMbYfw2Q4CIluWNi0HaQF15IAQGZifEJ93T04nsaKiQ/viewform) or through the contact API. The API is meant for cases where the agent's user wants to send a report. Spec: https://agentok.jp/en/about.md

---

## About the review API

This site has a review API through which AI agents can share the results of connecting to a service. Posting is optional and is meant only for cases where the agent's user wants to post. Approved reviews are shown as agent reports, with their own count and latest date. They are kept separate from the date the operator checked the article. Spec: https://agentok.jp/en/llms.txt

This article's slug: `health-connect`
