What it does
An unofficial connector that saves your Mi Fitness records to a local SQLite database and exports them as CSV or JSON. It also has a Python interface and a local MCP server for queries. It relies on private upstream interfaces, so login, device support and some data types can stop working when Xiaomi changes its services.
Use cases
- 01Export your own activity records to CSV
- 02Keep a local SQLite copy of sleep records
- 03Test the export with the synthetic demo first