MCP server for querying Apple Health data with natural language and SQL
{
"mcpServers": {
"apple-health-mcp": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for querying Apple Health data with natural language and SQL
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 82 days ago. 525 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
FHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server.
DataOps Kafka MCP server with consumer lag diagnosis and broker monitoring
A Model Context Protocol (MCP) server providing AI assistants with access to healthcare data and medical information tools, including FDA drug info, PubMed, medRxiv, NCBI Bookshelf, clinical trials, ICD-10, DICOM metadata, and a medical calculator.
MCP Security Weekly
Get CVE alerts and security updates for Apple Health Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP (Model Context Protocol) server for querying Apple Health data using SQL. Built with DuckDB for fast, efficient health data analysis.
[!NOTE]
This project currently relies on the Simple Health Export CSV app by Eric Wolter. See Exporting Data below for more info on how best to use the app.This is currently the easiest way I could find to quickly and reliably get Apple Health data exported in CSV format. If you have ideas of better ways to import data, please submit an issue.
No installation required! Use directly with npx via Claude Desktop or other MCP clients.
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"apple-health": {
"command": "npx",
"args": ["@neiltron/apple-health-mcp"],
"env": {
"HEALTH_DATA_DIR": "/path/to/your/health/export"
}
}
}
}
HEALTH_DATA_DIR (required): Path to your Apple Health CSV export directoryMAX_MEMORY_MB (optional): Maximum memory usage in MB (default: 1024)CACHE_SIZE (optional): Number of cached query results (default: 100){
"mcpServers": {
"apple-health": {
"command": "npx",
"args": ["@neiltron/apple-health-mcp"],
"env": {
"HEALTH_DATA_DIR": "/Users/yourname/Downloads/HealthAll_2025-07-202_01-04-39_SimpleHealthExportCSV",
"MAX_MEMORY_MB": "2048"
}
}
}
}
To use get your data:
All button in the app to download all data for your desired time range (default 1 month).HEALTH_DATA_DIR value in your MCP config. See Example Configuration above.health_schema: Get information about available tables and their structurehealth_query: Execute SQL queries directly on your health datahealth_report: Generate comprehensive health reportsThe server expects Apple Health data exported as CSV files with the following naming pattern:
HKQuantityTypeIdentifier*.csv - Quantitative health metricsHKCategoryTypeIdentifier*.csv - Categorical health dataHKWorkoutActivityType*.csv - Workout and activity dataEach CSV file should have these columns:
type: The specific health metric typesourceName: Source device/appstartDate: Start timestamp (UTC)endDate: End timestamp (UTC)value: The measurement valueunit: Unit of measurementFor local development:
# Clone and install dependencies
git clone https://github.com/neiltron/apple-health-mcp.git
cd apple-health-mcp
npm install
# Build the project
npm run build
# Type checking
npm run typecheck
... [View full README on GitHub](https://github.com/neiltron/apple-health-mcp#readme)