durability-mcp
This server lets you inspect local FIT-file durability summaries through read-only MCP tools, without returning GPS coordinates.
List outdoor runs with
signal,no_signal, ornot_evaluablestatus, with optional date filters and pagination.Get drift, magnitude, onset, and gate status for a specific run file, or why it cannot be evaluated.
Summarize durability trends over time and compare latest runs against the runner's own earlier runs; no prediction is made.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@durability-mcp show my durability trend from my recent outdoor runs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
durability-mcp
A local, read-only MCP tool that summarises running durability from your own FIT files.
Your files stay on your computer: the tool runs on your machine, reads one folder, and returns no GPS coordinates. Before a run, its forward estimate is a shrunk personal average, because no trained model beat that baseline before a run starts. The optional [models] extra adds the fusion model, which predicts a run from its first 40% and shows the result next to simple baselines. This is a research measure, not a diagnosis.
Requires uv.
Try it on generated files
uvx --from git+https://github.com/ata412/durability-mcp durability-mcp-demoThe demo uses SYNTHETIC files whose answers were set in advance. It shows that the tool works as designed, not that it is accurate.
Related MCP server: vitals-mcp
Check your own files without an AI client
uvx --from git+https://github.com/ata412/durability-mcp durability-mcp-check /path/to/your/fit/folderPut the .fit files directly in the folder. Nothing leaves your computer. Add --json for machine-readable output.
Test the MCP server without an AI client
This starts the server and calls it over the real MCP protocol, the same way an AI client does, then prints each tool's summary. No AI is involved and nothing leaves your computer.
# index tools only
uvx --from git+https://github.com/ata412/durability-mcp durability-mcp-selftest /path/to/your/fit/folder
# with the fusion model tool (large download on first run)
uvx --from "durability-mcp[models] @ git+https://github.com/ata412/durability-mcp" durability-mcp-selftest /path/to/your/fit/folderOn Windows, use a path such as C:\path\to\fit\folder. Add --json to print every tool result in full. With the [models] extra the tool list should include get_fusion_predictions; if it does not, the model libraries did not install.
Example output (one runner's COROS export):
Tools offered by the server: list_durability_runs, get_durability_indices, get_durability_trend, get_expected_next_run, get_fusion_predictions
[get_durability_trend]
76 outdoor runs: 1 signal, 2 no signal, 73 not evaluable.
[get_fusion_predictions]
EAT scored 1 gate-passing run(s) out of 76 outdoor runs. ...Use it with an MCP client
Add this to your MCP client's configuration:
{
"mcpServers": {
"durability": {
"command": "uvx",
"args": ["--from", "git+https://github.com/ata412/durability-mcp", "durability-mcp"],
"env": {"DURABILITY_FIT_DIR": "/path/to/your/fit/folder"}
}
}
}Your MCP client may send tool results to its own AI service, so read its privacy terms. Results can include dates, durations and index values.
Tool | Returns |
| Outdoor runs with status and reason |
| Drift, magnitude, onset and status for one run |
| Status counts and latest runs against your own earlier runs |
| Expected drift and magnitude for your next evaluable run, with typical error |
|
|
Statuses: signal (both gate conditions met), no_signal (QC passed, gate not met), not_evaluable (first failing QC rule given).
Model tool (optional, research use)
Install the [models] extra to add get_fusion_predictions. It runs the saved EAT fusion model (a stack of tree experts and the E31 blend, combined by an expert-attention network) on runs that pass the gate, and lists E31, the training mean and your own shrunk average beside what actually happened.
{
"mcpServers": {
"durability": {
"command": "uvx",
"args": ["--from", "durability-mcp[models] @ git+https://github.com/ata412/durability-mcp", "durability-mcp"],
"env": {"DURABILITY_FIT_DIR": "/path/to/your/fit/folder"}
}
}
}The models were trained on FitRec (Endomondo) and GoldenCheetah runs. FitRec is licensed for academic use only, so use these files for research and do not redistribute them.
On development data (MEASURED EXPLORATORY, not an independent test) EAT tied E31 on drift and reduced magnitude error by about 1.3%. On the one real watch export tested, only one run could be scored, so nothing is known about accuracy on real watch files.
The model libraries are large (PyTorch, LightGBM, XGBoost, CatBoost). Without the extra, the tool runs without this model tool.
Limits
Tested on one runner's COROS export only, where most runs were not evaluable (MEASURED: 73 of 76). Other brands may behave differently.
Needs an outdoor run with GPS and heart rate, 45 to 240 minutes long, at a steady pace.
One run is weak evidence. Prefer the trend over several runs.
Available Tools
3 toolsget_durability_indicesARead-onlyIdempotent
Return drift, magnitude, onset and gate status for one run, or why it cannot be evaluated. No GPS is returned.
Inputs: file (required). Returns: object
get_durability_trendBRead-onlyIdempotent
Summarise runs over time and compare the latest runs with this runner's own earlier runs. No prediction is made.
Inputs: end_date, start_date. Returns: object
list_durability_runsBRead-onlyIdempotent
List outdoor runs with status signal, no_signal or not_evaluable. Dates are YYYY-MM-DD. No GPS is returned.
Inputs: limit, offset, end_date, start_date. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct scope: listing runs, evaluating one run's indices, and summarizing/trending over time. The descriptions explicitly delimit one-run vs aggregate analysis, so boundaries are clear.
All three names follow the same snake_case verb_durability_noun pattern: list_durability_runs, get_durability_indices, get_durability_trend. No mixed conventions or vague verbs.
Three tools are well-scoped for a focused read-only durability analytics server: list, detail, and trend. Each earns its place without redundancy.
The surface covers the natural read-only workflow: discover runs, inspect per-run durability indices with non-evaluable explanations, and compare trends over time. No create/update/delete is needed for this analysis-only domain.
Maintenance
Related MCP Connectors
Your swim, bike and run training: readiness, HRV, sleep, workouts and race predictions. Read-only.
Your own cycling data for your AI assistant: rides, power, climbs and routes. Read-only.
Ask your AI about your fitness: activities and data from Garmin, COROS, Strava, GPX and more
Your swim, run and ride training, explained. For coaches and athletes, computed from Garmin data.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables local, read-only access to Oura API v2 data, returning pre-shaped physiology such as sleep, chronotype, temperature shifts, and baseline drift for interpretation by AI clients.91MIT
- AlicenseBqualityCmaintenanceEnables MCP clients to query locally computed recovery, strain, sleep, workout, and heart-rate data from a personal SQLite database, with tools for daily and sleep summaries, workout details, heart-rate buckets, schema inspection, reports, sync, and read-only SQL.8MIT
- AlicenseNot gradedqualityAmaintenanceEnables read-only access to WHOOP recovery, sleep, HRV, strain, and workout data so users can ask natural-language questions about daily readiness, personal baselines, sleep debt, and trends, plus HYROX and triathlon performance readiness and auditing. It runs locally with summary and aggregate modes, keeping data on the user's machine and sharing results only with the chosen AI assistant.14 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables read-only access to WHOOP recovery, sleep, HRV, strain, workout, and race-performance data so assistants like Claude, Codex, and GitHub Copilot can answer personal health questions, compare trends against personal baselines, and audit HYROX or triathlon training with local, evidence-backed dashboards. Includes aggregate mode, local-only race logging, and verification tools for recomputing claims.14 npmMIT