apple-health-mcp-server
MCP server for querying Apple Health data with natural language using DuckDB under the hood.
Documentation
> [!NOTE]
> **This project has evolved into Open Wearables** - self-hosted platform to unify wearable health data from multiple devices, including Apple Health. Open Wearables also provides an MCP server and a companion app for continuous Apple Health data sync, eliminating the need for manual XML exports. Check it out: github.com/the-momentum/open-wearables
Connect your Apple Health data with any LLM that supports MCP. Talk to your data and get personalised insights.
π‘ Demo
This demo shows how Claude uses the `apple-health-mcp-server` to answer questions about your data. Example prompts from the demo:
- I would like you to help me analyze my Apple Health data. Let's start by analyzing the data types - check what data is available and how much of it there is.
- What can you tell me about my activity in the last week? How did my daily statistics look?
- Please also summarise my running workouts in July and June. Do you see anything interesting?
https://github.com/user-attachments/assets/93ddbfb9-6da9-42c1-9872-815abce7e918
Want to try it out? **π Getting Started**
π Why to use Apple Health MCP Server?
β¨ Key Features
- π FastMCP Framework: Built on FastMCP for high-performance MCP server capabilities
- π Apple Health Data Exploration: Import, parse, and analyze Apple Health XML exports
- π Powerful Search & Filtering: Query and filter health records using natural language and advanced parameters
- π¦ Elasticsearch, ClickHouse or DuckDB Integration: Index and search health data efficiently at scale
- π οΈ Modular MCP Tools: Tools for structure analysis, record search, type-based extraction, and more
- π Data Summaries & Trends: Generate statistics and trend analyses from your health data
- π³ Container Ready: Docker support for easy deployment and scaling
- π§ Configurable: Extensive ```.env```-based configuration options
π Documentation
- **π Getting Started** - Complete setup guide
- **π About** - Detailed description & architecture
- **π§ Configuration** - Environment variables and settings
- **π οΈ MCP Tools** - All available tools
- **πΊοΈ Roadmap** - Upcoming features and roadmap
Need help? Looking for guidance on use cases or implementation? Don't hesitate to ask your question in our GitHub discussion forum! You'll also find interesting use cases, tips, and community insights there.
π₯ Contributors
()
πΌ About Momentum
This project is part of Momentumβs open-source ecosystem, where we make healthcare technology more secure, interoperable, and AI-ready. Our goal is to help HealthTech teams adopt standards such as FHIR safely and efficiently. We are healthcare AI development experts, recognized by FT1000, Deloitte Fast 50, and Forbes for building scalable, HIPAA-compliant solutions that power next-generation healthcare innovation.
π Want to learn from our experience? Read our insights β .
Interested? !
Frequently asked questions
What is apple-health-mcp-server?
apple-health-mcp-server is MCP server for querying Apple Health data with natural language using DuckDB under the hood.
How do I install apple-health-mcp-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is apple-health-mcp-server open source?
Yes β it is hosted on GitHub at https://github.com/the-momentum/apple-health-mcp-server and has 52 stars.
Related MCP tools
Model Context Protocol with Neo4j Python-based implementation. Trusted by 700+ developers. Trusted by 700+ developers. Trusted by 700+ developers.
An LLM agent that conducts deep research (local and web) on any given topic and generates a long report with citations. Built for the Model Context Protocol to
π₯ MaxKB is an open-source platform for building enterprise-grade agents. MaxKB ζ―εΌΊε€§ζη¨ηεΌζΊδΌδΈηΊ§ζΊθ½δ½εΉ³ε°γ for the Model Context Protocol. Enhance AI assistants with po
A powerful coding agent toolkit providing semantic retrieval and editing capabilities (MCP server & other integrations) Python-based implementation.
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
AWS MCP Servers β helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP