Apple Health MCP
by The Momentum
Access your Apple Health data through AI assistants — fitness, sleep, heart rate, and more
data Node.js Beginner Self-hostable No API key
⭐ 100 stars 📅 Updated: 1mo ago
Description
MCP server that bridges Apple Health data with AI assistants. Read your fitness metrics, sleep patterns, heart rate data, step counts, workouts, and health records directly through natural language queries. Built for macOS, it connects to the Apple HealthKit ecosystem to provide personal health analytics and insights. Ideal for tracking wellness trends, analyzing workout performance, or building AI-powered health dashboards — all while keeping your data local on your Mac.
✅ Best for
Mac users who want AI-powered insights from their Apple Health and fitness data
⏭️ Skip if
You are not on macOS or do not use Apple Health/Apple Watch
💡 Use cases
- Analyzing personal fitness trends and step count patterns over time
- Reviewing sleep quality data and identifying improvement opportunities
- Tracking heart rate metrics during workouts and rest periods
- Building personalized health reports with AI-assisted data analysis
👍 Pros
- ✓ No API key needed — reads directly from local Apple Health data
- ✓ Data stays local on your Mac, preserving privacy
- ✓ Simple npx setup with minimal configuration
- ✓ Covers comprehensive health metrics (steps, heart rate, sleep, workouts)
👎 Cons
- ✗ macOS only — requires Apple HealthKit and a synced Apple device
- ✗ Limited to data already present in your Apple Health database
- ✗ Cannot write or modify health records, read-only access
🔧 Exposed tools (5 tools)
| Tool | Category | Description |
|---|---|---|
| get_steps | query | Retrieve step count data for a given date range |
| get_heart_rate | query | Get heart rate measurements and trends |
| get_sleep | query | Access sleep duration and quality data |
| get_workouts | query | List workouts with type, duration, and calories |
| get_health_records | query | Retrieve general health records and metrics |
⚡ Installation
Prerequisites:
- • Node.js v18+
- • macOS required — uses Apple HealthKit APIs
Check Claude Code documentation to configure this MCP server.
💡 Tips & tricks
Make sure your iPhone or Apple Watch is syncing health data to your Mac. Run via npx for the quickest setup. The more historical data you have in Apple Health, the better the trend analysis.
🔄 Alternatives
Quick info
- Author
- The Momentum
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- data
- Difficulty
- Beginner
- Self-hostable
- ✅
- Auth
- —
- Docker
- —
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- ✅ Claude Code
- ✅ Cursor
- ✅ VS Code Copilot
- ❓ Gemini CLI
- ❓ Windsurf
- ❓ Cline
- ❓ JetBrains AI
- ❓ Warp
Platforms
🍎 macOS