What is Apple Health Mcp Server?
A Model Context Protocol (MCP) server designed for interaction between LLM-based agents and Apple Health data. It provides a standardized interface for querying, analyzing, and managing health records imported from XML exports and indexed in Elasticsearch, accessible from MCP-compatible clients like Claude Desktop.
How to use Apple Health Mcp Server?
Export Apple Health data as an XML file, clone the repository, set environment variables in config/.env, and run make es to start Elasticsearch and import the data. Configure the server in your MCP client using either Docker (mcp-server:latest with appropriate mounts) or local uv run start with the correct binary path, then restart the client.
Key features of Apple Health Mcp Server
- Built on the FastMCP framework for high-performance MCP server capabilities
- Imports, parses, and analyzes Apple Health XML exports
- Powerful search and filtering using natural language and advanced parameters
- Elasticsearch integration for scalable indexing and querying
- Modular tools for structure analysis, record search, type extraction, and statistics
- Container-ready with Docker support for easy deployment
Use cases of Apple Health Mcp Server
- Analyze available health data types and their volume from an XML export
- Query daily, weekly, or monthly activity statistics using natural language
- Search and filter specific health records by type, device, or attribute value
- Summarize and compare workout trends across different time periods
- Generate trend analyses for a health record type over daily, weekly, monthly, or yearly aggregations
コメント