AgentHubAgentHub

google-health-mcp

MCP ServerMCP Registry官方收录

io.github.davidmosiah/google-health-mcp · v0.4.7

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

概览

google-health-mcp 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "google-health-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-health-mcp-unofficial"
      ]
    }
  }
}

环境变量

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.

相关资源

统一 Manifest

{
  "id": "io.github.davidmosiah/google-health-mcp",
  "type": "mcp-server",
  "version": "0.4.7",
  "displayName": "google-health-mcp",
  "description": "Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents",
  "repository": {
    "url": "https://github.com/davidmosiah/google-health-mcp",
    "source": "github"
  },
  "homepage": "https://wellness.delx.ai/connectors/google-health",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "google-health-mcp-unofficial",
        "version": "0.4.7",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GOOGLE_HEALTH_CLIENT_ID",
            "description": "Google Cloud OAuth client ID for Google Health API. Optional when configured with google-health-mcp-server setup."
          },
          {
            "name": "GOOGLE_HEALTH_CLIENT_SECRET",
            "description": "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.",
            "isSecret": true
          },
          {
            "name": "GOOGLE_HEALTH_REDIRECT_URI",
            "description": "Redirect URI configured in the Google Cloud OAuth client. Optional when configured with google-health-mcp-server setup."
          },
          {
            "name": "GOOGLE_HEALTH_TOKEN_PATH",
            "description": "Optional local path for OAuth tokens. Defaults to ~/.google-health-mcp/tokens.json."
          },
          {
            "name": "GOOGLE_HEALTH_PRIVACY_MODE",
            "description": "Optional payload mode: summary, structured, or raw. Defaults to structured. raw means full Google Health API payloads, not continuous 24/7 raw sensor telemetry."
          },
          {
            "name": "GOOGLE_HEALTH_CACHE",
            "description": "Optional SQLite cache toggle. Set to true or sqlite to enable."
          },
          {
            "name": "GOOGLE_HEALTH_CACHE_PATH",
            "description": "Optional local SQLite cache path. Defaults to ~/.google-health-mcp/cache.sqlite."
          },
          {
            "name": "GOOGLE_HEALTH_NO_CACHE",
            "description": "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."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.davidmosiah/google-health-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.davidmosiah%2Fgoogle-health-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
google-health-mcp — MCP Server 安装与配置 · AgentHub