Google Health MCP logo

Google Health MCP

Syncs Google Health data into SQLite for offline queries, detailed health metrics, device data, and trend analysis.

Install Google Health MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "google-health-mcp-2": {
      "command": "uvx",
      "args": [
        "google-health-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

google-health-mcp connects MCP clients to the Google Health API and keeps synchronized records in a local SQLite cache. It provides tools for activity, exercise, sleep, heart rate, ECG, oxygen, temperature, weight, profile, device, and other health data, plus aggregates and period comparisons. Most queries read cached data and can optionally refresh a date range from Google; health_sync supports incremental syncs and targeted backfills. Reach for it when an agent needs local, repeatable access to Google Health history rather than making every query directly against the API.

Use cases

  • Sync Google Health history into a local SQLite cache
  • Query daily activity and biometric records offline
  • Analyze weekly, monthly, or quarterly health trends
  • Inspect ECG traces and GPS exercise routes on demand
  • Monitor paired-device battery and synchronization status

Key features

  • Incremental and date-range Google Health synchronization
  • Local SQLite cache for offline queries
  • Health metrics across activity, sleep, exercise, and biometrics
  • Trend aggregation and two-period comparisons
  • Optional ECG waveform and exercise-route retrieval
  • Offline diagnostic checks with JSON output

Tools24

What Google Health MCP lets your agent do. Expand a tool for its parameters.

Verified live~7.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 24 tools this server returned when we ran it.

Makes network requests · 20Read-only tools · 24
Network at startup2 connections
Files written at startupNone

Observed 2026-11-01 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4h ago via OSV.dev · google-health-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Tools exposed24Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Google Health MCP works

What google-health-mcp does

google-health-mcp exposes Google Health data through MCP and stores synchronized records in SQLite on the local machine. The cache supports fast queries and offline use after data has been fetched. Available data includes daily activity, workouts, exercise routes, sleep and sleep sessions, resting heart rate, HRV, AZM, breathing rate, cardio fitness, SpO2, skin and core temperature, weight, height, food and water logs, ECG readings, irregular-rhythm notifications, paired devices, profile records, and lifetime statistics.

The server also calculates weekly, monthly, or quarterly health aggregates. Comparisons can be made between two periods, such as the last 30 days and the preceding 30 days. Lifetime totals include a coverage range so consumers can distinguish cached history from a complete account history.

How it works

Run health_sync before using cache-backed tools. The first sync fetches a selected number of days, while later runs resume from the newest entry in each table and request only newer records. The since and until arguments support backfilling or repairing a specific historical interval, with results upserted into the cache.

Most health_get_* tools read SQLite by default and accept live=true when a date window should be fetched again from Google. Trend analysis works from cached data and can automatically sync when its data is stale. Device information is live-only and is not cached.

Large responses can be requested selectively. Exercise routes return TCX content only when requested, ECG waveforms require include_waveform, and detailed exercise or sleep-session segments require their corresponding inclusion flags.

Setup and configuration

Use Python 3.13 or newer on Linux, macOS, or Windows. Install the package with:

Terminal
pip install google-health-mcp

Alternatively, run it through uvx google-health-mcp without installing it globally.

Operation requires a Google account containing health data and a Google Cloud project. Enable the Google Health API, configure an OAuth consent screen for an external audience, add the account as a test user, grant the read-only Google Health scopes, and create a Desktop OAuth client. Save the downloaded client file as ~/.config/google-health-mcp/google_client.json, then run google-health-mcp auth.

Authentication uses a browser callback on localhost:8081 and stores tokens at ~/.config/google-health-mcp/google_tokens.json. Register the stdio process with an MCP client, for example:

Terminal
claude mcp add -s user google-health -- google-health-mcp

Run google-health-mcp doctor to check credential paths, token status, permissions, cache freshness, browser availability, and port availability. The command is offline and read-only; doctor --json emits machine-readable findings on standard output.

Tools and capabilities

  • Synchronize selected health data types incrementally or over an explicit date range.
  • Query daily activity, heart rate, exercise, sleep, sleep sessions, weight, height, food, and water records.
  • Retrieve nightly HRV, SpO2, breathing rate, skin temperature, AZM, and cardio-fitness readings.
  • Inspect ECG classifications and optionally retrieve waveform samples.
  • Retrieve GPS exercise routes as Google-exported TCX text.
  • List paired devices with battery and last-sync information.
  • Read profile, settings, irregular-rhythm enrollment, notifications, and lifetime statistics.
  • Calculate time-based aggregates and compare two periods.

Limitations and notes

Results are limited to data that has been synchronized, and sparse metrics appear only when Google or a connected device supplied readings. Food and water records depend on manual logging. Sleep, HRV, and SpO2 generally require on-wrist sleep tracking.

Google API quota applies to live requests. In particular, health_get_activity and similar live date-range queries can make one API call per day, with a stated limit of 150 requests per hour. Prefer synchronization and cache reads for broad history.

Some values have distinct meanings that should not be combined: AZM is intensity-based, while activity active minutes are wall-clock minutes; skin temperature is relative to a personal baseline, while core temperature is manually logged and absolute; cardio-fitness ranges and single-value readings are separate measurements. ECG and irregular-rhythm results are not interchangeable, and an irregular-rhythm notification is not a diagnosis.

If the OAuth app remains in testing, Google refresh tokens expire seven days after consent. Publishing the app does not extend an already issued token, so authorization must be repeated after publishing.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Google Health MCP

google-health-mcp is an MCP server that connects AI clients to the Google Health API and a local SQLite cache. Its main tools synchronize health records, query activity, exercise, sleep, heart rate, ECG, weight, and other metrics, and calculate trends or period comparisons. Cached data can be queried offline after synchronization.

Install it with `pip install google-health-mcp`, or run it without a global installation through `uvx google-health-mcp`. You also need Python 3.13 or newer, a Google Cloud project with the Google Health API enabled, and an OAuth Desktop client.

Create a Google Health OAuth Desktop client, save its JSON as `~/.config/google-health-mcp/google_client.json`, and run `google-health-mcp auth`. The authorization flow uses `localhost:8081` for its browser callback and saves tokens in `~/.config/google-health-mcp/google_tokens.json`.

Yes, google-health-mcp is designed for Claude Code and other MCP clients. Register the stdio server with `claude mcp add -s user google-health -- google-health-mcp`, or replace the executable with `uvx google-health-mcp`.

Run `health_sync` first, then call the relevant `health_get_*` tool. Most query tools read the local SQLite cache by default and accept `live=true` to refresh a requested date range from Google. Use `health_trends` for aggregates and period comparisons.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGoogle Health MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/google-health-mcp-2?style=directory)](https://allmcps.com/mcp/google-health-mcp-2)
HTML Embed
<a href="https://allmcps.com/mcp/google-health-mcp-2"><img src="https://allmcps.com/api/badge/google-health-mcp-2?style=directory" alt="Google Health MCP on AllMCPs" /></a>