openflarestack Star this repo
  1. Catalog
  2. Personal
  3. mi-health-mcp
Ranked 191 of 250

mi-health-mcp

wusaki0723/mi-health-mcp

Lets you query your Xiaomi health data (sleep, heart rate, steps) from LLM clients via Cloudflare Workers.

A self-hosted alternative to Mi Fit.

What it sets up in your account

  • KV
    KV namespace
    A key value store for settings and fast lookups.
Category
Personal
Licence
GPL-3.0
Stars
11
Last commit
7 weeks ago

Use it with AI or code

  • Markdown for AIPaste into ChatGPT, Claude or any LLM./apps/mi-health-mcp.md
    Open
  • JSON APIFree, no key, CORS open./api/v1/apps/mi-health-mcp.json
    Open

More in the API docs and llms.txt.

Keeping it up to date

The Deploy button copies the repo into your GitHub. Run this in your copy whenever a new version comes out.

terminal
git remote add upstream https://github.com/wusaki0723/mi-health-mcp.git
git pull upstream main
npx wrangler deploy

mi-health-mcp questions

What is mi-health-mcp?

Lets you query your Xiaomi health data (sleep, heart rate, steps) from LLM clients via Cloudflare Workers. It’s an open-source, self-hosted alternative to Mi Fit. It runs on Cloudflare Workers in your own account.

What does mi-health-mcp set up in my Cloudflare account?

KV namespace. They are created in your account, so the data stays yours.

How do I deploy mi-health-mcp?

Press Deploy to Cloudflare. Cloudflare copies the repository into your GitHub account, creates what it needs and deploys it with Workers Builds.

Is mi-health-mcp free and open source?

Yes. It’s published under the GPL-3.0 licence. Running it uses your own Cloudflare account, and small setups usually fit in the free plan.

How do I update mi-health-mcp?

Pull from the original repository and redeploy: add https://github.com/wusaki0723/mi-health-mcp.git as an upstream remote, run git pull upstream main, then npx wrangler deploy.