mcp-google-health

v0.0.2
mcp-google-health Checked 3 days ago Published 24 days ago

Google Health API tools for MCP clients

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

list_data_types

List every Google Health data type with its kind, scope family, supported operations, and whether it needs v4beta.

describe_schema

Show the JSON schema of a data type payload (such as weight or sleep) or an API schema (such as Profile, Settings, PairedDevice, DataPoint).

ParameterTypeDescription
name *stringData type slug or schema name.

get_identity

Get the user's Google Health identity and numeric health user ID.

get_profile

Get the user's health profile: age, stride lengths, membership start.

get_settings

Get the user's settings, such as units and time zone.

get_irn_profile

Get the user's irregular rhythm notification (IRN) enrollment profile.

update_profile

Update profile fields. Name each changed field in updateMask.

ParameterTypeDescription
profile *objectProfile fields. See describe_schema Profile.
updateMask *stringComma-separated field paths to change.

update_settings

Update settings fields. Name each changed field in updateMask.

ParameterTypeDescription
settings *objectSettings fields. See describe_schema Settings.
updateMask *stringComma-separated field paths to change.

list_paired_devices

List the user's paired devices with battery level, battery status, firmware version, features, and last sync time.

ParameterTypeDescription
pageSizeinteger
pageTokenstringnextPageToken from the previous response.

get_paired_device

Get one paired device.

ParameterTypeDescription
deviceId *stringA resource ID without slashes. Not . or ..

list_data_points

List raw data points of one data type, newest first. Filter with AIP-160 on the type's time field, for example steps.interval.civil_start_time >= "2026-11-01", weight.sample_time.physical_time >= "2026-11-01T00:00:00Z", daily_resting_heart_rate.date >= "2026-11-01", or sleep.interval.civil_end_time >= "2026-11-01". Use snake case in filters.

ParameterTypeDescription
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.
dataSourceFamilystringData sources: all-sources (default), google-wearables (Fitbit and Pixel devices only), google-sources (Google devices, manual logs, Health Connect), or self-sources (data this client wrote).
filterstringAIP-160 filter on the data type's time field, in snake case.
pageSizeinteger
pageTokenstringnextPageToken from the previous response.

get_data_point

Get one identifiable data point, such as an exercise, sleep session, weight, or log entry.

ParameterTypeDescription
dataPointId *stringA resource ID without slashes. Not . or ..
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.

reconcile_data_points

List data points merged across sources into one de-duplicated stream, as the Google Health app shows them. Takes the same filters as list_data_points. Use this for sleep across sources.

ParameterTypeDescription
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.
dataSourceFamilystringData sources: all-sources (default), google-wearables (Fitbit and Pixel devices only), google-sources (Google devices, manual logs, Health Connect), or self-sources (data this client wrote).
filterstringAIP-160 filter on the data type's time field, in snake case.
pageSizeinteger
pageTokenstringnextPageToken from the previous response.

roll_up_data_points

Aggregate a data type into fixed physical-time windows, such as hourly steps or 5-minute heart rate. Range is closed-open; at most 14 days for heart-rate, active-minutes, total-calories, and calories-in-heart-rate-zone, 90 days otherwise.

ParameterTypeDescription
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
endTime *stringRFC 3339 timestamp.
startTime *stringRFC 3339 timestamp.
windowSize *stringWindow length in seconds with an s suffix, such as 3600s.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.
dataSourceFamilystringData sources: all-sources (default), google-wearables (Fitbit and Pixel devices only), google-sources (Google devices, manual logs, Health Connect), or self-sources (data this client wrote).
pageSizeinteger
pageTokenstringnextPageToken from the previous response.

daily_roll_up_data_points

Aggregate a data type into civil-day windows in the user's time zone, such as daily steps or calories. endDate is exclusive. At most 14 days for heart-rate, active-minutes, total-calories, and calories-in-heart-rate-zone, 90 days otherwise.

ParameterTypeDescription
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
endDate *stringCivil date in the user's time zone, YYYY-MM-DD.
startDate *stringCivil date in the user's time zone, YYYY-MM-DD.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.
dataSourceFamilystringData sources: all-sources (default), google-wearables (Fitbit and Pixel devices only), google-sources (Google devices, manual logs, Health Connect), or self-sources (data this client wrote).
pageSizeinteger
pageTokenstringnextPageToken from the previous response.
windowSizeDaysintegerDays per window. Default 1.

export_exercise_tcx

Export one exercise as TCX with GPS track, heart rate, and laps. Needs the location scope. Give outputPath to save the file instead of returning the TCX text.

ParameterTypeDescription
exerciseId *stringThe exercise data point ID.
outputPathstringFile path for the TCX file.
partialDatabooleanInclude data points when the exercise has no GPS data.

create_data_point

Write a new data point, such as a weight, body fat, height, sleep, exercise, hydration or nutrition log, mood, symptom, menstrual period, or ovulation test. Needs the matching write scope.

ParameterTypeDescription
dataPoint *objectDataPoint body. Put the payload under the camelCase data type field, such as {"weight": {...}}. Call describe_schema with the data type for its fields.
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.

update_data_point

Replace a data point that this client wrote.

ParameterTypeDescription
dataPoint *objectDataPoint body. Put the payload under the camelCase data type field, such as {"weight": {...}}. Call describe_schema with the data type for its fields.
dataPointId *stringA resource ID without slashes. Not . or ..
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.

delete_data_points

Delete up to 10000 data points of one data type that this client wrote.

ParameterTypeDescription
dataPointIds *array
dataType *stringData type in kebab case, such as steps, sleep, or heart-rate. See list_data_types.
apiVersionstringAPI version. Defaults to v4, or v4beta for beta-only data types.