Content
Health Data Integration with MCP Server
Let AI read your steps, sleep, heart rate - fitness tracker → phone → VPS → MCP → AI.
## Data Link
## Capabilities
Your AI assistant can proactively query:
- "How long did I sleep last night? What was my deep sleep percentage?"
- "How many steps take today?"
- "What's my recent heart rate like?"
AI utilizes this data for morning broadcasts, health reminders, and exercise incentives.
## Components
| Port File |
|------|----------|------|
| 8899 | Receive health data phone | server.py |
| 8898 | MCP interface for AI queries | mcp_server.py |
## Prerequisites
- Fitness tracker supporting Health Connect + Android phone
- A VPS (1C2G sufficient)
- Rikkaor a platform supporting Streamable HTTP MCP)
## Quick Start
1. Clone open the HTML for the complete tutorial
2. Deploy two Python services VPS
3. Configure data pushing phone (HCWebhook or Tasker)
4. Add an MCP source to RikkaHub (`http://VPS_IP:8895. AI can now call `read_health_data` and `health_summary`
## Environment Requirements
- Python + `mcp`
-public IP, open 8898/8899 ports)
- Android 14+ phone + Health Connect
## License
MIT