# Mibly Apple Health MCP [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/littlenew117/mibly-apple-health-mcp  
**GitHub Stars:** 16  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/littlenew117-mibly-apple-health-mcp

## Description
Apple Health data (sleep, steps, heart rate, HRV, workouts, body measurements) pushed from the Mibly iPhone app, stored encrypted on your own machine. Local-first, no cloud or telemetry.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/littlenew117/mibly-apple-health-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm ci
```

2. Install:

```sh
npm run build
```

3. Start the server:

```sh
MIBLY_TOKEN=<token from the Mibly app> npm start
```

4. Start the server:

```sh
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.mibly.receiver.plist
```

## Documentation

## What Mibly Apple Health MCP does

Mibly Apple Health MCP receives Apple Health data from the Mibly iPhone app and makes that data available to AI agents through the Model Context Protocol. Supported categories include sleep, steps, heart rate, heart-rate variability, workouts, weight, body fat, and other body measurements.

The local receiver keeps its encrypted store on the host machine at `~/.mibly/data.enc`. It does not make outbound network requests, run telemetry, or perform update checks. The Mibly app remains responsible for reading HealthKit because Apple Health data is available to native iOS apps through HealthKit rather than a web API.

## How it works

Install Mibly on an iPhone, choose Connection Settings, and use “Copy for your Agent” to obtain the setup prompt. An agent can use that prompt to configure the receiver and MCP service without cloning the repository or creating configuration files manually.

For a manual installation, the receiver listens on a configurable host and port. The default binding is `0.0.0.0:7345`, and MCP clients connect to `/mcp` using an `Authorization: Bearer <token>` header. Agents that launch MCP processes through standard input and output can start the service with `--stdio`; logs are written to standard error.

The pairing token authenticates requests and derives the encryption key for the local store. The token is saved in `~/.mibly/config.json` with restrictive file permissions after the first run. Regenerating the token creates a new encryption key, so the previous encrypted store cannot be opened with the new token.

## Setup and configuration

The project requires Node.js 18 or newer. A manual build and launch sequence is:

```sh
npm ci
npm run build
MIBLY_TOKEN=<token from the Mibly app> npm start
```

`MIBLY_TOKEN` accepts the pairing token from the app. `MIBLY_HOST` changes the bind address and port; its default is `0.0.0.0:7345`. After the first launch, the saved token can be used instead of setting the environment variable on every restart.

The receiver prints the address to enter in Mibly’s Target Host field. Use the local Wi-Fi or LAN address in `IP:port` form, without a protocol prefix or path. The service can be kept running with launchd on macOS or systemd on Linux. A status request with the bearer token returns JSON containing fields such as `version` and `lastPushAt` when the receiver is available.

## Tools and capabilities

- Accepts synchronized Apple Health records from the Mibly iPhone app.
- Stores the received data using AES-256-GCM encryption.
- Retains 365 days of history while keeping the newest sample for each data type longer.
- Serves MCP access over HTTP and supports an optional stdio mode.
- Requires bearer-token authorization on every route.
- Provides local status information through the receiver’s status endpoint.

The iPhone app lets you choose which data types to share and disable individual types. Menstrual-cycle data is available in local mode but is off by default.

## Limitations and notes

Local traffic between the iPhone and receiver uses plain HTTP. The local mode is intended for a home or office LAN, so the receiver should not be exposed to the public internet. Anyone who has the pairing token can read data through the network service.

The local repository does not provide remote access across devices or shared access for multiple agents; those capabilities belong to Mibly Cloud. Changing the pairing token starts an empty store, and deleting the Mibly data directory also removes the retained local data. The service provides data access only and does not diagnose conditions or make medical decisions.

The project is released under the MIT license.

_Full upstream README: https://allmcps.com/mcp/littlenew117-mibly-apple-health-mcp/readme_

