Privacy-first Google Health API MCP server for health, sleep, activity and HR agents
registry version 1.0.2
npm
npx -y google-health-fitbit-mcpnpm
npx -y google-health-fitbit-mcp@1.0.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-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp@1.0.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-fitbit-mcp -- npx -y google-health-fitbit-mcp
claude mcp add --env GOOGLE_HEALTH_CLIENT_SECRET=<YOUR_GOOGLE_HEALTH_CLIENT_SECRET> google-health-fitbit-mcp -- npx -y google-health-fitbit-mcp@1.0.2
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp@1.0.2"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"servers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp@1.0.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-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp"
],
"env": {
"GOOGLE_HEALTH_CLIENT_SECRET": "<YOUR_GOOGLE_HEALTH_CLIENT_SECRET>"
}
}
}
}{
"mcpServers": {
"google-health-fitbit-mcp": {
"command": "npx",
"args": [
"-y",
"google-health-fitbit-mcp@1.0.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-fitbit-mcp-server setup.GOOGLE_HEALTH_CLIENT_SECRET secret — Google Cloud OAuth client secret. Prefer google-health-fitbit-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-fitbit-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.⭐ 18 stars · 最近更新于 107 天前 · MIT license
Distributed as npm, listed under Health & Medical. Review our MCP security guide before granting access to real data.
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/BerkKilicoglu/google-health-fitbit-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-fitbit-mcp/)
HTML
<a href="https://mcpnav.net/server/google-health-fitbit-mcp/"><img src="https://mcpnav.net/badge/google-health-fitbit-mcp.svg" alt="Listed on MCPNav" height="20"></a>