Health Auto Export MCP Server
Enables querying health data from the Health Auto Export app on iPhone/iPad via MCP, allowing LLMs like Claude to access and analyze personal health metrics.
README
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
Installation
-
Clone the repository:
git clone <repository-url> cd health-auto-export-mcp-server -
Install dependencies:
npm install -
Configure
.envfile:- Copy the
.env.examplefile and rename it to.env - Set the appropriate value for
HAE_HOST(your device IP address)
- Copy the
-
Build the project:
npm run build -
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.
- Build the project using
npm run build - Run the client using
node ./dist/client_example.js - 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.
-
Build the project using
npm run build -
Navigate to
Settings -> Developer -> Edit Config -
This should open
claude_desktop_config.json -
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"] } } } -
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.