Mibly Apple Health MCP logo

Mibly Apple Health MCP

Receives encrypted Apple Health data from Mibly and exposes it to MCP-compatible agents over local HTTP or stdio.

Install Mibly Apple Health MCP

Run the project’s own setup commands, in order.

Setup steps from the project

Mibly Apple Health MCP installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm ci
    
  2. 2. Install
    npm run build
    
  3. 3. Start the server
    MIBLY_TOKEN=<token from the Mibly app> npm start
    
  4. 4. Start the server
    launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/com.mibly.receiver.plist
    

Overview

Mibly Apple Health MCP connects the Mibly iPhone app to an encrypted, local receiver for Apple Health data such as sleep, steps, heart rate, HRV, workouts, weight, and body fat. The receiver stores data on a machine you control and exposes it to MCP clients over HTTP, with an optional stdio mode. Reach for it when an agent needs local access to selected HealthKit data without sending that data to a cloud service. The iPhone app handles HealthKit permissions, background synchronization, and data formatting.

Use cases

  • Query personal sleep and activity history from an MCP agent
  • Analyze local heart rate and HRV records
  • Review workouts and body measurements without cloud storage
  • Expose selected Apple Health data to a self-hosted agent

Key features

  • Apple Health data ingestion through the Mibly iPhone app
  • AES-256-GCM encrypted local storage
  • HTTP MCP endpoint with bearer-token authentication
  • Optional stdio transport for MCP clients
  • 365-day history retention
  • Configurable bind address and port

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

11/11 checks healthy over the last 41d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars16Stargazers on the source repository.
Last commit1d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Mibly Apple Health MCP works

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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mibly Apple Health MCP

Mibly Apple Health MCP is an MCP server that connects the Mibly iPhone app to AI agents through a local encrypted receiver. It accepts selected Apple Health data, including sleep, steps, heart rate, HRV, workouts, and body measurements, and provides two MCP tools for working with that synchronized data.

Install Mibly on your iPhone and paste the setup prompt from Connection Settings into your agent. For manual setup, use Node.js 18+, run `npm ci`, `npm run build`, and start the service with `MIBLY_TOKEN`.

Connect to `http://<ip>:7345/mcp` with `Authorization: Bearer <token>`. Use the LAN address printed by the receiver and enter that address in Mibly’s Target Host field; agents using stdio can start the service with `--stdio`.

It stores health data locally in `~/.mibly/data.enc` using AES-256-GCM encryption. The receiver makes no outbound network requests, and the pairing token is saved in `~/.mibly/config.json` after the first run.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMibly Apple Health MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/littlenew117-mibly-apple-health-mcp?style=directory)](https://allmcps.com/mcp/littlenew117-mibly-apple-health-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/littlenew117-mibly-apple-health-mcp"><img src="https://allmcps.com/api/badge/littlenew117-mibly-apple-health-mcp?style=directory" alt="Mibly Apple Health MCP on AllMCPs" /></a>