Apple Health MCP: Query Your Apple Health Data with Natural Language and SQL
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
The `apple-health-mcp` project is an MCP (Model Context Protocol) server designed for querying Apple Health data. It allows users to analyze their health metrics using natural language or direct SQL queries. This server integrates with clients like Claude Desktop, providing powerful tools for health data analysis.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
The apple-health-mcp project by neiltron is an innovative MCP (Model Context Protocol) server that empowers users to interact with their Apple Health data in powerful new ways. Built with TypeScript and leveraging DuckDB for efficient data processing, this server allows you to query your health metrics using either natural language commands or direct SQL queries.
It's important to note that apple-health-mcp currently relies on the Simple Health Export CSV app for exporting your Apple Health data into a usable CSV format. This approach ensures quick and reliable data import for analysis.
Installation
One of the great advantages of apple-health-mcp is that no direct installation is required. You can use it directly with npx via compatible MCP clients, such as Claude Desktop.
To integrate apple-health-mcp with Claude Desktop, add the following configuration to your ~/Library/Application Support/Claude/claude_desktop_config.json file:
{
"mcpServers": {
"apple-health": {
"command": "npx",
"args": ["@neiltron/apple-health-mcp"],
"env": {
"HEALTH_DATA_DIR": "/path/to/your/health/export"
}
}
}
}
Environment Variables
Configure the server's behavior using these environment variables:
HEALTH_DATA_DIR(required): Specifies the path to your Apple Health CSV export directory.MAX_MEMORY_MB(optional): Sets the maximum memory usage in MB (default: 1024).CACHE_SIZE(optional): Determines the number of cached query results (default: 100).
Examples
Here's an example of a complete configuration for Claude Desktop:
{
"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"
}
}
}
}
Exporting Data
To get your Apple Health data ready for apple-health-mcp:
- Download the Simple Health Export CSV app for iOS.
- In the app, tap the
Allbutton to download all data for your desired time range. - Transfer the exported ZIP file to your computer (e.g., via AirDrop).
- Unzip the file to your chosen location.
- Set the
HEALTH_DATA_DIRenvironment variable in your MCP configuration to this location.
Available Tools
Once configured, you can utilize these tools through your MCP client:
health_schema: Get information about available tables and their structure.health_query: Execute SQL queries directly on your health data.health_report: Generate comprehensive health reports.
Why Use It
apple-health-mcp offers several compelling reasons to integrate it into your health data analysis workflow:
- Natural Language Querying: Ask questions about your health data in plain English, and let the MCP client translate them into database queries.
- SQL Query Execution: For advanced users, directly execute SQL queries against your Apple Health data for precise analysis.
- Automated Reports: Generate weekly or monthly health summaries effortlessly, helping you track trends over time.
- Efficient Data Loading: Benefit from lazy loading with configurable time windows, optimizing performance for large datasets.
- Smart Caching: Query results are cached with a configurable TTL (Time To Live), ensuring faster access to frequently requested data.
This project transforms raw Apple Health data into actionable insights, making personal health analysis more accessible and powerful.
Links
- GitHub Repository: neiltron/apple-health-mcp
- Simple Health Export CSV App: Simple Health Export CSV
Related repositories
Similar repositories that may be relevant next.

Llama Cloud Services: Knowledge Agents and Management in the Cloud
July 3, 2026
Llama Cloud Services offers tools for building knowledge agents and managing data in the cloud. It provides robust capabilities for parsing various document types, including PDF, DOCX, and PPTX, into structured formats. Users should note that this repository is deprecated, with migration recommended to the new `llama-cloud` packages for continued support and improved performance.

FreeLLMAPI: Stack 16 Free LLM Tiers for 1.7 Billion Tokens/Month
June 27, 2026
FreeLLMAPI is an OpenAI-compatible proxy that aggregates the free tiers of 16 LLM providers, offering access to approximately 1.7 billion tokens per month. It simplifies access to diverse models through a single endpoint, featuring smart routing, automatic failover, and encrypted key storage. This powerful tool is designed for personal experimentation, allowing developers to leverage multiple free LLM resources efficiently.

Voicebox: The Open-Source AI Voice Studio for Cloning and Dictation
June 25, 2026
Voicebox is an innovative open-source AI voice studio that allows users to clone voices, generate speech in multiple languages, and dictate into any application. It provides a comprehensive, local-first voice I/O stack, offering a powerful alternative to cloud-based solutions. This tool ensures complete privacy and control over your voice data, running entirely on your local machine.

EasyWhisperUI: A Cross-Platform Desktop App for Whisper Model Transcription
June 22, 2026
EasyWhisperUI is a fast, local desktop application designed for transcribing audio and video using the Whisper model. It offers GPU acceleration across Windows, macOS, and Linux, providing a user-friendly interface for various transcription tasks. The application supports features like live transcription, batch processing, and translation, making it a versatile tool for media processing.
Source repository
Open the original repository on GitHub.