# trainctl MCP server

> Lets an AI agent act as a research-backed running coach by managing training plans as code in a git repository.

- Repository: https://github.com/dithiothreitol/trainctl
- Page: https://hostedmcp.org/servers/dithiothreitol/trainctl
- Transport: —
- Stars: 1
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `TRAINCTL_DIR` | no | no |  |
| `TRAINCTL_INTERVALS_API_KEY` | no | no |  |
| `TRAINCTL_LANG` | no | no |  |

## FAQ

### Does trainctl require an account or a database?

No, it requires no account, no database, and no backend. Everything is stored as files in your current directory.

### How does the AI agent use trainctl?

The MCP server allows an AI agent like Claude Code or Codex to access your training plan and act as a coach through the tool.

### What are the system requirements for installation?

The only requirement is Node.js version 22.18 or higher.

### Can I use my own race results to set training zones?

Yes, zones are derived from your race results rather than watch estimates.
