Xert MCP logo

Xert MCP

by Milofax

Connects Claude to XERT for cycling fitness data, workouts, activities, XSS metrics, and FIT-file analysis.

Install Xert MCP

Run the project’s own setup commands, in order.

Setup steps from the project

Milofax/xert-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/Milofax/xert-mcp.git
    
  2. 2. Install
    cd xert-mcp
    
  3. 3. Install
    npm install
    
  4. 4. Sign in
    npm run setup-auth
    
  5. 5. Install
    npm run build
    
  6. 6. Install
    docker build -t xert-mcp .
    

Overview

Milofax/xert-mcp MCP server connects Claude to the XERT API for cycling analytics and training data. It retrieves fitness signatures, training status, load, Workout of the Day recommendations, saved workouts, and activities with XSS and MPA metrics. The server uses XERT account authentication, stores access and refresh tokens locally, and refreshes access tokens when needed. Reach for it when an agent needs to inspect XERT data, export workouts, or submit FIT files for analysis.

Use cases

  • Check current FTP and training status
  • Review recent rides and XSS metrics
  • Inspect saved workout intervals
  • Export workouts as ZWO or ERG files
  • Upload FIT files for XERT analysis

Key features

  • Fitness signature and training-status queries
  • Saved workout listing and interval details
  • ZWO and ERG workout export
  • Activity history with XSS metrics
  • MPA activity analysis
  • FIT-file upload

Tools7

What Xert MCP lets your agent do. Expand a tool for its parameters.

Self-reported~93 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/22 checks healthy over the last 113d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit9mo agoMost recent push to the default branch.
Tools exposed7Callable tools this server registers over MCP.
Directory activity1 installsConfig copies, upvotes, and views on AllMCPs.

How Xert MCP works

What Milofax/xert-mcp MCP server does

Milofax/xert-mcp MCP server exposes selected XERT account and analysis functions through MCP. It is aimed at cyclists who want Claude or another compatible MCP client to query training data without manually navigating the XERT interface.

The server can return a current fitness signature containing FTP, LTP, HIE, and Peak Power. It also provides training status information, including freshness, training load, recommended XSS, and the Workout of the Day. These outputs give an agent access to both longer-term performance indicators and current training context.

Workout support covers saved-workout discovery, detailed interval inspection, and export in ZWO or ERG format. Activity support includes date-range listing and individual activity details with XSS metrics and MPA data. FIT-file uploads are available for sending ride data to XERT for analysis.

How it works

The project is a Node.js MCP server that communicates with the XERT API. The documented prerequisites are Node.js 18 or later and an XERT account; the account may be free or premium. After authentication, the server can be registered as a local process in Claude Desktop using Node and the built server entry point.

Its MCP tools are organized around training information, workouts, activities, and FIT uploads. For example, a client can request recent activities, retrieve one activity’s metrics, inspect a workout’s intervals, or export a selected workout for use in a compatible training application.

Setup and configuration

To run Milofax/xert-mcp MCP server, clone the repository, install its npm dependencies, and run the provided authentication setup script. That script prompts for the XERT email address and password and saves authentication data locally. Build the project before starting the production server.

Claude Desktop configuration points to the generated dist/server.js file and starts it with node. The README provides configuration locations for macOS and Windows. A Docker option is also documented: build the image locally, authenticate first, and pass XERT_ACCESS_TOKEN and XERT_REFRESH_TOKEN into the container.

Authentication data is persisted in xert-tokens.json. The server refreshes access tokens after authorization failures and persists replacement tokens. If authentication cannot be recovered, run the setup-auth script again. When environment variables are used alongside the token file, the stored token file takes precedence.

Tools and capabilities

  • xert-get-training-info returns fitness signature values, training status, load, and the Workout of the Day.
  • xert-list-workouts lists saved XERT workouts.
  • xert-get-workout returns workout interval details.
  • xert-download-workout exports a workout as ZWO or ERG.
  • xert-list-activities lists activities within a requested time range.
  • xert-get-activity returns activity details with XSS metrics.
  • xert-upload-fit uploads a FIT file for analysis.

Limitations and notes

Milofax/xert-mcp MCP server requires an XERT account and valid authentication. Tokens are not permanent: access-token expiry may require rerunning authentication and updating Docker configuration when refreshed values are needed. The project is released under the MIT license.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Xert MCP

Clone the repository, run npm install, authenticate with npm run setup-auth, and build with npm run build. Configure Claude Desktop to start the resulting dist/server.js file with Node.js.

Yes.

It can access fitness signature values, training status, load, Workout of the Day information, saved workouts, activities, XSS metrics, and MPA data.

The server refreshes access tokens automatically when possible and saves new tokens. Access tokens expire after seven days; if authentication fails completely, run npm run setup-auth again.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewXert MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/milofax-xert-mcp?style=directory)](https://allmcps.com/mcp/milofax-xert-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/milofax-xert-mcp"><img src="https://allmcps.com/api/badge/milofax-xert-mcp?style=directory" alt="Xert MCP on AllMCPs" /></a>