Mirobody
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
제작자가 쓴 설명(영어 원문)
Read-only access to your own Mi Fitness (Xiaomi) data: sleep, heart rate, steps, workouts
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"mifit": {
"command": "uvx",
"args": [
"mifit",
"mcp"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add mifit -- uvx mifit mcp프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"mifit": {
"command": "uvx",
"args": [
"mifit",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"mifit": {
"type": "stdio",
"command": "uvx",
"args": [
"mifit",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 Jenwein 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.4.0)은 9일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Mirobody, FHIR MCP Server, Google Health MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.
MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications
Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Read your own Mi Fitness (小米运动健康) data from the Xiaomi cloud: a small Python library, a command-line tool and an MCP server for AI assistants.
The Mi Fitness app syncs your steps, heart rate, sleep and more to the Xiaomi cloud, but Xiaomi offers no public API for individuals. mifit signs in to your own account by QR code, reads that synced data and returns it as JSON or as Python objects, so you can build on it.
Unofficial. Not affiliated with, endorsed by or supported by Xiaomi.
See Disclaimer.
| Domain | What you get | records type | Checked against the app |
|---|---|---|---|
steps | steps and distance per day | StepRecord | yes |
heart_rate | raw heart-rate samples | HeartRatePoint | yes |
heart_rate_daily | heart rate per day: average, maximum, minimum, resting | HeartRateDailySummary | yes |
consumption | calories per day: resting, active, intake, total | ConsumptionRecord | yes |
sleep | sleep per day: totals, stage minutes, sessions with their stage timeline | SleepRecord → SleepSession → SleepStage | yes; the sleep score could not be checked and is in raw only |
workouts | one entry per workout: start and end, sport, duration, distance, active and total calories, average and maximum heart rate, steps | Workout | yes |
workout_detail | per workout (outdoor runs and rides): per-second samples (heart rate, cumulative distance and steps, cadence, pace or speed) and the GPS track | WorkoutDetail → WorkoutSample / TrackPoint | yes (one outdoor run, one ride); altitude is in raw only: the run's was a few metres off the app's |
spo2_daily | blood oxygen (SpO2) per day: average, maximum, minimum | Spo2DailySummary | yes |
spo2 | raw SpO2 readings | Spo2Point | yes |
stress_daily | stress level per day: average, highest, lowest, and minutes in each stress band (relaxed, mild, moderate, severe) | StressDailySummary | yes |
activity_daily | activity per day, as on the app's 活力指标 page: activity count (活动次数), activity minutes (活动时长), active calories (卡路里) | ActivityDailySummary | yes |
weight | weight entries: time, weight, BMI (body composition in raw only) | WeightRecord | yes; body composition could not be checked and is in raw only |
profile (its own command: mifit profile) | height, weight, daily step, calorie and activity-time goals | UserProfile | yes |
raw (CLI: mifit raw; Python: client.raw, raw_window, daily_report) | the rows of any fitness-data or daily-report key, as the service sends them | none: the service's rows, uninterpreted | not applicable: nothing is interpreted |
"Checked against the app" means the values were compared with what the Mi Fitness app shows, on one real account (China region, UTC+8). More is planned. Meanwhile, mifit raw (in Python raw_window and daily_report) returns the rows of any other key of the fitness-data or (with --daily) daily-report endpoint, uninterpreted.
What changed in each version, breaking changes included, is in CHANGELOG.md.
Requires Python 3.12 or later; uv installs one for you if needed.
uv tool install mifit # recommended: its own environment, `mifit` on your PATH
pipx install mifit # the same, with pipx pip install mifit # into the current environment, to use it as a library
Upgrade: uv tool upgrade mifit (or pipx upgrade mifit, pip install -U mifit).
mifit login
A QR code is drawn in the terminal, with the login URL below it. Scan it with the Xiaomi / Mi Fitness app on your phone (or open the URL) and approve the sign-in. Your password never passes through mifit.
The session is saved to ~/.mifit/session.json (on Windows %USERPROFILE%\.mifit\session.json). It grants access to your Mi Fitness account's health data (not only reading). It also holds your account's passToken, which mifit uses to renew the session when it expires. The passToken is account-level: it can obtain tokens for any Xiaomi service, so the file grants access to your whole Xiaomi account, not just your Mi Fitness health data, and it stays useful long after the session token itself has expired. Treat it like a password, and do not share it or commit it. On Linux and macOS the file is readable by you only; on Windows it relies on your user profile's permissions.
If Xiaomi asks for an extra security confirmation, mifit login prints a URL: open it, confirm, then run mifit login again.
mifit mcp is a Model Context Protocol server: AI assistants such as Claude Desktop, Claude Code, Cursor and VS Code start it on your computer and read your Mi Fitness data when you ask them about it ("how did I sleep last week?").
What leaves your computer. The results of the tools the assistant calls are sent to the assistant's model provider, like the rest of the conversation. The login stays in ~/.mifit on this computer: the server runs locally on stdin/stdout, opens no network port, never puts a credential in a result, and only reads your health data (the login tools save the new session to ~/.mifit). GPS tracks are off: the server gives a workout's route only when it was started with --allow-gps (in the Claude Desktop extension: when its Allow GPS tracks switch is on) *and* the assistant asks for it, and a route shows where you were, including where you live. (To serve assistants on other machines instead, see Remote access (HTTP): that server does open a port.)
Log in once, in a terminal:
uvx mifit login
(or mifit login after uv tool install mifit). Without a terminal, ask the assistant to log you in: it calls login_start, which returns the QR code to scan with the Xiaomi or Mi Fitness app.
Add the server to your assistant. uvx (part of uv) downloads and runs mifit when needed:
claude mcp add --scope user mifit -- uvx mifit mcp
// Claude Desktop: %APPDATA%\Claude\claude_desktop_config.json
// (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json) {"mcpServers": {"mifit": {"command": "uvx", "args": ["mifit", "mcp"]}}}
// Cursor: ~/.cursor/mcp.json {"mcpServers": {"mifit": {"type": "stdio", "command": "uvx", "args": ["mifit", "mcp"]}}}
// VS Code: .vscode/mcp.json {"servers": {"mifit": {"command": "uvx", "args": ["mifit", "mcp"]}}}
After uv tool install mifit, the command can be mifit with the argument mcp instead. To allow GPS tracks, add --allow-gps after mcp (["mifit", "mcp", "--allow-gps"]).
mifit is also listed in the official MCP Registry as io.github.Jenwein/mifit, for clients that install servers from it.
Claude Desktop, in one click. Download mifit- .mcpb from the latest release and open it (or install it from Claude Desktop's Settings → Extensions): Claude Desktop (Windows, macOS) offers to install the extension. Its settings have an Allow GPS tracks switch, off by default. The extension runs the mifit release it came with: to update, install the .mcpb of the new release. Use either the extension or the JSON config above, not both.
Tools. Each reads one kind of data; dates are local calendar days.
| Tool | What it reads | Per call |
|---|---|---|
get_status | today's date, the time zone, the login state, the GPS setting (nothing from the cloud) | — |
get_steps | steps and distance per day | 92 days |
get_calories | calories per day: resting, active, intake, total | 31 days |
get_activity | activity count, minutes and calories per day | 92 days |
get_heart_rate_daily | heart rate per day: average, maximum, minimum, resting | 92 days |
get_sleep | sleep per day with its sessions; stage timelines on request | 92 days (7 with stages) |
get_spo2_daily | blood oxygen per day | 92 days |
get_stress_daily | stress level per day and the minutes in each stress band | 92 days |
get_weight | weighings | 92 days |
get_workouts | workouts | 92 days |
get_heart_rate | heart-rate samples, in buckets beyond 500 | 7 days |
get_spo2 | blood-oxygen readings, in buckets beyond 500 | 7 days |
get_workout_detail | one workout's per-second samples (outdoor runs and rides), and its GPS track with --allow-gps (the extension: with Allow GPS tracks on) | one workout, ≤ 500 rows |
get_profile | height, weight and daily goals | — |
login_start | log in by QR code (returns the code) | — |
login_status | how that login stands | — |
Results are the records of the Python API with local times (2026-10-07T23:12:00+08:00) instead of Unix seconds, never raw. Dense data is cut down to at most 500 rows and the notes say how. A result is kept for five minutes, so asking again sends no new requests.
Ask in your own words; the assistant picks the tools. For example: "Did my resting heart rate go up this month?"
mifit mcp --transport http runs the same server as a long-running service on streamable HTTP, so assistants on other machines can use it. Run it on the machine that keeps the login, such as a home server on your Tailscale or Headscale tailnet:
uv tool install mifit
mifit login # once, on the server: the session is saved in the server's ~/.mifit mifit mcp --transport http --host 100.64.0.5 --port 8766 --allowed-host mifit.ts.internal:8766
--host ADDRESS: the address to listen on. The default, 127.0.0.1, serves this machine only; give the server's tailnet address to serve the tailnet. 0.0.0.0 listens on every interface.--port PORT: default 8766. --path PATH: the endpoint, default /mcp.--allowed-host HOST[:PORT]: a Host header to accept. The server answers only requests whose Host header it knows, and refuses the others with HTTP 421 (the MCP SDK's DNS rebinding protection, always on). It knows 127.0.0.1, localhost and [::1] (any port) when it listens on loopback or on every interface, and its --host address with the port otherwise. Add each name the clients connect by, as they send it: mifit.ts.internal:8766, or mifit.ts.internal:* for any port. Repeat the option for more names.--allow-gps works as it does on stdio.Dates and local times are counted in the server's time zone. If it is not yours, start the server with yours, such as TZ=Asia/Shanghai (in the systemd unit below, its Environment= line).
At startup the server prints its URL and the Host headers it accepts on standard error. Then add it to each assistant by its URL:
claude mcp add --scope user --transport http mifit http://mifit.ts.internal:8766/mcp
codex mcp add mifit --url http://mifit.ts.internal:8766/mcp
Other clients take the URL as a streamable HTTP (http) server. To log in without a terminal on the server, ask the assistant: login_start returns the QR code in the tool result, nothing opens on the server's screen, and the session is saved on the server. If Xiaomi asks for a security confirmation, run mifit login in a terminal on the server (over SSH, say) and follow it.
Security. The HTTP server has no authentication. Anyone who can reach its port can read your Mi Fitness data through it, and can start a login that replaces you
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요