MCP reference
Setup for MCP clients beyond Claude.ai. The home page walks through the hosted connector for claude.ai.
Hosted endpoint
Main URL (OAuth, same as Claude.ai):
https://mcp.trainheroic-unofficial.com/mcpCursor or Claude Desktop config:
{
"mcpServers": {
"trainheroic": {
"url": "https://mcp.trainheroic-unofficial.com/mcp"
}
}
}Coach-only URL:
https://mcp.trainheroic-unofficial.com/mcp/coachAthlete-only URL:
https://mcp.trainheroic-unofficial.com/mcp/athleteLocal coach server
Stdio on your machine. Credentials sit in the MCP client config file.
claude mcp add trainheroic \
-e TRAINHEROIC_EMAIL=coach@example.com \
-e TRAINHEROIC_PASSWORD=yourpassword \
-- npx -y @trainheroic-unofficial/coach-mcp{
"mcpServers": {
"trainheroic": {
"command": "npx",
"args": ["-y", "@trainheroic-unofficial/coach-mcp"],
"env": {
"TRAINHEROIC_EMAIL": "coach@example.com",
"TRAINHEROIC_PASSWORD": "yourpassword"
}
}
}
}For Claude Code on your laptop, the skill is usually simpler than local stdio.
Local athlete server
claude mcp add trainheroic-athlete \
-e TRAINHEROIC_EMAIL=athlete@example.com \
-e TRAINHEROIC_PASSWORD=yourpassword \
-- npx -y @trainheroic-unofficial/athlete-mcpTool list
Tool names for reference. The model picks the call from your question.
Coach tools
Coach accounts on the main URL or /mcp/coach.
Account & roster
whoamiYour coach profile and roleshead_coachHead coach profile for your organizationlist_athletesEveryone on your org rosterlist_teamsTeams you coachget_teamOne team with athletes and programlist_programsStandalone coach programsget_programProgram detail by idnotificationsUnread notificationsanalytics_categoriesAnalytics metric categoriesroster_activityRecent training activity across the rosterathlete_trainingFilterable athlete training historyathlete_lift_historyLift history for one athleteteam_volumeVolume totals for a team
Workouts & sessions
workout_buildProgram a session from blocksworkout_readRead a programmed workoutworkout_publishPublish a draft to athletessession_removeRemove a session from a programsession_unpublishUnpublish a live sessionsession_copyCopy a session to another datesession_save_as_templateSave a session as a template
Exercise library
exercise_resolveMap a name to one exercise idexercise_searchFuzzy search the libraryexercise_getFull exercise by idexercise_syncRefresh the cached libraryexercise_createCreate a custom exerciseexercise_forgetRemove a custom exercise from the cachestore_statsLibrary cache stats
Athlete management
athlete_inviteInvite an athlete to your orgathlete_archiveArchive an athleteathlete_restoreRestore an archived athleteathlete_saved_workoutsSaved workouts for an athletelog_athlete_setLog a set for an athletecoach_log_sessionLog a full session for an athleteswap_athlete_exerciseSwap an exercise in a sessionprescribe_athlete_setOverride prescribed sets
Teams & codes
team_createCreate a teamteam_updateRename or update a teamteam_deleteDelete a teamteam_code_createCreate a join codeteam_code_deleteDelete a join codelist_team_codesJoin codes for a team
Messaging & analytics
messaging_conversationsMessage streams and teamsmessaging_readRead a conversationmessage_draftDraft a messagemessage_sendSend a messagemessage_deleteDelete a messageanalytics_queryQuery readiness, volume, and moreathlete_main_lift_prsMain-lift PRs for one athleteroster_main_lift_prsMain-lift PRs across the roster
Athlete tools
Every account on the main URL or /mcp/athlete.
Profile & history
athlete_whoamiYour athlete profileathlete_profileTraining profile summaryathlete_prefsNotification and display prefsathlete_working_maxesWorking maxes by liftathlete_leaderboardLeaderboard standingsathlete_workoutsUpcoming and recent workoutsathlete_exercisesSearch your exercise historyathlete_exercise_historyHistory for one exerciseathlete_personal_recordsPRs for one exerciseathlete_exercise_statsStats for one exerciseathlete_log_targetsWhat to log today
Logging
athlete_session_createCreate a training sessionathlete_session_add_exercisesAdd exercises to a sessionathlete_session_removeRemove a sessionathlete_log_sessionLog a full sessionathlete_log_setLog one set
Hosted only
D1 warehouse sync/query tools and feedback — available on the hosted connector only.
report_feedbackReport a bug or send feedback to the maintainersprogramming_syncSync prescribed programming history into D1programming_storedQuery synced programming historymessaging_syncSync message history into D1messaging_storedQuery synced message historyathlete_workouts_syncSync workout history into D1athlete_workouts_storedQuery synced workout historyathlete_training_syncSync exercise history and PRs into D1athlete_training_storedQuery synced exercise history and PRs