Skip to main content
Glama
HealthyApps

Health Auto Export MCP Server

Official
by HealthyApps

Health Auto Export

This project provides examples of how to work with the TCP server in Health Auto Export app for iPhone/iPad.

You can make queries to the server directly over TCP, or the project can be connected to LLMs, such as Claude app for desktop, via MCP.

In the /docs folder you will find more detailed instructions.

Running This Project

Prerequisites

  • Node.js: Version 18 or higher

  • npm: Comes with Node.js

  • Health Auto Export app: Installed on iPhone/iPad with Premium access

  • Network access: Your computer and mobile device must be on the same Wi-Fi network

Related MCP server: Health Export AI

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd health-auto-export-mcp-server
  2. Install dependencies:

    npm install
  3. Configure .env file:

    • Copy the .env.example file and rename it to .env

    • Set the appropriate value for HAE_HOST (your device IP address)

  4. Build the project:

    npm run build
  5. Run dev server:

    npm run dev

Usage

TCP

client_example.ts provides an example of a client that connects to the Health Auto Export server over TCP.

  1. Build the project using npm run build

  2. Run the client using node ./dist/client_example.js

  3. Expand on the code to build your own integration

Configure Claude MCP

For MCP tool names and breaking changes in 1.0.0, see CHANGELOG.md. Implementation lives in src/server.ts.

  1. Build the project using npm run build

  2. Navigate to Settings -> Developer -> Edit Config

  3. This should open claude_desktop_config.json

  4. Add the MCP server details as shown below, pointing to the correct path on disk where you have set up this project:

    {
      "mcpServers": {
        "health_auto_export": {
          "command": "node",
          "args": ["/Users/username/Desktop/hae-mcp/dist/server.js"]
        }
      }
    }
  5. Restart Claude Desktop

  6. Keep in mind Claude's context window limitations when using MCP. This means data may need to be aggregated appropriately in order to process requests.

  7. Further information on Claude Desktop MCP configuration

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Enables users to query Apple Health metrics, workouts, and trends from CSV files exported via the Health Auto Export app. It allows MCP clients to analyze health data such as heart rate, sleep stages, and activity levels directly from local iCloud Drive storage.
    Last updated
    3
    12
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    An MCP server that enables AI agents to query Apple Health data (190+ metrics) in natural language, including trends, comparisons, and structured exports.
    Last updated
    7
    77
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • 63 tools for Apple Health, Fitbit, Oura & Health Connect data in Claude, ChatGPT, Grok & Mistral.

  • MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent

  • Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HealthyApps/health-auto-export-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server