Mi Fitness Data Bridge
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MI_FITNESS_DB_PATH | No | Path to the SQLite database file. Overrides the default location. Can also be set via --db flag. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_connection_statusC | Check connection status |
| sync_dataC | Synchronize Mi Fitness data |
| get_sync_statusC | Get background synchronization status |
| get_profileB | Get user profile information |
| get_daily_summaryC | Get daily activity summary |
| query_metric_seriesD | Query metric series |
| query_heart_rateC | Query heart rate samples |
| query_body_measurementsD | Query body measurements |
| query_sleepC | Query sleep sessions |
| query_workoutsD | Query workouts |
| workout_seriesA | Get an agent-safe, auto-downsampled time series for a workout metric (contract agent-safe-series/v1). Points carry numeric t offsets in seconds from start_time. Always reports downsampled/source_points/returned_points/method plus full-resolution summary stats; never returns more than max_points points. For cross-activity comparison of time_in_zone, pass reference_max_hr (e.g. the athlete's known max HR); otherwise each activity is normalized to its own max and zone distributions are not comparable across activities. |
| query_spo2C | Query blood oxygen saturation samples |
| query_stressC | Query stress samples |
| query_abnormal_heart_beatC | Query abnormal heart beat events |
| get_data_coverageD | Get data coverage |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shkyyy18/mi-fitness-data-bridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server