Developer docs
Choose the skill, CLI, TypeScript SDK, or MCP server for your integration.
The toolkit has four entry points over the same TrainHeroic client and typed data shapes. Choose based on who should drive the work.
Claude Code skill
The fastest way to let a coding agent inspect or operate your TrainHeroic account.
Command-line interface
JSON-in, JSON-out commands for scripts, terminals, and agent subprocesses.
TypeScript SDK
Runtime-agnostic auth, exercises, workouts, athlete history, analytics, and messaging.
MCP servers
Hosted OAuth or local stdio tools for Claude, Cursor, and other MCP clients.
Pick a surface
| If you need to… | Start with… |
|---|---|
| Ask Claude Code to work with your account | Claude Code skill |
| Run repeatable shell commands or emit JSON | CLI |
| Build an application or automation | TypeScript SDK |
| Connect an AI client to typed tools | MCP server |
Runtime requirements
Published packages require Node 18 or a modern runtime with fetch and Web Crypto. Developing
the monorepo itself requires Node 24 and pnpm 11.