
sabatech-dev/huawei-health-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Huawei社のヘルスキット用のMCPサーバー — Huawei社のウォッチ健康データをモデルコンテキストプロトコルを介してAIエージェントに接続
概要
Huawei Health Kit 初のオープンソース MCP Server により、AI エージェント (OpenClaw、Claude Desktop など) を使用して、あらゆる Huawei ウェアラブルデバイスから健康データを読み、分析できます。 - — — 心拍数、睡眠、SpO2、ストレス、温度、活動、ECGなど - — サーバー側データアクセス、OAuth の後の電話の依存関係なし - MCP 互換 AI エージェントに接続 - - 継続的な心拍数、SpO2 モニタリング - あなたのデータ、あなたのサーバー、あなたの制御 - Huawei社開発者アカウント(developer.huawei.com) - あなたのプロジェクトのために有効な健康キット - Node.js 18 + - Python 3.11 + [http://localhost:8000 で API が使用可能になります。 - すべてのデータはサーバーに滞在します - OAuth 2.0 認可フロー - サードパーティのデータストレージなし - 各データタイプに必要なユーザーの同意 ご協力のほどよろしくお願いします! 新しいプロジェクトです。 ガイドラインのCONTRIBUTING.mdを参照してください.
概要(AI 翻訳)
Huawei社のウォッチヘルスデータをモデルコンテキストプロトコルを介してAIエージェントに接続
Huawei Health Kit 初のオープンソース MCP Server により、AI エージェント (OpenClaw、Claude Desktop など) を使用して、あらゆる Huawei ウェアラブルデバイスから健康データを読み、分析できます。
欲求の特徴
-30以上の健康データタイプ 心拍数、睡眠、SpO2、ストレス、温度、活動、ECGなど
- REST API (クラウド) — サーバー側データアクセス、OAuth の後の電話依存関係なし
- MCP プロトコル — MCP 互換 AI エージェントに接続
- リアルタイム対応 — 継続的な心拍数、SpO2モニタリング
- プライバシー優先 — あなたのデータ、あなたのサーバー、あなたの制御
サポートされているデータ
| カテゴリー | メトリック | お問い合わせ |心臓血管 | 心拍数(定着、継続的、休息、運動)、心筋警報 | |Sleep | フェーズ(ディープ、ライト、REM)、ナップ、アプライアンス検出、品質スコア | |Oxygenation | 連続 SpO2 睡眠 SpO2 | |** | ストレスレベル・トレンド・呼吸練習 | |天空 | 肌温(日+夜) | |** | 行動力** | 歩数・距離・カロリー・活動指輪・100以上のワークアウトモード | |女性の健康 | 期間・排卵・肥沃な窓 |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
🏥 Huawei Health MCP Server
Connect your Huawei Watch health data to AI agents via Model Context Protocol
The first open-source MCP Server for Huawei Health Kit, enabling AI agents (OpenClaw, Claude Desktop, etc.) to read and analyze health data from any Huawei wearable device.
🎯 Features
- 30+ health data types — Heart rate, sleep, SpO2, stress, temperature, activity, ECG, and more
- REST API (Cloud) — Server-side data access, no phone dependency after OAuth
- MCP Protocol — Plug into any MCP-compatible AI agent
- Real-time capable — Continuous heart rate, SpO2 monitoring
- Privacy-first — Your data, your server, your control
📊 Supported Data
| Category | Metrics |
|---|---|
| Cardiovascular | Heart rate (instant, continuous, resting, exercise), ECG, arrhythmia alerts |
| Sleep | Phases (deep, light, REM), naps, apnea detection, quality score |
| Oxygenation | Continuous SpO2, sleep SpO2 |
| Stress | Stress level, trends, breathing exercises |
| Temperature | Skin temperature (day + night) |
| Activity | Steps, distance, calories, Activity Rings, 100+ workout modes |
| Women’s Health | Period, ovulation, fertile window |
| Emotional | Mood state, emotional wellbeing (TruSense) |
| Advanced Sports | Golf, free diving, trail running, cycling power, running form |
🏗️ Architecture
Huawei Watch GT 5 Pro
↓
Huawei Health (Android)
↓
Huawei Health Kit REST API (Cloud)
↓
┌─────────────────────┐
│ Backend API │ ← OAuth, data sync, storage
│ (FastAPI) │
└──────────┬──────────┘
↓
┌─────────────────────┐
│ MCP Server │ ← Tools for AI agents
│ (TypeScript) │
└──────────┬──────────┘
↓
┌─────────────────────┐
│ AI Agents │ ← OpenClaw, Claude Desktop, etc.
│ (OpenClaw/LLM) │
└─────────────────────┘
📁 Project Structure
huawei-health-mcp/
├── android-app/ # Android OAuth bridge (minimal)
│ └── app/ # Kotlin app for Health Kit authorization
├── mcp-server/ # MCP Server (TypeScript/Node.js)
│ └── src/ # Tools, types, client
├── api/ # Backend API (Python/FastAPI)
│ └── src/ # OAuth, data sync, endpoints
├── docs/ # Documentation
│ ├── setup.md # Setup guide
│ └── api-reference.md # MCP tools reference
└── .github/workflows/ # CI/CD
🚀 Quick Start
Prerequisites
- Huawei Developer account (developer.huawei.com)
- Health Kit enabled for your project
- Node.js 18+
- Python 3.11+
Backend API Setup
- Clone and setup:
git clone https://github.com/sabatech-dev/huawei-health-mcp.git
cd huawei-health-mcp
- Configure environment variables:
cd api
cp .env.example .env
# Edit .env with your Huawei OAuth credentials
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"huawei-health": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": { "API_URL": "http://localhost:8081" }
}
}
}