apple-health-mcp-server
by the-momentum·★ 189·Score 47
MCP server for querying Apple Health data with natural language using DuckDB.
Overview
The Apple Health MCP Server allows users to connect their Apple Health data with any LLM that supports MCP. It enables natural language queries for health data analysis without requiring knowledge of SQL or complex data structures. Built on FastMCP framework with DuckDB, Elasticsearch or ClickHouse integration for efficient processing of large health datasets.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this server if you want to analyze Apple Health data without SQL knowledge, using natural language queries with an LLM.
When NOT to choose this
Don't choose this if you need real-time health data sync or support for non-Apple health devices.
Tools this server exposes
12 tools extracted from the READMEanalyze_data_typesAnalyze available data types and quantities in Apple Health data
query_activityQuery and analyze activity data from Apple Health records
summarize_workoutsSummarize running workouts and other exercise data
search_health_recordsSearch and filter health records with natural language
extract_type_dataExtract data of specific types from Apple Health records
generate_statisticsGenerate statistics and trend analyses from health data
parse_health_xmlParse and import Apple Health XML export files
index_dataIndex health data for efficient querying with Elasticsearch, ClickHouse or DuckDB
find_hidden_trendsIdentify hidden trends in health data using advanced analysis
analyze_workoutsAnalyze workout data from Apple Health records
get_health_data_summaryGet a comprehensive summary of health data
filter_recordsFilter health records based on specific criteria
Comparable tools
Installation
Installation
- Clone the repository:
git clone https://github.com/the-momentum/apple-health-mcp-server.git
cd apple-health-mcp-server- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
cp .env.example .env
# Edit .env with your configuration- Run the server:
python -m mcp_server.appFor Claude Desktop, add to your config.json:
{
"mcpServers": {
"apple-health": {
"command": "python",
"args": ["-m", "mcp_server.app"],
"env": {
"PYTHONPATH": "."
}
}
}
}FAQ
- What data sources are supported?
- The server primarily supports Apple Health XML exports, but is designed with modular architecture to support other wearable data sources.
- Do I need technical skills to use this MCP server?
- No, you can query your health data using natural language without needing SQL or database knowledge.
Compare apple-health-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.