Skip to content
MCP server

apple-health-mcp-server

MCP server that lets AI clients query your exported Apple Health data in plain language

Actively maintained

The repository was last updated 149 days ago and is published under MIT.

apple-health-mcp-server is an open-source MCP server for health and science. It is available on CLI, API, Self-hosted, Linux, macOS and Windows.

Pricing
Open source
Platforms
CLI, API, Self-hosted
GitHub stars
291
Last commit
Language
Python
License
MIT

Similar MCP servers

About apple-health-mcp-server

Apple Health exports arrive as a large XML file that is hard to read or query directly. This server parses those exports, loads the records into a database, and exposes them to any MCP-compatible AI client so you can ask questions about your sleep, activity and workouts without writing queries.

Under the hood it is built on FastMCP and can index the data in Elasticsearch, ClickHouse or DuckDB, with a base importer that can be extended to other databases. Configuration is handled through an .env file, and Docker support is included for running it as a container.

It suits people who want to explore their own health history with an LLM, and developers who want a starting point for connecting exported health records to AI tools. The maintainers have since moved active development to a broader project, Open Wearables, which also handles continuous Apple Health sync.

What it does

Apple Health XML import
Imports and parses Apple Health XML exports into a queryable store.
Natural language search
Lets an AI client filter and search health records without SQL knowledge.
Multiple database backends
Supports Elasticsearch, ClickHouse or DuckDB for indexing health data.
Modular MCP tools
Separate tools cover data structure analysis, record search and type-based extraction.
Summaries and trends
Generates statistics and trend analyses from the imported records.
Docker and .env configuration
Runs as a container and is configured through environment variables.

Good for

  • Asking an AI assistant for a summary of recent workouts or daily activity
  • Checking which data types are present in an Apple Health export and how much of each
  • Spotting multi-week trends in heart rate, steps or sleep
  • Loading health records into a database of your choice for custom analysis
  • Prototyping an MCP integration for personal health data

Pricing

Open source

Free and open source under the MIT license.

apple-health-mcp-server FAQ

Which AI clients can use apple-health-mcp-server?

Any LLM client that supports the Model Context Protocol can connect to it; the demo shows Claude.

What data source does apple-health-mcp-server read?

It imports the XML files produced by Apple Health's data export.

Which databases can store the data?

Elasticsearch, ClickHouse and DuckDB are supported, and the base importer can be extended to other DBMS.

Is apple-health-mcp-server free to use?

The project is released under the MIT license and is available on GitHub.

What are the best alternatives to apple-health-mcp-server?

The closest alternatives to apple-health-mcp-server are Apple Health MCP, Apple Health, health4ai, A Good Sign: Apple Health MCP and Apple Health AI Bridge.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers