TrainingDojo
TrainingDojo Guides12 min read

TrainingDojo MCP for Claude, ChatGPT, and Gemini Training Apps

Connect Claude, ChatGPT, Grok, Muse, Gemini, and other AI apps to review your training, build workouts, and update your plan.

••Updated November 20, 2026

TrainingDojo MCP connects Claude, ChatGPT, Grok, Muse, Gemini, and other AI apps directly to your training platforms. Once connected, your AI stops being a chat window you copy-paste plans out of and becomes a working endurance coach: it reads your TrainingPeaks and Intervals.icu history, checks your sleep and HRV, builds structured workouts and multi-week plans, pushes them straight onto your calendar, and adapts the week when life happens.

This page is the complete user guide: what the MCP can do, supported setup paths for Claude, ChatGPT/OpenAI, Grok, Muse, and Gemini, a full reference for every tool, and troubleshooting. Free accounts can connect and read training history, calendars, and wellness. Pro and Coach add activity streams, route matching, course analysis, and workout and plan management.

What the MCP Actually Does

MCP (Model Context Protocol) is an open standard that lets AI apps call external tools. TrainingDojo runs a remote MCP server at https://trainingdojo.app/api/mcp that exposes its tools to whatever AI you already use. The AI app and provider you choose handle every conversation, inference, and generation under your account. TrainingDojo MCP never calls TrainingDojo’s AI models or uses TrainingDojo AI credits; it provides the platform connections and tool pipeline. TrainingDojo receives authenticated tool inputs and returns their data or action results, not the rest of your provider conversation. This MCP boundary is separate from TrainingDojo’s web AI features, which remain TrainingDojo-hosted.

The coaching loop it unlocks looks like this:

  1. Understand. Your AI pulls your training history, recent activities, and wellness data (sleep, HRV, fatigue, weight) from your connected platforms.
  2. Plan. It designs a training block grounded in your real load — then pushes the whole plan to TrainingPeaks or Intervals.icu in one call.
  3. Build. It constructs precise structured workouts (intervals, ramps, power and pace targets), validates them for free, and pushes them to your calendar.
  4. Adapt. After a session: "How did I do in yesterday's threshold workout?" After a rough night: "I slept terribly — ease off the next two days." The AI reads the completed activity, checks your wellness data, and updates or reschedules the upcoming workouts on the platform.

Requirements

  • A TrainingDojo account. Free accounts can connect. Creating developer keys requires a paid plan. Existing keys follow your current plan, including when your subscription lapses.
  • At least one connected platform — TrainingPeaks or Intervals.icu — set up in Settings → Integrations.
  • A supported AI app: Claude web/desktop, ChatGPT Plus or Pro, Codex, ChatGPT Work mode, Grok, Grok Bot, Muse, or eligible Gemini Spark.

Getting Started

Open TrainingDojo MCP setup, choose your AI app, and follow its short connection steps. The normal flow opens TrainingDojo in your browser so you can sign in and approve access; you do not create or paste a developer key.

  • Server URL: https://trainingdojo.app/api/mcp
  • Authorization: secure browser sign-in. Your AI app stores the connection after you approve it.

Choose Your Client Guide

  • Claude setup — add it from the Claude directory for web, desktop, and mobile; Claude Code is the advanced path.
  • ChatGPT setup — add it from the ChatGPT directory for web, desktop, and mobile; Codex, Work mode, and Developer mode are in the same guide.
  • Grok and Grok Bot setup — a custom connector on grok.com or in Grok Bot on X, with the same browser sign-in.
  • Muse setup — a custom connector with OAuth in Muse.
  • Gemini setup — custom app in Gemini Spark; Gemini CLI is the advanced path.

ChatGPT Developer mode remains available as a manual path. Work-mode access can depend on workspace administrator policy, and Gemini custom apps remain limited by Gemini Spark eligibility rules.

Platform Capabilities

Not every platform supports every operation. Your AI can call get_connected_platforms at any time to discover exactly what's available on your account; this is the current matrix:

CapabilityTrainingPeaksIntervals.icu
Training history analysisYesYes
Recent activities + activity detailYesYes (with per-interval breakdown)
Wellness data (sleep, HRV, fatigue, weight)YesYes
Read upcoming calendarYesYes
Push structured workouts + plansYesYes
Update / delete planned workoutsYesYes

TrainingDojo no longer provides Strava data to AI assistants. For Strava access, use Strava’s official connector in Claude or Gemini.

Free, Pro, and Coach Access and AI Usage

Free includes the same history, calendar, and roster coverage as paid plans, plus three lifetime single-workout publishes. Pro and Coach add activity streams, route matching, course analysis, bulk publishing, calendar changes, comments, and plan management. All enabled tools remain listed. Paid-only tools return a plan requirement. MCP uses no TrainingDojo AI or structured-workout credits. MCP request safety limits and platform pacing still apply.

Your connected AI builds plan rows or structured-workout JSON in its own context, checks workout JSON with validate_structured_workout, and publishes it with the appropriate push tool. Tool results include structured content plus a readable text fallback for clients that cannot render structured output.

Tool Reference

Tools are grouped by purpose. Optional parameters are marked; every tool returns structured content and a readable text fallback. TrainingPeaks coaches can add athlete_id? to the calendar, activity, wellness, history, update, delete, and push tools to work with one attached athlete for that request; the athlete saved in Settings never changes. Coaches can also add hidden_from_athlete? to the push and update tools to keep a draft hidden from the athlete until they reveal it. TrainingPeaks push, move, and publish tools check availability first and refuse dates the athlete marked unavailable (or limited to other sports) unless the AI passes allow_unavailable? after you confirm. If availability cannot be read, the write proceeds and the result says the check failed.

Discovery & Profile

ToolWhat it doesParametersReturns
get_connected_platformsLists your connected platforms and each one's capability flags. The recommended first call in any coaching conversation.nonePer-platform connection status, athlete info, and capabilities
get_athlete_profileReads local preferences or the selected athlete’s current training zones.platform?, athlete_id? for TrainingPeaksWeight and builder settings by default. With a platform, thresholds and zone bounds by sport with units.
update_athlete_profilePersists profile settings surfaced in conversation. Only fields you pass are changed.body_weight_kg?, workout_builder_settings?Updated profile
get_athlete_contextReads saved Markdown coaching notes for you or an attached TrainingPeaks athlete.athlete_id?Saved notes and their update time, or guidance when there are no notes
save_athlete_contextReplaces the full coaching document. An empty string deletes it.content, athlete_id?Save or delete confirmation
list_trainingpeaks_athletesLists the athletes on a TrainingPeaks coach account so the AI can target one with athlete_id.noneAthlete IDs and names (no contact details), the coach's time zone, and compliance metric priority
submit_feedbackReports an MCP issue and proposed fix to TrainingDojo support. Available on all plans.kind, summary, details, proposed_fix, tool_name?, error_code?Confirmation that the email was accepted

Training History & Analysis

ToolWhat it doesParametersReturns
get_trainingpeaks_history / get_intervals_historyFetches and analyzes recent training history from that platform.weeks_back? (1–52, default 13)Volume totals, weekly averages, sport mix, CTL/ATL/TSB trend, consistency, long-session patterns
list_recent_activitiesLists completed activities with summary metrics so the AI can find a session to discuss.platform, days_back? (1–90, default 14) or from_date? and to_date?Rows with date, name, sport, duration, distance, TSS/load, avg power/HR, and activity IDs
get_activity_detailFull detail of one completed session — the "how did I do?" tool.platform, activity_id, include_intervals?, include_best_efforts?Activity data with optional interval breakdown. TrainingPeaks adds comments, RPE, planned interval scores, and peak power with work before each effort.
get_power_curveReads recorded cycling bests from TrainingPeaks or Intervals.icu.platform, from_date?, to_date?, athlete_id? (TrainingPeaks coaches)Best average watts by duration with dates and activity IDs when available. Defaults to 90 days, up to 366.
get_course_analysisAnalyzes a race course from a recce ride or an uploaded GPX or FIT course (Pro and Coach).activity_id + platform or course_id, sport, race_type, wind?, weight_kg?, athlete_id? (TrainingPeaks coaches)Climbs and sections with demand against the athlete's power curve, work before each section, recce power and heart rate, and how each section reads in the wind.
get_activity_streamsReads recorded samples from TrainingPeaks or Intervals.icu (Pro and Coach).platform, activity_id, channels?, from_s?, to_s?, interval_s?, max_points?, athlete_id? (TrainingPeaks coaches)Time-aligned columns for distance, altitude, grade, speed, heart rate, power and cadence. GPS is returned only when channels includes latlng.
find_similar_routesFinds rides or runs on the same route or climb (Pro and Coach).platform, activity_id, from_date?, to_date?, segment?, min_overlap_pct?, athlete_id? (TrainingPeaks coaches)Matching activities with route overlap and per-pass stats for a segment. GPS stays on the server.
get_wellnessDaily wellness metrics — the "should we ease off?" signal.platform, from_date?, to_date? (default last 14 days), metrics?, source? (TrainingPeaks manual or device)days: one numeric row per day (sleep, HRV, resting HR, Body Battery, weight and more, varies by platform); baselines: 7- and 28-day averages
get_trainingpeaks_compliance_reportWeekly compliance for all or selected coached athletes: completion status plus separate duration, TSS, and distance ratios per planned session. Processes 10 athletes per call; the AI continues with the cursor until the report is complete.week_start, as_of, athlete_ids? (up to 50), cursor?Per-athlete sessions, due counts, ratios, load totals with coverage, data issues, and definitions

Calendar & Adaptive Coaching

ToolWhat it doesParametersReturns
get_session_briefPrepares each visible workout for one local calendar day.platform, date, time_zone?, athlete_id?, city?, include_weather?Prescribed steps, personal targets, coach instructions, ride/run carbohydrate guidance and weather. Uses your known training city or offers weather and asks for a city. You can decline.
get_weatherReads current observations and a daily/hourly WeatherAPI.com forecast, without a connected training platform.city, date? (defaults to today in the returned location’s time zone)Today or either of the next two local dates, with units, location, source, timestamps, and available air quality and alerts. Your AI uses the data for kit, timing and hydration advice.
get_upcoming_workoutsReads planned and completed workouts for any date range, past or future; the source of IDs for update/delete.platform, from_date?, to_date? (default next 14 days)Workouts with platform IDs, dates, planned and recorded duration, TSS, distance, TrainingPeaks compliance percentages, coach and athlete comments, RPE, and whether each is hidden from the athlete
get_trainingpeaks_calendar_contextReads the TrainingPeaks calendar items around the workouts: coach notes and their comments, availability, events with priority and goals, and goal lists. Read it before scheduling.from_date?, to_date? (default next 14 days)Notes, availability, events, and goal lists for the range
get_trainingpeaks_coach_feedReview recent uploads, comments, and calendar changes across a connected coach roster. Pro or Coach.since?, athlete_id?, types?, limit?Newest changes first, athlete counts, and gaps in coverage. To confirm a recent edit or reply, read the calendar or thread.
save_trainingpeaks_calendar_itemCreate or edit a note, availability block, race, or goal list. Coaches can draft hidden notes. Pro or Coach.item, athlete_id?, idempotency_keyThe saved item. Use its original date when editing a note or race.
delete_trainingpeaks_calendar_itemRemove a confirmed calendar item. Pro or Coach.type, item_id, current_date for notes and events, athlete_id?, idempotency_keyConfirmation identifying the athlete and deleted item
add_trainingpeaks_commentPost an approved reply on a workout or note. Pro or Coach.target, id, text, athlete_id?, idempotency_keyThe recent thread. A repeated request returns a receipt.
update_platform_workoutMoves, retitles, re-scopes, or reveals a planned workout. Only passed fields change.platform, workout_id, then any of title?, description?, workout_date?, duration_hours?, distance_meters?, tss?, hidden_from_athlete?The updated workout
delete_platform_workoutPermanently deletes a planned workout. It is marked destructive; your AI client controls its confirmation behavior.platform, workout_idDeletion confirmation

Structured Workouts

ToolWhat it doesParametersReturns
validate_structured_workoutValidates AI-built workout JSON. The iteration loop is build, validate, fix, then push.workout or strength (draft JSON)Either precise per-field issues, or a validity confirmation with duration/IF/TSS summary and the normalized structure
push_structured_workoutPushes one interval workout or strength session to your calendar.platform, workout or strength, workout_date, title, sport, and optional description. Strength needs a strength sport and duration_minutes. For strength, ask before setting create_missing_exercises to add a custom exercise. TrainingPeaks coaches can set hidden_from_athlete to review before revealing.Platform workout/event ID + workout summary
push_structured_workouts_bulkPushes up to 40 structured workouts with durable per-row outcomes and best-effort continuation.platform, workouts[] (each with workout, date, title), hidden_from_athlete?Per-workout results with IDs or errors

The workout JSON format is fully documented in the tool's own input schema and in the trainingdojo://schema/simple-workout-structure resource, so a capable AI can construct valid workouts: steps with second- or meter-based lengths, intensity ranges as percentages of FTP, threshold HR, or threshold pace, and repetition blocks for interval sets.

Training Plans

ToolWhat it doesParametersReturns
get_workout_typesLists valid sport/subtype values for a platform before building a plan.platformSport types and subtypes
create_training_planValidates and previews a full plan (day-numbered workout rows) before anything is pushed.plan_name, start_date, platform, workouts[]Preview with calculated calendar dates for review
push_training_planQueues the plan for a reliable, platform-paced calendar push; each call accepts up to 180 workouts.plan_name, start_date, platform, workouts[], athlete_id? and hidden_from_athlete? (coach accounts), idempotency_key (UUID)A durable job ID and initial job status
list_plansLists plans previously imported through TrainingDojo.nonePlan IDs, names, platforms, workout counts
delete_planQueues removal of every workout in an imported plan, then clears the plan record. It is marked destructive; your AI client controls confirmation.plan_id, idempotency_key (UUID)A durable job ID and initial job status
get_plan_jobReads durable progress and per-workout results for a queued plan push.job_id? (UUID), offset? (default 0), limit? (default/max 50)Job status, counts, timestamps, and item results
cancel_plan_jobRequests cancellation of a queued or running plan-push job.job_id (UUID)Updated cancellation status
retry_plan_jobRetries the failed work from a completed plan-push job without duplicating successful items.job_id (UUID), idempotency_key (UUID), include_unknown? (default false)A new durable job ID and initial status

Workout Vault

ToolWhat it doesParametersReturns
list_vault_workoutsBrowses your Workout Vault — the library of proven workouts harvested from your history.batch_id? (defaults to latest batch)Batches + workout rows with structure/publish status
get_vault_workoutFetches one vault workout including its generated structure.row_idFull row detail + canonical structured workout when generated
publish_vault_workoutSchedules a vault workout onto your calendar for a given date without using credits because the structure already exists.row_id, platform, workout_datePlatform ID + workout summary

Resources and Coaching Prompts

The server offers two resources, two prompts for everyone, and a daily review prompt on Pro and Coach.

  • trainingdojo://schema/simple-workout-structure — the complete JSON Schema for structured workouts, plus the cross-field rules (integer seconds, ramp monotonicity, distance-step requirements). This is how your AI learns to build valid workouts on its own.
  • trainingdojo://guide/coaching — the recommended tool flow: discover platforms → understand history and wellness → plan → reuse the vault → adapt.
  • coaching_session prompt — a one-click starting point that walks the AI through a full coaching conversation.
  • weekly_compliance_report prompt — for TrainingPeaks coaches, builds this week’s compliance report across the roster and explains it without recalculating.
  • coach_daily_review surfaces athlete questions, schedule conflicts, and key sessions. It asks you to approve each reply or change.

Things to Try

Who needs my attention this morning? Check my TrainingPeaks feed and this week’s compliance. Give me the athlete, evidence, and one suggested follow-up. Show me any reply or calendar edit before sending it.
  • "Look at my last 12 weeks of training and tell me what you'd change."
  • "Build me a 6-week block for my gravel race on September 12 and push it to Intervals.icu."
  • "Make a 3x10min threshold workout for tomorrow and put it on my TrainingPeaks calendar."
  • "How did I do in yesterday's intervals? Compare it to the plan."
  • "I slept 5 hours and my HRV is down. Adjust the next two days."
  • "Find my best VO2 sessions in the Workout Vault and schedule one for Thursday."
  • "Coaches: give me this week's compliance report for all my TrainingPeaks athletes."

Troubleshooting

SymptomCauseFix
401 UnauthorizedThe AI app connection is missing, expired, or revokedDisconnect and reconnect TrainingDojo in the AI app. Advanced developer-key clients can generate a replacement at /mcp.
403 ForbiddenThe account or current MCP rollout restricts connection accessCheck MCP setup for account restrictions. Paid-only tool denials are separate; Free can connect.
The AI app returns to setup without connectingThe consent request expired, was denied, or the provider has not enabled the integrationStart again from the matching setup card. For ChatGPT, use the permanent Developer-mode setup path; Work-mode users should also confirm workspace plugin policy.
"No saved connection" errors from toolsThe platform isn't connected to your TrainingDojo accountConnect it in Settings → Integrations
A large plan is not finished yetThe durable job paces real provider requests and may continue after the chat turn endsCall get_plan_job for progress, then retry only failed rows if needed
429 Too Many RequestsThe MCP operational safety limit was reachedWait for the response's retry window, then continue

For technical connection debugging: the consumer flow uses OAuth 2.1 discovery, dynamic client registration, PKCE, rotating refresh tokens, and revocation. Most users never need to configure these protocol details manually.

Security Notes

  • Browser connections use short-lived signed access tokens and rotating refresh grants. You can disconnect them anytime at /mcp. Advanced developer keys are shown once, stored hashed, and revocable.
  • Your AI never sees your platform passwords or tokens — credentials stay encrypted on TrainingDojo's side and every tool resolves them server-side per request.
  • Delete-workout and delete-plan tools are marked destructive, but the AI client controls whether and when it asks for confirmation.

Set It Up

Head to trainingdojo.app/mcp to choose your AI app and connect your platforms — the setup takes about two minutes. Free accounts can connect right away. See what Pro and Coach add. Your next coach might be the AI you already talk to every day.

Frequently Asked Questions

What is TrainingDojo MCP?

TrainingDojo MCP connects Claude, ChatGPT, Grok, Muse, Gemini, and other AI apps to your training platforms. Your AI can review training history and wellness, build workouts and plans, and update your calendar when you ask.

Which AI apps work with TrainingDojo MCP?

Claude and ChatGPT can each add TrainingDojo from their directory, then use it on the web, desktop, and mobile. Codex can connect directly over OAuth, and Work mode can use the TrainingDojo plugin. Gemini custom apps currently require Gemini Spark eligibility. All use TrainingDojo browser sign-in; advanced developer-key paths remain available separately.

Is TrainingDojo MCP free?

Free includes training history, calendar and wellness reads and three lifetime single-workout publishes, separate from hosted-AI credits. Pro and Coach add activity streams, route matching, course analysis, and workout and plan management. Creating developer keys requires Pro or Coach; existing keys follow your current plan, including when your subscription lapses. MCP tools use no TrainingDojo AI credits. Conversation inference and generation happen in the AI app and provider account you choose; MCP never calls TrainingDojo's AI models.

What can my AI actually do with the MCP?

Twenty-seven tools across six groups: read training history and recent activities from TrainingPeaks and Intervals.icu; read wellness data like sleep, HRV, and fatigue; read your calendar, past or upcoming; list a TrainingPeaks coach's athletes and build weekly compliance reports; validate and push structured workouts; create and publish multi-week training plans; update or delete planned workouts; and browse and publish from Workout Vault.

Is my training platform login shared with the AI?

No. Browser connections use revocable OAuth grants, while advanced clients use a revocable TrainingDojo developer key whose hash is stored server-side. Platform credentials stay encrypted on TrainingDojo's servers and are resolved server-side for each request—they are never exposed to the AI app.

Does TrainingDojo MCP work with Strava?

No. TrainingDojo no longer provides Strava data to AI assistants. For Strava access, use Strava’s official connector in Claude or Gemini: https://support.strava.com/en-us/articles/15401531-how-do-i-connect-strava-to-an-ai-assistant. TrainingDojo supports TrainingPeaks, Intervals.icu, Garmin Connect, and Wahoo.