Query Apple Health data with natural language and SQL
New!
Top 73.4% on sourcepulse
This project provides an MCP server for querying Apple Health data using natural language and SQL, targeting users who want to analyze their health metrics efficiently. It leverages DuckDB for fast data processing and offers features like automated reports and smart caching, simplifying health data exploration.
How It Works
The server acts as an intermediary, translating natural language queries into SQL statements executed against a DuckDB database populated from Apple Health CSV exports. This approach allows for direct, efficient analysis of health data without requiring complex data wrangling or specialized knowledge, making it accessible to a broader user base.
Quick Start & Requirements
npx @neiltron/apple-health-mcp
.HEALTH_DATA_DIR
environment variable must be set to the path of the unzipped CSV export.claude_desktop_config.json
with the HEALTH_DATA_DIR
environment variable specified.Highlighted Details
Maintenance & Community
The project is maintained by neiltron. Contributions are welcome, with guidelines for code patterns, TypeScript types, error handling, and performance.
Licensing & Compatibility
Licensed under the MIT license, permitting commercial use and integration with closed-source applications.
Limitations & Caveats
The project relies on a specific CSV export format from a third-party iOS app. Performance may be impacted by large datasets or inefficient queries, with suggestions to reduce memory usage or filter by date ranges.
1 week ago
Inactive