MCP Catalogs
Homeapple-health-mcp-server screenshot

apple-health-mcp-server

by the-momentum·189·Score 47

MCP server for querying Apple Health data with natural language using DuckDB.

ai-llmhealthdatabase
15
Forks
7
Open issues
3 mo ago
Last commit
2d ago
Indexed

Overview

The Apple Health MCP Server allows users to connect their Apple Health data with any LLM that supports MCP. It enables natural language queries for health data analysis without requiring knowledge of SQL or complex data structures. Built on FastMCP framework with DuckDB, Elasticsearch or ClickHouse integration for efficient processing of large health datasets.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Personal health data analysis through natural language queries
you:Tracking fitness trends and workout statistics over time
you:Generating health insights without manual data processing
you:What data sources are supported?
you:Do I need technical skills to use this MCP server?

When to choose this

Choose this server if you want to analyze Apple Health data without SQL knowledge, using natural language queries with an LLM.

When NOT to choose this

Don't choose this if you need real-time health data sync or support for non-Apple health devices.

Tools this server exposes

12 tools extracted from the README
  • analyze_data_types

    Analyze available data types and quantities in Apple Health data

  • query_activity

    Query and analyze activity data from Apple Health records

  • summarize_workouts

    Summarize running workouts and other exercise data

  • search_health_records

    Search and filter health records with natural language

  • extract_type_data

    Extract data of specific types from Apple Health records

  • generate_statistics

    Generate statistics and trend analyses from health data

  • parse_health_xml

    Parse and import Apple Health XML export files

  • index_data

    Index health data for efficient querying with Elasticsearch, ClickHouse or DuckDB

  • find_hidden_trends

    Identify hidden trends in health data using advanced analysis

  • analyze_workouts

    Analyze workout data from Apple Health records

  • get_health_data_summary

    Get a comprehensive summary of health data

  • filter_records

    Filter health records based on specific criteria

Comparable tools

open-wearableshealthkit-mcpwearable-data-mcphealth-graph-api

Installation

Installation

  1. Clone the repository:
git clone https://github.com/the-momentum/apple-health-mcp-server.git
cd apple-health-mcp-server
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
  1. Run the server:
python -m mcp_server.app

For Claude Desktop, add to your config.json:

{
  "mcpServers": {
    "apple-health": {
      "command": "python",
      "args": ["-m", "mcp_server.app"],
      "env": {
        "PYTHONPATH": "."
      }
    }
  }
}

FAQ

What data sources are supported?
The server primarily supports Apple Health XML exports, but is designed with modular architecture to support other wearable data sources.
Do I need technical skills to use this MCP server?
No, you can query your health data using natural language without needing SQL or database knowledge.

Compare apple-health-mcp-server with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.