loading…
Search for a command to run...
loading…
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.
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.
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.
Clone the repository:
git clone <repository-url>
cd health-auto-export-mcp-server
Install dependencies:
npm install
Configure .env file:
.env.example file and rename it to .envHAE_HOST (your device IP address)Build the project:
npm run build
Run dev server:
npm run dev
client_example.ts provides an example of a client that connects to the Health Auto Export server over TCP.
npm run buildnode ./dist/client_example.jsFor 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
Run in your terminal:
claude mcp add health-auto-export-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.