VOOZH about

URL: https://glama.ai/mcp/servers/davidmosiah/google-health-mcp?locale=ja-JP

⇱ Google Health MCP by davidmosiah | Glama


Delx Wellness for Hermes を使用したワンコマンドインストール: npx -y delx-wellness-hermes setup — このコネクタと他の8つのコネクタを専用のHermesプロファイルに事前設定します。

または、Claude Desktop / Cursor / ChatGPT Desktopにスタンドアロンで組み込むことも可能です(以下のインストールセクションを参照)。


新しいGoogle Health API v4のための、非公式かつローカルファーストなMCPサーバーです。

Claude、Cursor、Hermes、OpenClawなどのMCPクライアントが、GoogleのOAuth 2.0フローを通じて、Fitbit、Pixel Watch、およびサポートされているサードパーティソースからユーザーが許可したGoogle Healthデータを読み取れるようにします。

ベータ版ステータス: Googleは、開発者からのフィードバックを取り入れる過程で破壊的な変更が発生する可能性があるため、Google Health API統合の正式なリリースは2026年5月末まで待つことを推奨しています。このコネクタは、今すぐAPIをテストしたい開発者向けに、意図的に早期ベータ版として公開されています。

非公式プロジェクト。 Google、Fitbit、Alphabetとは提携、推奨、サポートされていません。医療機器ではありません。医療アドバイスではありません。

ベータテスター募集

現在最も価値のある貢献は、Fitbit、Pixel Watch、Android、およびGoogle Health API v4ユーザーからの実際のセットアップに関するフィードバックです。

実際のアカウントでテストできる場合は、以下を行ってください:

  • npx -y google-health-mcp-unofficial doctor を実行し、OAuthフローが明確であることを確認する。

  • MCPクライアントから google_health_connection_statusgoogle_health_data_inventorygoogle_health_daily_summary を試す。

  • データ型の欠落、セットアップ手順の分かりにくさ、クライアント固有の摩擦、プライバシーに関する懸念などがあればIssueをオープンする。

  • OAuthトークン、クライアントシークレット、個人の健康測定値をパブリックなIssueに貼り付けないでください。

便利なリンク:

Related MCP server: Withings MCP

このプロジェクトの目的

Google Health APIはFitbit Web APIの後継であり、新しいOAuth、新しいベースURL、v4エンドポイントスキーマ、標準化されたデータ型、調整されたストリームとロールアップを備えています。

このMCPは、エージェントがAPIを検出し、セットアップを確認し、ローカルで認証を行い、トークンをプロンプトやエージェント設定に貼り付けることなくデータをクエリするためのクリーンな方法を提供します。

30秒デモ

npx -y google-health-mcp-unofficial setup
npx -y google-health-mcp-unofficial auth
npx -y google-health-mcp-unofficial doctor

次に、エージェントを以下のように起動します:

  • google_health_connection_status

  • google_health_data_inventory

  • google_health_privacy_audit

  • google_health_daily_summary

インストール

Google Cloud OAuthクライアントを作成し、Google Health APIを有効にして、以下を追加します:

http://127.0.0.1:3000/callback

次に、以下を実行します:

npx -y google-health-mcp-unofficial setup
npx -y google-health-mcp-unofficial auth
npx -y google-health-mcp-unofficial doctor

推奨される読み取り専用スコープ:

https://www.googleapis.com/auth/googlehealth.profile.readonly
https://www.googleapis.com/auth/googlehealth.settings.readonly
https://www.googleapis.com/auth/googlehealth.activity_and_fitness.readonly
https://www.googleapis.com/auth/googlehealth.health_metrics_and_measurements.readonly
https://www.googleapis.com/auth/googlehealth.sleep.readonly
https://www.googleapis.com/auth/googlehealth.nutrition.readonly

スタンドアロンMCP設定:

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

ツール

まずはここから:

  • google_health_connection_status - ローカル設定、トークン、スコープ、クライアントの準備状況

  • google_health_data_inventory - サポートされているドメイン、スコープ、データ型の命名、エージェントフロー

  • google_health_agent_manifest - 機械可読なインストール/ランタイムガイド

  • google_health_daily_summary - ロールアップと調整済みストリームからの日次ベータサマリー

  • google_health_weekly_summary - 週次ベータレビュー

Google Health APIメソッド:

  • google_health_get_identity

  • google_health_get_profile

  • google_health_get_settings

  • google_health_list_data_points

  • google_health_reconcile_data_points

  • google_health_daily_rollup

  • google_health_rollup

診断:

  • google_health_get_auth_url

  • google_health_exchange_code

  • google_health_privacy_audit

  • google_health_cache_status

  • google_health_revoke_access

  • google_health_wellness_context

データ型に関する注意

エンドポイントパスはケバブケースを使用します:

steps
sleep
heart-rate
daily-resting-heart-rate
daily-heart-rate-variability
active-zone-minutes
total-calories
weight
exercise

フィルタ式はスネークケースを使用します:

steps.interval.civil_start_time >= "2026-05-07"
heart_rate.sample_time.physical_time >= "2026-05-07T00:00:00Z"
sleep.interval.civil_start_time >= "2026-05-07"

APIでサポートされているソースファミリー:

users/me/dataSourceFamilies/all-sources
users/me/dataSourceFamilies/google-wearables
users/me/dataSourceFamilies/google-sources

プライバシー

  • OAuthトークンは ~/.google-health-mcp/tokens.json0600 権限でローカルに保存されます。

  • シークレットは ~/.google-health-mcp/config.json または GOOGLE_HEALTH_* 環境変数に配置できます。

  • ツールがアクセストークン、リフレッシュトークン、クライアントシークレットを返すことはありません。

  • GOOGLE_HEALTH_PRIVACY_MODE=structured がデフォルトです。

  • raw モードは明示的なものであり、デバッグや詳細な分析のためにのみ使用してください。

Hermes

npx -y google-health-mcp-unofficial setup --client hermes --no-auth
npx -y google-health-mcp-unofficial auth
npx -y google-health-mcp-unofficial doctor --client hermes
hermes mcp test google_health

設定変更後は、/reload-mcp または hermes mcp test google_health を使用してください。通常のデータアクセスのためにゲートウェイを再起動する必要はありません。

開発

git clone https://github.com/davidmosiah/google-health-mcp.git
cd google-health-mcp
npm install
npm test

リンク

ライセンス

MIT - LICENSE を参照してください。

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/davidmosiah/google-health-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server