Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
registry version 0.5.2
npm
npx -y google-health-mcp-unofficialnpm
npx -y google-health-mcp-unofficial@0.5.2
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial@0.5.2"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env GOOGLE_HEALTH_CLIENT_SECRET=<YOUR_GOOGLE_HEALTH_CLIENT_SECRET> google-health-mcp -- npx -y google-health-mcp-unofficial
claude mcp add --env GOOGLE_HEALTH_CLIENT_SECRET=<YOUR_GOOGLE_HEALTH_CLIENT_SECRET> google-health-mcp -- npx -y google-health-mcp-unofficial@0.5.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial@0.5.2"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"servers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial@0.5.2"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-mcp-unofficial@0.5.2"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
GOOGLE_HEALTH_CLIENT_ID — Google Cloud OAuth client ID for Google Health API. Optional when configured with google-health-mcp-server setup.GOOGLE_HEALTH_CLIENT_SECRET secret — Google Cloud OAuth client secret. Prefer google-health-mcp-server setup so this secret is stored in ~/.google-health-mcp/config.json instead of MCP client config.GOOGLE_HEALTH_REDIRECT_URI — Redirect URI configured in the Google Cloud OAuth client. Optional when configured with google-health-mcp-server setup.GOOGLE_HEALTH_TOKEN_PATH — Optional local path for OAuth tokens. Defaults to ~/.google-health-mcp/tokens.json.GOOGLE_HEALTH_PRIVACY_MODE — Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Google Health API payloads, not continuous 24/7 raw sensor telemetry.GOOGLE_HEALTH_CACHE — Optional SQLite cache toggle. Set to true or sqlite to enable.GOOGLE_HEALTH_CACHE_PATH — Optional local SQLite cache path. Defaults to ~/.google-health-mcp/cache.sqlite.GOOGLE_HEALTH_NO_CACHE — Set to true to bypass the in-memory HTTP response cache (60s TTL for GET only). POST/PUT/DELETE and 4xx/5xx responses are never cached regardless.⭐ 66 stars · 最近更新于 34 天前 · MIT license
Google Health MCP / Read user authorized Google Health API v4 data — Fitbit, Pixel Watch and partner…
Summary from the project README — github.com/davidmosiah/google-health-mcp
Distributed as npm, listed under Health & Medical. Review our MCP security guide before granting access to real data.
Google Health MCP / Read user authorized Google Health API v4 data — Fitbit, Pixel Watch and partner
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/davidmosiah/google-health-mcp. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/google-health-mcp/)
HTML
<a href="https://mcpnav.net/server/google-health-mcp/"><img src="https://mcpnav.net/badge/google-health-mcp.svg" alt="Listed on MCPNav" height="20"></a>