google-health-mcp

v0.5.2
io.github.davidmosiah/google-health-mcp Checked 1 hour ago Published 4 months ago

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

google_health_data_inventory Google Health Data Inventory

Inventory supported Google Health data types, auth scopes, privacy modes and recommended first calls without calling Google APIs.

ParameterTypeDescription
response_formatstring

google_health_list_data_types List Google Health Data Types

List the canonical kebab-case data_type slugs accepted by the data point, reconcile and rollup tools, with each slug's unit, OAuth scope family, and which endpoint verbs (list/reconcile/rollup) support it. Call this before list_data_points, reconcile_data_points, daily_rollup or rollup to choose a valid data_type instead of guessing a slug. Static metadata; does not call Google APIs.

ParameterTypeDescription
response_formatstring

google_health_data_type_coverage Google Health Data Type Coverage

Build a data-type coverage plan from the official Google Health API data-type table, or run explicit live read-only checks against a real OAuth account. Live mode returns only redacted status and point-count buckets, never raw health payloads.

ParameterTypeDescription
data_source_familystring
data_typesarrayOptional subset of data_type slugs. Omit to validate the full local catalog.
datestring
livebooleanDefault false. When true, calls read-only Google Health endpoints after OAuth setup and returns only redacted coverage status.
response_formatstring

google_health_agent_manifest Google Health Agent Manifest

Machine-readable install, runtime and client guidance for AI agents. Does not call Google Health or expose secrets.

ParameterTypeDescription
clientstring
response_formatstring

google_health_capabilities Google Health MCP Capabilities

Explain supported Google Health data, privacy boundaries, beta status and recommended agent workflow.

ParameterTypeDescription
response_formatstring

google_health_quickstart Google Health Quickstart

Personalized 3-step setup walkthrough for the human user. Adapts to current state (env vars set? token present? what's next?). Call this first when the user asks 'how do I connect Google Health?'

ParameterTypeDescription
response_formatstring

google_health_demo Google Health Demo

Returns realistic Pixel-Watch-style example payloads of google_health_daily_summary, google_health_wellness_context, and google_health_daily_rollup so agents see the contract before calling real Google Health APIs.

ParameterTypeDescription
response_formatstring

google_health_get_auth_url Get Google Health OAuth URL

Generate a Google OAuth authorization URL for Google Health API. Use this first when no local token exists.

ParameterTypeDescription
response_formatstring
scopesarrayOptional scope override. Defaults to read-only Google Health scopes used by this server.
statestringOptional OAuth state value generated by the caller.

google_health_exchange_code Exchange Google Health OAuth Code

Exchange a Google OAuth authorization code for local tokens. Tokens are stored locally with 0600 permissions and are never returned. Gated: requires explicit user intent — agents must not call this autonomously.

ParameterTypeDescription
code *stringOAuth authorization code, or a full redirect URL containing ?code=...
response_formatstring

google_health_get_identity Get Google Health Identity

Get the Google Health identity mapping for the authenticated user. Useful for Fitbit-to-Google migrations.

ParameterTypeDescription
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring

google_health_get_profile Get Google Health Profile

Get authenticated user profile details from Google Health. Requires profile scope.

ParameterTypeDescription
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring

google_health_get_settings Get Google Health Settings

Get authenticated user settings such as units and timezone. Requires settings scope.

ParameterTypeDescription
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring

google_health_list_data_points List Google Health Data Points

Query detailed data points for a Google Health data type. Use kebab-case endpoint data types, e.g. steps, sleep, heart-rate.

ParameterTypeDescription
data_typestringGoogle Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity…
filterstringOptional Google AIP-160 filter expression. Use snake_case field names in filters.
page_sizeinteger
page_tokenstring
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring

google_health_reconcile_data_points Reconcile Google Health Data Points

Read a reconciled stream for one data type across sources. Supports all-sources, google-wearables and google-sources data source families.

ParameterTypeDescription
data_source_familystring
data_typestringGoogle Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity…
filterstringOptional Google AIP-160 filter expression. Use snake_case field names in filters.
page_sizeinteger
page_tokenstring
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring

google_health_daily_rollup Google Health Daily Rollup

Aggregate a data type over civil days using Google Health dailyRollUp. Useful for steps, distance, calories, active minutes, weight and heart summaries.

ParameterTypeDescription
data_source_familystring
data_typestringGoogle Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity…
end_datestringExclusive end date as YYYY-MM-DD. Defaults to the next day.
page_sizeinteger
page_tokenstring
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring
start_datestring
window_size_daysinteger

google_health_rollup Google Health Physical-Time Rollup

Aggregate a data type over physical time intervals using Google Health rollUp.

ParameterTypeDescription
end_time *stringISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z
start_time *stringISO 8601 date-time with timezone, e.g. 2026-05-01T00:00:00Z
data_source_familystring
data_typestringGoogle Health data type in kebab case. Supported slugs (call google_health_list_data_types for units and which verbs each supports): active-energy-burned, active-minutes, active-zone-minutes, activity…
page_sizeinteger
page_tokenstring
privacy_modestringOptional per-call privacy override. Defaults to GOOGLE_HEALTH_PRIVACY_MODE or structured. raw returns upstream Google Health JSON.
response_formatstring
window_sizestringDuration in protobuf seconds format, e.g. 3600s.

google_health_connection_status Google Health Connection Status

Check local Google Health config, token file, Node version, privacy mode, cache readiness and optional MCP client readiness without calling Google APIs or exposing secrets.

ParameterTypeDescription
clientstring
response_formatstring

google_health_cache_status Google Health Cache Status

Show optional local SQLite cache status. Enable with GOOGLE_HEALTH_CACHE=sqlite or GOOGLE_HEALTH_CACHE=true.

ParameterTypeDescription
response_formatstring

google_health_privacy_audit Google Health Privacy Audit

Return local privacy, cache, token-path and env-presence posture without revealing secret values.

ParameterTypeDescription
response_formatstring

google_health_revoke_access Revoke Google Health OAuth Access

Revoke the current Google OAuth grant and delete the local token file. Use only when the user explicitly wants to disconnect Google Health. Gated: requires explicit user intent — agents must not call this autonomously.

ParameterTypeDescription
response_formatstring

google_health_daily_summary Google Health Daily Summary

Build a practical daily summary from Google Health rollups and reconciled streams when available. Read-only, beta, non-medical.

ParameterTypeDescription
datestring
response_formatstring
timezonestringIANA timezone used only for display, e.g. America/New_York.

google_health_weekly_summary Google Health Weekly Review

Build a weekly Google Health scorecard with activity, sleep, heart context and missing-data awareness. Read-only, beta, non-medical.

ParameterTypeDescription
compare_daysintegerPrior comparison window in days. Use 0 to disable comparison.
daysintegerRecent analysis window in days.
response_formatstring
timezonestringIANA timezone used only for display, e.g. America/New_York.

google_health_wellness_context Google Health Wellness Context

Normalize Google Health activity/sleep context into the shared wellness_context shape for recommendation engines.

ParameterTypeDescription
daysintegerLookback window for normalized Google Health wellness context.
injury_flagsarray
notesstring
response_formatstring
sorenessarray
timezonestringIANA timezone used only for display, e.g. America/New_York.

google_health_profile_get Get Delx Wellness Profile

Read the shared Delx Wellness profile from ~/.delx-wellness/profile.json. Returns preferred name, goals, devices, training/nutrition/exercise/agent preferences and safety flags. NEVER contains OAuth tokens or API secrets. Read-only.

ParameterTypeDescription
response_formatstring

google_health_profile_update Update Delx Wellness Profile

Persist a partial patch to ~/.delx-wellness/profile.json. Requires explicit_user_intent=true (otherwise returns USER_ACTION_REQUIRED). Rejects secret-like fields (oauth, token, secret, password, cookie, refresh, api_key, session) at write time. Use to record preferred name, goals, devices, training context, nutrition context, exercise preferences, agent preferences, and safety flags.

ParameterTypeDescription
patch *objectPartial WellnessProfileDocument patch. Top-level keys: profile, goals, devices, training, nutrition, preferences, safety, notes.
explicit_user_intentbooleanMust be true to persist. Prevents accidental writes from agent inference.
response_formatstring

google_health_onboarding Delx Wellness Onboarding Flow

Return the 11-question onboarding flow plus the current profile state and missing fields. Read-only — does NOT persist anything. Pair with google_health_profile_update once the user answers. Cross-connector: the same profile is shared by every Delx Wellness MCP (whoop, garmin, oura, fitbit, strava, polar, withings, apple-health, samsung-health, google-health, nourish, cycle-coach, cgm, air).

ParameterTypeDescription
localestringOnboarding locale. Defaults to en.
response_formatstring