Intervals.icu MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Intervals.icu MCP Server (TypeScript)
Model Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API. It provides tools for authentication and data retrieval for activities, events, and wellness data.
This is the TypeScript/Node.js implementation, inspired by the Python version.
Requirements
Node.js 18.0.0 or higher
npm or yarn
Related MCP server: Intervals.icu MCP Server
Setup
1. Clone this repository
git clone <your-repo-url>
cd intervals-mcp-node2. Install dependencies
npm install3. Set up environment variables
Make a copy of .env.example and name it .env:
cp .env.example .envThen edit the .env file and set your Intervals.icu athlete ID and API key:
API_KEY=your_intervals_api_key_here
ATHLETE_ID=your_athlete_id_hereGetting your Intervals.icu API Key
Log in to your Intervals.icu account
Go to Settings > API
Generate a new API key
Finding your Athlete ID
Your athlete ID is typically visible in the URL when you're logged into Intervals.icu. It looks like:
https://intervals.icu/athlete/i12345/...wherei12345is your athlete ID
4. Build the project
npm run buildDevelopment
To run the server in development mode with auto-reload:
npm run devTo run the built server:
npm startUsage with Claude Desktop
1. Configure Claude Desktop
Add this server to your Claude Desktop configuration file (claude_desktop_config.json):
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"Intervals.icu": {
"command": "node",
"args": [
"/absolute/path/to/intervals-mcp-node/dist/index.js"
],
"env": {
"API_KEY": "your_api_key_here",
"ATHLETE_ID": "your_athlete_id_here",
"INTERVALS_API_BASE_URL": "https://intervals.icu/api/v1"
}
}
}
}Replace /absolute/path/to/intervals-mcp-node with the actual path to this project directory.
2. Restart Claude Desktop
After updating the configuration, restart Claude Desktop. You should see the Intervals.icu tools available in Claude.
Available Tools
The server provides the following MCP tools:
get_activities - Retrieve activities for a date range
get_activity_details - Get detailed information about a specific activity
get_activity_intervals - Get intervals for an activity
get_activity_streams - Get time series data (power, heart rate, etc.) for an activity
get_events - Retrieve events (workouts, races) for a date range
get_event_by_id - Get a specific event by ID
add_event - Add a new event to the calendar
delete_event - Delete an event from the calendar
get_wellness_data - Get wellness data (fitness, fatigue, sleep, etc.)
Project Structure
intervals-mcp-node/
├── src/
│ ├── api/
│ │ └── client.ts # API client for Intervals.icu
│ ├── tools/
│ │ ├── activities.ts # Activity-related tools
│ │ ├── events.ts # Event-related tools
│ │ └── wellness.ts # Wellness-related tools
│ ├── utils/
│ │ ├── formatting.ts # Formatting utilities
│ │ └── validation.ts # Validation utilities
│ ├── config.ts # Configuration management
│ ├── types.ts # TypeScript type definitions
│ └── index.ts # Main server entry point
├── dist/ # Compiled JavaScript output
├── package.json
├── tsconfig.json
├── .env.example
└── README.mdDevelopment Guidelines
TypeScript: All source code is written in TypeScript with strict type checking
Linting: Use
npm run lintto check code styleTesting: Run tests with
npm test(tests to be implemented)
Troubleshooting
Server fails to start
Ensure all dependencies are installed:
npm installBuild the project:
npm run buildCheck that your
.envfile contains valid credentials
Claude Desktop doesn't see the server
Verify the path in
claude_desktop_config.jsonis absolute and correctEnsure the built
dist/index.jsfile existsRestart Claude Desktop completely
API authentication errors
Verify your API key is correct in the
.envfileCheck that your athlete ID matches your Intervals.icu account
Ensure your API key hasn't expired
License
GPL-3.0-only
Author
Vincent Racelle
Credits
This project is inspired by and based on the Python implementation by Marc Vilanova.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect Intervals.icu to Claude and ChatGPT: read training, plan workouts. Training never stored.
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
Intervals.icu MCP server for ChatGPT, Claude and any AI agent: list activities, get activity with intervals, list wellness, list calendar events, create planned workout, update planned workout, delete calendar event and log daily wellness in your own Intervals.icu account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Intervals.icu yourself; Cotlet does not store your password and you need no Intervals.icu API key. About the official Intervals.icu API: Yes, Intervals.icu has a public REST API (checked 6 Nov 2026). You generate a personal API key under Developer Settings for your own data, and apps for many users use OAuth. Setup and FAQ: https://cotlet.dev/integrations/intervals-icu-api-mcp-server
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Related MCP Servers
- AlicenseAqualityDmaintenanceConnects Claude with the Intervals.icu API to retrieve fitness data including activities, workouts, wellness metrics, and training events.10399GPL 3.0
- AlicenseNot gradedqualityCmaintenanceConnects to Intervals.icu to let users query training data, create workouts, manage calendar events, and coach athletes through natural language in Claude Desktop.ISC
- AlicenseAqualityDmaintenanceEnables Claude and ChatGPT to retrieve and manage activities, intervals, events, wellness data, power curves, and custom items through the Intervals.icu API.21GPL 3.0
- AlicenseAqualityBmaintenanceEnables Claude and ChatGPT to access and manage Intervals.icu data, including activities, events, wellness metrics, power curves, and custom items through natural language.26GPL 3.0