kaiord MCP Server
Convert, validate, and inspect workout files (FIT, TCX, ZWO, Garmin Connect) for AI agents.
kaiord scores 70 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under File systems. GitHub shows 13 stars. Package registries report about 324 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
70 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is gradedMaintenance: Grade B
Last commit or release 6 days ago. Down one letter for 100 open issues against 13 stars.
How maintenance is graded
Where the 70 comes from
22 + 20 + 7 + 10 + 4 + 7 = 70. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 7 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: No sign-in detected. Our check reached the endpoint without being asked for credentials. Some servers only check keys after connecting, so follow the provider's setup notes. Security tips
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "pablo-albaladejo-kaiord": { "command": "npx", "args": [ "-y", "@kaiord/mcp@10.5.1" ] } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
Kaiord β Open-Source Health & Fitness Data Framework
kaiord.com | Editor | npm
Kaiord is an open-source framework for creating, converting, and managing health & fitness data.
It provides:
@kaiord/core: a TypeScript library with format adapters for .fit, .tcx, .zwo, and .krd (Kaiord) files, plus Garmin Connect API integration.@kaiord/cli: a command-line tool to convert, validate, and compare files across formats.@kaiord/mcp: an MCP server exposing Kaiord tools to AI agents (Claude Desktop, Claude Code, etc.). Published in the official MCP registry asio.github.pablo-albaladejo/kaiord.- Workout Editor: a web application to create and edit workout files visually.
β¨ Features
- Visual Workout Editor - Create and edit workouts in your browser
- Unified JSON-based format
.krd(Kaiord Representation Definition) - Schema validation (Zod)
- Round-trip safe conversions between FIT / TCX / ZWO / GCN / KRD
- Hexagonal architecture & fully typed API
Supported FIT Fields
Workout Metadata
- Sub-sport categorization: Detailed sport types (trail running, indoor cycling, lap swimming, etc.)
- Pool dimensions: Pool length and unit for swimming workouts
Workout Steps
- Coaching notes: Instructional text for each step (max 256 characters)
- Swimming equipment: Fins, kickboard, paddles, pull buoy, snorkel
Duration Types
- Time & distance: Standard interval durations
- Calorie-based: Steps ending after burning specified calories
- Power-based: Steps ending based on power thresholds (watts)
- Heart rate conditionals: Steps ending based on HR thresholds (bpm)
- Repeat conditionals: Repeat blocks until time/distance/calories/HR/power targets reached
Known Limitations
- Training Stress Score (TSS): The
training_peaks_tssduration type is not yet implemented in the FIT converter. This is a TrainingPeaks-specific metric that requires additional mapping logic. Contributions welcome!
π Local-first architecture
Kaiord is local-first: your data lives on your device, because there is no Kaiord server to send it to. There are no accounts and no backend.
- Storage is your browser's IndexedDB. The Workout Editor persists every workout, template, profile, and setting in a local Dexie.js / IndexedDB database (
new KaiordDatabase()indexie-database.ts), and the UI reads it reactively throughuseLiveQuery. Nothing is written to a remote database β see the "Persisted data β Dexie" rule in State Management. - Conversions run entirely on your machine. FIT / TCX / ZWO / GCN β KRD conversion happens in-process β client-side in the editor (
import-workout-formats.ts,export-workout-formats.ts) or locally in the@kaiord/cli. Files never leave your device to be converted. - Sync is opt-in and goes to your cloud. Data leaves the device only if you connect Google Drive. The cloud-sync adapter uses the Google Identity Services
drive.appdatascope, so synced data lands in your own Drive's app folder; the access token lives only in memory for the session and is never persisted by Kaiord. - Integrations use your logged-in session β no credential proxy. Garmin, WHOOP, and Train2Go connect through browser-extension "bridges" (
garmin-bridge,whoop-bridge,train2go-bridge) that piggyback on your existing browser session. Peropenspec/specs/adapter-contracts/spec.md, a bridge "SHALL NOT store, transmit, or manage user credentials"; authentication is "delegated entirely to the browser's cookie jar." No third-party server proxies your credentials or your data. - Works offline. Because all logic and storage are client-side, the editor keeps working with no network connection once loaded.
π Documentation
Comprehensive documentation is available in the /docs directory:
- Getting Started - Installation, basic usage, and quick examples for both library and CLI
- Architecture - Hexagonal architecture, ports & adapters pattern, and design principles
- Testing - Testing strategy, TDD workflow, and coverage requirements
- Deployment - CI/CD pipeline, GitHub Pages deployment, and npm publishing
- Contributing - Contribution guidelines, development workflow, and code standards
- KRD Format - Complete specification of the Kaiord Representation Definition format
- AI Agents - Guidance for AI-assisted development
π§© Tech Stack
| Layer | Tooling |
|---|---|
| Core | TypeScript, tsdown, Zod |
| CLI | yargs |
| Web App | React, Zustand, Tailwind, Radix UI |
| Testing | Vitest, Playwright |
| Package manager | pnpm |
π Monorepo Layout
kaiord/
ββ packages/
β ββ core/ β domain types, schemas, ports & use cases
β ββ fit/ β Garmin FIT format adapter
β ββ tcx/ β Training Center XML adapter
β ββ zwo/ β Zwift ZWO format adapter
β ββ garmin/ β Garmin Connect API adapter
β ββ cli/ β command-line interface
β ββ mcp/ β MCP server for AI/LLM integration
β ββ workout-spa-editor/ β web application (https://kaiord.com/app/)
ββ docs/ β documentation
ββ LICENSE
ββ README.md
ββ pnpm-workspace.yaml
π Quick Start
Try the Web App
Create and edit workouts visually in your browser. No installation required.
Use the Library
pnpm install
pnpm -r build
pnpm -r test
# Example usage
pnpm kaiord --help
For detailed installation instructions and usage examples, see the Getting Started Guide.
π CI/CD Pipeline
Kaiord uses GitHub Actions for continuous integration and deployment:
- Automated Testing: Multi-version testing on Node.js 22.x (Maintenance LTS) and 24.x (Active LTS)
- Code Quality: ESLint, Prettier, and TypeScript strict mode validation
- Release Automation: Changesets for version management and npm publishing
- Security: Weekly dependency vulnerability audits, CodeQL static analysis, and automated dependency updates
For complete CI/CD documentation, deployment guides, and npm publishing instructions, see Deployment.
Mechanical invariant guards
Beyond linting, the repo enforces its architecture and conventions with 60+ purpose-built guard scripts under scripts/, each with its own co-located test suite. They run on every commit (husky pre-commit) and in CI (pnpm test:scripts), and cover, among others:
- Hexagonal architecture β layer purity, adapter isolation, and the
packages/core/src/directory allowlist (check-architecture.mjs) - Package dependency graph β every
@kaiord/*dependency must match the spec table (check-package-deps.mjs) - Test conventions β
should-prefixed titles and Arrange/Act/Assert structure on every test (check-test-title-should.mjs,check-test-aaa.mjs) - Privacy β no runtime values interpolated into toasts or console logs (
check-no-pii-leakage.mjs) - State discipline β no Zustand store writes persistence directly (
check-no-zustand-writethrough.mjs) - Spec hygiene β OpenSpec format, archive dates, and auto-generated indexes stay in sync (
check-spec-format.mjs,check-archive-*.mjs)
If a rule matters here, a script enforces it β documentation describes the rules, but the guards are what make them true.
Contributing
To contribute to Kaiord:
- Fork and clone the repository
- Create a feature branch:
git checkout -b feature/my-feature - Make your changes following the code style guidelines
- Add a changeset:
pnpm exec changeset(for version-worthy changes) - Test locally:
pnpm -r testandpnpm -r build - Submit a PR: All checks must pass before merging
For detailed contribution guidelines, development workflow, and code standards, see Contributing.
π References & Resources
Format Specifications
- Garmin FIT SDK (JavaScript) - Official FIT protocol implementation
- FIT Workout Files Cookbook - Guide to encoding workout files
- FIT File Types: Workout - Workout file type specification
- Training Center XML (TCX) - Garmin's XML-based format
- TCX Schema (XSD) - Official Garmin TCX schema definition
- Zwift Workout Format (ZWO) - Zwift's XML-based workout format
β€οΈ Support
If you find Kaiord useful, consider supporting its development:
- β Star this repo to help others discover it
- π Sponsor on GitHub
- β Buy me a coffee
Your support helps maintain and improve Kaiord for the fitness community!
Built by Pablo Albaladejo
π License
MIT Β© 2025 Pablo Albaladejo See LICENSE for details.
Frequently asked questions
What is kaiord MCP Server?
Convert, validate, and inspect workout files (FIT, TCX, ZWO, Garmin Connect) for AI agents.
How do I install kaiord MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. kaiord MCP Server runs locally from the npm package @kaiord/mcp with the command npx -y @kaiord/mcp@10.5.1.
Is kaiord MCP Server free and open source?
Yes. kaiord MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does kaiord MCP Server support remote (HTTP) connections?
Yes. kaiord MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is kaiord MCP Server's trust score calculated?
kaiord MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetβBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.