ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

mifit

โดย Jenweinรุ่น 0.4.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Jenwein/mifit

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Read-only access to your own Mi Fitness (Xiaomi) data: sleep, heart rate, steps, workouts

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio, Streamable HTTP
  • หมวด: คลินิกและสุขภาพ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "mifit": {
      "command": "uvx",
      "args": [
        "mifit",
        "mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add mifit -- uvx mifit mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "mifit": {
      "command": "uvx",
      "args": [
        "mifit",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "mifit": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mifit",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Jenwein ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด คลินิกและสุขภาพi

  • ดาวมากกว่า 0% ของอีก 866 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 73% ของอีก 866 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 866 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

mifit ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 9 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Mirobody, FHIR MCP Server, Google Health MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Mirobody

โดย thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

รันบนเครื่อง★ 1,408Apache-2.0อัปเดต 5 วันที่ผ่านมา
ติดตั้ง

FHIR MCP Server

โดย wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

รันบนเครื่อง★ 137Apache-2.0อัปเดต 9 วันที่ผ่านมา
ติดตั้ง

Google Health MCP

โดย davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

รันบนเครื่อง★ 79MITอัปเดต 4 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mifit

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.

What it reads today

DomainWhat you getrecords typeChecked against the app
stepssteps and distance per dayStepRecordyes
heart_rateraw heart-rate samplesHeartRatePointyes
heart_rate_dailyheart rate per day: average, maximum, minimum, restingHeartRateDailySummaryyes
consumptioncalories per day: resting, active, intake, totalConsumptionRecordyes
sleepsleep per day: totals, stage minutes, sessions with their stage timelineSleepRecord → SleepSession → SleepStageyes; the sleep score could not be checked and is in raw only
workoutsone entry per workout: start and end, sport, duration, distance, active and total calories, average and maximum heart rate, stepsWorkoutyes
workout_detailper workout (outdoor runs and rides): per-second samples (heart rate, cumulative distance and steps, cadence, pace or speed) and the GPS trackWorkoutDetail → WorkoutSample / TrackPointyes (one outdoor run, one ride); altitude is in raw only: the run's was a few metres off the app's
spo2_dailyblood oxygen (SpO2) per day: average, maximum, minimumSpo2DailySummaryyes
spo2raw SpO2 readingsSpo2Pointyes
stress_dailystress level per day: average, highest, lowest, and minutes in each stress band (relaxed, mild, moderate, severe)StressDailySummaryyes
activity_dailyactivity per day, as on the app's 活力指标 page: activity count (活动次数), activity minutes (活动时长), active calories (卡路里)ActivityDailySummaryyes
weightweight entries: time, weight, BMI (body composition in raw only)WeightRecordyes; 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 goalsUserProfileyes
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 themnone: the service's rows, uninterpretednot 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.

Install

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

Log in

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.

Use with an AI assistant (MCP)

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.

ToolWhat it readsPer call
get_statustoday's date, the time zone, the login state, the GPS setting (nothing from the cloud)—
get_stepssteps and distance per day92 days
get_caloriescalories per day: resting, active, intake, total31 days
get_activityactivity count, minutes and calories per day92 days
get_heart_rate_dailyheart rate per day: average, maximum, minimum, resting92 days
get_sleepsleep per day with its sessions; stage timelines on request92 days (7 with stages)
get_spo2_dailyblood oxygen per day92 days
get_stress_dailystress level per day and the minutes in each stress band92 days
get_weightweighings92 days
get_workoutsworkouts92 days
get_heart_rateheart-rate samples, in buckets beyond 5007 days
get_spo2blood-oxygen readings, in buckets beyond 5007 days
get_workout_detailone 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_profileheight, weight and daily goals—
login_startlog in by QR code (returns the code)—
login_statushow 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?"

Remote access (HTTP)

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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx