Ask your AI

Copy this and paste it into ChatGPT, Claude or another assistant to get an answer based on this site.

How do I connect Health Connect to an AI agent? Please use this URL as a reference:
https://agentok.jp/en/services/health-connect.md
Health & Fitness

How to connect Health Connect to AI agents

TL;DR

The short answer
VerdictOfficial, individuals OK Individuals can connect through an official route (MCP, connector or API) without a business contract or review
Who can use itIn 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).
MethodOfficial connector
PricingHealth 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.
RiskPermissions 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.

AuthenticationAndroid 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 operator2026.12.05
How the operator checkedChecked against official documentation

For AI agents: Markdown ・ JSON

Official MCP and AI guides

Official MCP serverNo

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 agentsNo

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

    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

    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.

Not supported: Gemini, Microsoft Copilot

Third-party integration services

  • Terra

    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.

Not supported: Zapier, Make, n8n, Power Automate, IFTTT, Pipedream, Composio, Yoom

Unofficial MCP servers

Published by someone other than the provider. The provider does not guarantee how they work or how safe they are.

  • vitals-mcp(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

    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

For each available connection method: who provides it, the permissions it requires, how the terms treat it, and the data path. Items we could not confirm are marked Unverified.

Official connectorClaudeOfficial from the integration service
Permissions requiredRead only

Read access is granted per type in the Health Connect permissions. Writing is not possible.

Terms of serviceNo issues

An official Anthropic integration that reads within the Health Connect permissions.

Source: relevant section of the terms

Data pathThe Claude app on the Android device reads Health Connect and the data is processed in Anthropic's cloud.
Official connectorChatGPTOfficial from the integration service
Permissions requiredRead only

You choose which categories to share at connection time.

Terms of serviceNo 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: relevant section of the terms

Data pathSynced 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 integrationTerraOfficial from the integration service
Permissions requiredRead only

The customer's app obtains Health Connect permissions and reads via Terra. The MCP (AI Interface) is read-only.

Terms of serviceNo issues

A legitimate embedding route that reads within Health Connect permissions. The embedding app must comply with Google Play's health apps policy.

Source: relevant section of the terms

Data pathData passes through and is stored in Terra's cloud, then delivered to the customer's backend via webhooks and similar.
Unofficial MCPvitals-mcp(DevSrijit/vitals)Third party (unofficial)
Permissions requiredRead only

Uses no credentials. It reads the file the user exported with the OS feature. run_sql is read-only.

Terms of serviceConditional

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: relevant section of the terms

Data pathFully 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 MCPHC SyncThird party (unofficial)
Permissions requiredRead 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 serviceConditional

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: relevant section of the terms

Data pathHealth 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.

ScrapingNot stated in terms

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: relevant section of the terms of service

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)
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)
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)
<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

Pitfalls

  • 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.
  • History from more than 30 days before permission was granted cannot be read without the additional history permission (READ_HEALTH_DATA_HISTORY).
  • Background reads require an additional permission (READ_HEALTH_DATA_IN_BACKGROUND).
  • The official connectors (Claude, ChatGPT Health) are US-only and cannot be used with a Japanese account (as of 2026-12-05).
  • 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).
  • 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 checkedChecked against official documentation
Clients triedNot 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

  • First edition.

Sources

Official and primary sources

Pages published by the service provider, the integration provider or the MCP author about their own product.

  • Get started with Health Connect (Android Developers)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)Basis for the Health Connect connection steps in ChatGPT Health., checked 2026.12.05
  • Claude connector directoryWhere to check Claude's connector listings., checked 2026.12.05
  • TerraBasis for the aggregator's coverage, its MCP (AI Interface), and pricing., checked 2026.12.05
  • DevSrijit/vitals (GitHub)Basis for the unofficial MCP server's (vitals-mcp) tool set and registration example (author's page)., checked 2026.12.05
  • HC SyncBasis 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)Basis for Google Play's health apps policy and the Health apps declaration (explaining why each type is used)., checked 2026.12.05
  • HC SyncChecked 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)

Third-party blogs and roundups. We use them only to supplement facts confirmed in official sources.

Related articles

How to connect Apple Health (HealthKit) to AI agents

Official, individuals OK

How to connect Hevy to AI agents

Official, individuals OK

How to connect Withings to AI agents

Official, individuals OK

How to connect Spotify to AI agents

Official, individuals OK