apple-health-ai-bridge

Bring Apple Health to the AI agents you already use. Open-source iPhone app on the App Store, automatic sync to your own computer, and MCP access to your health history: for everyday questions and custom agent workflows

A new way for AI to search for data
View on GitHub
27GitHub stars
96commits on main
2forks
latest release, 2026-10-30

Python 50.3%, Swift 48.8%, Shell 0.8%, HTML 0.1% · created 2026-07-16 · last push 2026-10-31

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit cb8c6adb17 (2026-10-06). main is 58 commits ahead.

Selected work

“deliver completed-day Steps in automatic sync”. 6 files, 1,288 lines in ios, tests.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-10-12. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

ai-agentsapple-healthhealthkitioslocal-firstmcpquantified-selfsqlite

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported Apache-2.0 for roian6/apple-health-ai-bridge on 2026-10-31, and the LICENSE file at commit cb8c6adb17 was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Chanhyo Jung (@roian6) has 1 selected repository on the hub.

Using XERJ with apple-health-ai-bridge

The prompt

Paste it into your AI agent. It clones roian6/apple-health-ai-bridge at the pinned commit and indexes it on your machine.

Search the GitHub repository roian6/apple-health-ai-bridge with XERJ (https://hub.xerj.org/corpus/roian6--apple-health-ai-bridge).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/roian6/apple-health-ai-bridge apple-health-ai-bridge && git -C apple-health-ai-bridge checkout cb8c6adb176921fd427bc4755a9738bf2ffd2f18
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./apple-health-ai-bridge --url http://127.0.0.1:9200 --prefix apple-health-ai-bridge --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.