SuperAPI AI Directory

google-health-mcp

Local-first access to the Google Health API for Fitbit and Pixel Watch activity, sleep, heart, nutrition and reconciled health data.

Open website

About this tool

Purpose: This is a local-first MCP server that lets AI agents access user-authorized Google Health API v4 data (Fitbit, Pixel Watch, and partners) via OAuth, and can connect to MCP clients such as Claude, Cursor, ChatGPT, and Hermes. Google Health API is the successor to the Fitbit Web API, providing new OAuth, a new base URL, v4 endpoint structure, and standardized data types.

Main capabilities: Provides tools such as connection status, data inventory, data type coverage, daily summaries, weekly summaries, and privacy audit; supports stdio (default) and optional Streamable HTTP (loopback only, no session ID, JSON responses). HTTP transport can be configured via GOOGLE_HEALTH_MCP_HOST, GOOGLE_HEALTH_MCP_PORT, GOOGLE_HEALTH_MCP_TRANSPORT=http.

Usage: First create a Google Cloud OAuth client, enable the Google Health API, and add the callback http://127.0.0.1:3000/callback。安装命令:npx -y google-health-mcp-unofficial setup; or use the Delx Wellness for Hermes one-click install: npx -y delx-wellness-hermes setup. Since 0.7.3, headless OAuth (auth --manual) is supported for SSH/containers/WSL.

Privacy: Tokens are stored in ~/.google-health-mcp/tokens.json (0600 permissions), and secrets can be placed in config.json or GOOGLE_HEALTH_* environment variables. The default privacy mode is structured; tools do not return access tokens, refresh tokens, or client secrets; raw mode requires explicit explicit_user_intent=true, and if GOOGLE_HEALTH_PRIVACY_MODE=raw is set locally, no per-call intent is required. structured mode removes identity, location, and secret-type fields, and summary is never more permissive than structured.

Use cases: Individuals viewing and summarizing their own fitness, sleep, heart, and nutrition data locally, or providing read-only health data access for MCP agents.

Limitations: The project is in early beta, and Google release notes show that scopes and data types are still changing; it is an unofficial project, not affiliated with Google, Fitbit, or Alphabet, is not a medical device, and does not provide medical advice. The location key list is a forward-looking safeguard; Google Health API v4 currently does not document location/route data types and has not been verified against real upstream data. Date summaries use valid YYYY-MM-DD ranges, while generic summaries preserve timezone-aware ISO times; invalid or reversed ranges fail before HTTP. The authorization model is based on a single local user and a single trusted MCP host; callers that can access the same process share the tool catalog and local OAuth authorization. Other billing, pricing, and full feature details are not yet provided.