Health Auto Export MCP Server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Health Auto Export MCP Serverget my average heart rate for the past 7 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Clone the repository:
git clone <repository-url> cd health-auto-export-mcp-serverInstall dependencies:
npm installConfigure
.envfile:Copy the
.env.examplefile and rename it to.envSet the appropriate value for
HAE_HOST(your device IP address)
Build the project:
npm run buildRun 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.
Build the project using
npm run buildRun the client using
node ./dist/client_example.jsExpand 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.
Build the project using
npm run buildNavigate to
Settings -> Developer -> Edit ConfigThis should open
claude_desktop_config.jsonAdd 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"] } } }Restart Claude Desktop
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.
Further information on Claude Desktop MCP configuration
This server cannot be installed
Maintenance
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
- AlicenseBqualityCmaintenanceEnables 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 updated3121MIT
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to query Apple Health data (190+ metrics) in natural language, including trends, comparisons, and structured exports.Last updated7772MIT
- Alicense-qualityAmaintenanceRead-only MCP server that exposes Apple Health data (steps, workouts, sleep, etc.) from a local SQLite store, allowing AI agents to query health metrics without sending data to hosted services.Last updated3Apache 2.0
- Alicense-qualityCmaintenanceEnables Claude to access Apple Health data (sleep, heart rate, steps, etc.) via a self-hosted MCP server, bypassing regional restrictions.Last updatedMIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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