Table of contents
- Overview
- Authentication
- Example Use Cases
- Resources
- Prompts
-
Tools
- Activity List
- Activity Details
- Activity Update
- Body Values
- Capacity Values
- HRV Data
- Sleep Data
- Equipment List
- Exercise List
- Plan Creation
- Add Plan Training
- Planned Workout List
- Planned Workout Details
- Planned Workout Change Date
- Delete Calendar Training
- Training Effort List
- Zones Distribution
- Zones
- Show Activity UI
- Show Plan UI
- Show Form UI
- Calendar Change UI
- Health data responsibility
- Contact / Privacy
Overview
Name
Tredict MCP ServerMCP Server Address
https://www.tredict.com/api/mcp/v2Transport Support
Streamable HTTP and SSEAuthentication
The Tredict MCP Server supports two authentication methods:
- OAuth2.1 with PKCE and Client Credentials
- Personal API Token
Please refer to the main OAuth2 documentation for detailed information on how to authenticate and obtain access tokens.
Tredict does not issue OAuth credentials solely to be used with the MCP server.
For personal use, you can use your Personal API token.
It is forbidden to misuse the MCP server as an API surface without user/LLM interaction, and doing so results in a ban of your IP or even your account. Use the a Personal API token with the API endpoints, if you need an API.
Example Use Cases
The Tredict MCP (Model Context Protocol) Server enables LLM/AI systems to provide powerful assistance to endurance sports athletes and coaches through the following capabilities:
Training Plan Creation & Device Integration
Training Plan Creation and Training Planning
Analyze training history and current fitness levels to create extensive reusable training plans and structured workouts directly into Tredict within minutes and tailored to individual athlete needs and goals.
Single trainings can also be added to or deleted from the training calendar directly, like adding tomorrow's workout or replacing a wrong one. Each of these changes is only executed after the user confirmed it in an interactive MCP App UI.
Device Integration
Tredict automatically uploads created plans and structured workouts to compatible sports watches, but only if applied by the user itself into the personal training calendar or confirmed by the user as a single calendar change, through its extensive integrations with leading sports device manufacturers, ensuring athletes have their training programs readily available on their preferred devices. This closes the circle between AI, athletes and sports tracker manufacturers. Look up the list of supported training devices and manufactures.
Training Data Management
Title Optimization
Identify training sessions with poor or missing titles and suggest meaningful, descriptive names based on activity content, metrics, and context. This helps athletes better organize and retrieve their training history.
Capacity Value Assessment
Automatically determine and update key performance metrics such as:
- FTP (Functional Threshold Power) - Critical for cycling performance analysis
- FTPace - Functional Threshold Pace for running performance
- HRMax (Maximum Heart Rate) - Essential for zone-based training
- Lactate Threshold - Important for endurance training planning
These assessments are based on comprehensive analysis of recent training history, providing accurate and up-to-date performance indicators.
Training Analysis & Visualization
Historical Training Insights
Perform deep dive analysis of older training sessions with AI-powered insights including:
- Performance trends over time
- Training load and recovery patterns
- Progress toward specific goals
- Identification of strength and weakness areas
Memory Enhancement & Visualization
Utilize AI to reconstruct and picturize past training experiences by:
- Creating visual representations of training routes
- Generating descriptive summaries of key moments
- Highlighting personal bests and milestones
- Helping athletes relive and learn from their training journey
Training Period Comparison
Compare different training periods to gain valuable insights:
- Analyze year-over-year progress and performance trends
- Evaluate the effectiveness of training plan changes
- Track long-term development and set realistic future goals
Resources
Resources are assets and UI widgets that can be accessed through the MCP Server.
Tredict Logo
URI: mcp://tredict/assets/logo.svg
Name: tredict-logo
Title: The Tredict Logo
Description: Rectangular logo for light and dark themes
Mime Type: image/svg+xml
Tredict Logo with Slogan
URI: mcp://tredict/assets/logo-slogan.svg
Name: tredict-logo-slogan
Title: The Tredict Logo with Slogan
Description: Long logo with slogan and transparent background - Analytics for Endurance Athletes
Mime Type: image/svg+xml
Activity UI Widget
URI: ui://widget/activity-ui-100.html
Name: activity-ui
Title: Tredict Activity Details and Metrics UI Widget
Description: This widget displays standard metrics, time series data, laps, and a map of an executed activity. It provides a comprehensive view of activity details including heart rate, speed, power, and other metrics.
Mime Type: text/html;profile=mcp-app
Usage: This MCP App UI widget can be embedded in applications to show detailed activity information. Call it with an activityId to display the specific activity.
Tredict Show Activity UI MCP Widget embedded in the Claude chat
Plan UI Widget
URI: ui://widget/plan-ui-100.html
Name: plan-ui
Title: Tredict Training Plan Details and Calendar UI Widget
Description: This widget displays a reusable training plan created in the user's 'My Plans' category. It shows the plan structure, individual workouts, and allows for calendar visualization.
Mime Type: text/html;profile=mcp-app
Usage: This MCP App UI widget can be embedded to show training plan details. Call it with a planId to display the specific training plan.
Tredict Show Plan UI MCP Widget embedded in the Claude chat
Form UI Widget
URI: ui://widget/form-ui-100.html
Name: form-ui
Title: Tredict Form and Intensity Distribution UI Widget
Description: This widget displays the form and intensity distribution cards of the Tredict training calendar for a week or month, the current one or any past or future one. The intensity distribution shows the time spent in low, moderate and high intensity per zone type. The form curve shows fitness, fatigue and performance based on the Banister model, together with the daily training efforts, the nightly HRV and the form values of today.
Mime Type: text/html;profile=mcp-app
Usage: This MCP App UI widget is opened by the 'show-form-ui' tool. Hovering over the form curve shows the values of a day, the buttons above the intensity bar switch the zone type.
Calendar Change UI Widget
URI: ui://widget/calendar-change-ui-100.html
Name: calendar-change-ui
Title: Tredict Calendar Change Confirmation UI Widget
Description: This widget lists requested changes to the user's training calendar, trainings to add and planned workouts to delete, and lets the user confirm or reject them together. Nothing in the calendar changes until the user confirms.
Mime Type: text/html;profile=mcp-app
Usage: This MCP App UI widget is opened by the 'calendar-change-ui' tool. After the user's decision, the widget sends it as a message into the chat, with an allowedToken for each confirmed change.
Prompts
Prompts are predefined tasks that can be executed on the Tredict MCP Server to perform specific analyses or actions.
Meaningful activity titles and descriptions
Name: better-names
Description: Find recent training sessions without good title and update them with meaningful titles and descriptions.
Arguments: None
Coolest training session
Name: coolest-training
Description: Look for the coolest training session from the given year in the Tredict activity list.
Arguments:
- year (required)
Compare years with in-depth analysis
Name: compare-years
Description: Compare one year with another of total training history and give an in-depth analysis.
Arguments:
- firstYear (required)
- otherYear (required)
Create a training plan based on training history
Name: create-plan
Description: Create a reusable training plan in Tredict by analyzing the recent training history and fitness level.
Arguments:
- monthsBack (optional)
- durationInWeeks (optional)
- workoutsPerWeeks (optional)
- sportTypes (optional)
- targetZonesTypes (optional)
Determine FTP
Name: determine-ftp
Description: Determine the current FTP (Functional Threshold Power) by analyzing the training history.
Arguments:
- sportType (optional)
In-depth analysis and assessment
Name: indepth-analysis
Description: Examine the entire recent 2 years of training history and create an in-depth analysis and assessment of the training status.
Arguments: None
Recreate a structured workout from an executed activity
Name: recreate-structured-workout
Description: Create an executable structured workout by analyzing the structure from an already executed activity.
Arguments:
- activityId (required)
Tools
Tools are functions that can be called to retrieve specific data or perform actions on the Tredict platform.
Activity List
Name: activity-list
Title: List executed activities for a date range
Description: List of already executed activities with activity summaries. If the 'pageSize' limit is reached in the result, there will be a 'nextCursor' in the pagination object. Call the next page with the nextCursor as startDate. Each 'activityList' entry contains at least the activity 'id', 'date' and 'sportType'.
Input Parameters:
- startDate (optional): Start date of the activity list in ISO format
- endDate (optional): End date of the activity list in ISO format
- pageSize (optional): Page size of activity list, default is 500, max is 1000
- extendedSummary (optional): Set to 1 to get extended activity summary. Strength trainings additionally carry the number of sets and exercises, the repetitions and the tonnage. Activities the athlete rated additionally carry the enjoyment and the perceived effort.
Annotations:
- readOnlyHint: true
- openWorldHint: false
Activity Details
Name: activity
Title: Activity details, extensive metrics and time series data
Description: Returns detailed metrics and time series for a single executed activity including position, speed, distance, altitude, heart rate, cadence, power, and more. By default only the standard time series are returned. Further series, like running dynamics or cycling pedal metrics, are available with the 'allSeries' parameter. The laps of the activity can additionally be included with the 'withLaps' parameter. Strength trainings always include their sets with exercise, repetitions and weight in 'exerciseSets'. If the athlete rated the activity, 'enjoyment' and 'perceivedEffort' hold that rating.
Input Parameters:
- activityId (required): The activityId that references a single activity
- allSeries (optional): Set to 1 to receive every time series the recording device delivered, f.ex. running dynamics like stepLength, verticalOscillation, verticalRatio, flightTime, formPower, airPower and legSpringStiffness, cycling pedal metrics like torque effectiveness, pedal smoothness and power phase angles, or sensor series like coreTemperature, glucose and saturatedHemoglobin. An activity can carry dozens of additional series, so this fills the context window of the LLM very fast and should only be set when a metric outside of the standard series is really needed.
- withLaps (optional): Set to 1 to additionally receive the laps of the activity in the 'laps' array. Each lap holds its own aggregated metrics like duration, distance, pace, speed, heart rate, power, cadence, running dynamics and efficiency scores for that part of the activity. Zone and intensity distributions are not part of a lap. An activity can contain many laps, so this fills the context window of weaker models fast and should only be set when the user really asks for lap data.
Annotations:
- readOnlyHint: true
- openWorldHint: false
Activity Update
Name: activity-update
Title: Update title and description of an activity or scheduled workout (non-destructive)
Description: Update fields like 'title' or the 'notes' on a single activity or planned/scheduled workout. Always ask the user for confirmation before calling this tool.
Input Parameters:
- activityId (required): The activityId that references a single activity
- title (optional): Updates the title, max 255 chars
- notes (optional): Updates the notes, max 2048 chars
Annotations:
- readOnlyHint: false
- openWorldHint: false
- destructiveHint: false
Body Values
Name: bodyvalues
Title: Body values like weight, body fat, resting heart rate and more
Description: List of body values and health data represented by revisions over time. Possible metrics include restingHeartrate, hrRestDynamic, hrMaxDynamic, bodyHeightInCentimeter, weightInKilograms, bodyFatInPercent, bodyWaterInPercent, muscleMassInPercent. With startDate or endDate the list only contains the revisions within that date range, plus for each metric the newest revision before endDate, so the values valid at the beginning of the range are known.
Input Parameters:
- startDate (optional): Newest date of the revisions in ISO format, defaults to the most recent revision
- endDate (optional): Oldest date of the revisions in ISO format, defaults to the oldest revision
Annotations:
- readOnlyHint: true
- openWorldHint: false
Capacity Values
Name: capacity
Title: Capacity values like maximum heart rate, FTP and FTPa
Description: List of capacity values represented by revisions over time for each sportType. Possible metrics include hrMax, hrLth, ftp, ftpa.
Input Parameters:
- sportType (optional): Filter by sportType (running, cycling, swimming, misc)
Annotations:
- readOnlyHint: true
- openWorldHint: false
HRV Data
Name: hrv-list
Title: Heart Rate Variability data
Description: List of Heart Rate Variability data of the user. Each date tag contains a tuple where the first entry is the calculated HRV value (RMSSD during the night) and the second entry is the baseline, the average RMSSD of the 42 days before that date (the day itself not included). The baseline is only given if at least 21 values exist in that period, otherwise it is 0.
Input Parameters:
- startDate (optional): Start date in ISO format
- endDate (optional): End date in ISO format, defaults to one year back
Annotations:
- readOnlyHint: true
- openWorldHint: false
Sleep Data
Name: sleep-list
Title: Sleep data
Description: List of sleep data of the user. It should be traversed in date back to the past and to older entries. A date tag contains a tuple, where the first entry is the calculated total sleep value for the night and day, most significantly the night, the second entry is the baseline, the average total sleep of the 42 days before that date (the day itself not included). The baseline is only given if at least 21 values exist in that period, otherwise it is 0.
Input Parameters:
- startDate (optional): Start date in ISO format
- endDate (optional): End date in ISO format, defaults to one year back
Annotations:
- readOnlyHint: true
- openWorldHint: false
Equipment List
Name: equipment-list
Title: List all equipment of the user
Description: List of all user equipment including bikes, shoes, swimming gear and miscellaneous items. Each equipment entry contains id, type (bikes, shoes, swimming, misc), name, usageRange (start/end dates), count (number of activities), duration (total seconds), distance (total meters). Depending on the type, additional fields may be present such as size, weight, drop (shoes), or itemtype.
Input Parameters: None
Annotations:
- readOnlyHint: true
- openWorldHint: false
Exercise List
Name: exercise-list
Title: Exercise names for planned strength training
Description: Lists the valid exercise names for strength training steps in the 'plan-creation' and 'add-plan-training' tools. Filter by exercise categories, by search words or both. The names are the English identifiers of the FIT exercise catalog the sports watches know.
Input Parameters:
- exerciseCategories (optional): Up to 5 exercise categories to list all exercise names of
- search (optional): English words that must all appear in the exercise name or its category, f.ex. "kettlebell swing". Searches all categories if no exerciseCategories are given.
At least one of the two parameters is required.
Annotations:
- readOnlyHint: true
- openWorldHint: false
Plan Creation
Name: plan-creation
Title: Create reusable training plans in 'My Plans'
Description: Call this to create a reusable training plan in the 'My Own Training Plans' category of Tredict. The plan can be applied to a custom start or end date in the user's training calendar and reverted there. Use it for everything that plans a period, like a week, a training block or several weeks, even if the user asks to put the trainings into their calendar. Single trainings go directly into the calendar with the 'calendar-change-ui' tool. Strength trainings can carry an exercise, repetitions and a weight on each step, the valid exercise names come from the 'exercise-list' tool.
Input Parameters:
- plan (required): Plan object with title, description, categories, targetgroups, zonetypes, language
- planTrainings (optional): Array of training objects. Not available in ChatGPT, there the trainings are added one by one with the 'add-plan-training' tool.
- llmDescription (required): Brief description of the LLM model
Annotations:
- readOnlyHint: false
- openWorldHint: false
- destructiveHint: false
Add Plan Training
Name: add-plan-training
Title: Add a single plan training to an existing plan or to the calendar
Description: Add a single planned training (structured workout) to a plan you created with the 'plan-creation' tool before. Use this tool to add the planned trainings by single tool call for each training to the training plan that should be build for the user. With a 'calendarDate' and an 'allowedToken' instead of a 'planId', the training is added directly to the user's training calendar. This is the last step after the user confirmed the training in the 'calendar-change-ui' tool. Only structured workouts can be added to the calendar, no notes or rest days.
Input Parameters:
- planId (optional): This is the id of the training plan you would like to add a planned training to.
- calendarDate (optional): Calendar day in the user's training calendar like "2026-10-21", instead of a 'planId'. Needs an 'allowedToken'.
- allowedToken (optional): Only with a 'calendarDate'. The token from the user's confirmation in the 'calendar-change-ui' tool. Each token works once and expires 10 minutes after the confirmation.
- planTraining (required): A planned training or structured workout that belongs to the plan or is added to the calendar. Its 'day' is required with a 'planId' and omitted with a 'calendarDate'. With a 'calendarDate', its 'time' is the time of day on the athlete's clock.
Exactly one of 'planId' and 'calendarDate' is required.
Annotations:
- readOnlyHint: false
- openWorldHint: false
- destructiveHint: false
Planned Workout List
Name: planned-workout-list
Title: List of planned structured workouts
Description: List of planned and scheduled trainings or structured workouts with fields like id, date, timezone, sportType, title, notes, distance, duration, executedTrainingId.
Input Parameters:
- startDate (optional): Start date in ISO format
- endDate (optional): End date in ISO format
- sportType (optional): Filter by sportType
Annotations:
- readOnlyHint: true
- openWorldHint: false
Planned Workout Details
Name: planned-workout
Title: Details and structure of a single planned workout
Description: Returns the details and structure of a planned structured workout in JSON.
Input Parameters:
- workoutId (required): Workout ID
- language (optional): Language code (de or en)
Annotations:
- readOnlyHint: true
- openWorldHint: false
Planned Workout Change Date
Name: planned-workout-change-date
Title: Reschedule a planned workout to a new date
Description: Change the date of an existing planned (structured) workout to a new date in the future. Only the date/time of the planned workout is changed; all other fields (title, notes, structure, etc.) stay intact. Always asks the user for confirmation before calling. Should not be batch-called. To update the 'title' or 'notes' of the planned workout instead of (or in addition to) rescheduling it, use the 'activity-update' tool.
Input Parameters:
- workoutId (required): The workoutId of the planned workout that should be rescheduled. Can be obtained from the 'planned-workout-list' tool.
- date (required): The new date of the planned workout as a full ISO-8601 datetime string (e.g. "2026-05-11T06:30:00.000Z"). Must be in the future.
Annotations:
- readOnlyHint: false
- openWorldHint: false
- destructiveHint: false
Delete Calendar Training
Name: delete-calendar-training
Title: Delete a confirmed planned workout from the user's training calendar
Description: Deletes a planned workout from the user's training calendar after the user confirmed the deletion in the 'calendar-change-ui' tool. Only planned workouts from the last 7 days or in the future can be deleted, not those connected to an executed activity. If the workout was transferred to a connected platform with workout sync, Tredict removes it there as well. If the deletion is not possible, the response contains a link to the Tredict calendar year view, where the user can delete it with the deletion mode. To only move a planned workout to another day, use the 'planned-workout-change-date' tool.
Input Parameters:
- workoutId (required): The workoutId of the planned workout the user confirmed to delete.
- allowedToken (required): The token for this workoutId from the user's confirmation in the 'calendar-change-ui' tool. Each token works once and expires 10 minutes after the confirmation.
Annotations:
- readOnlyHint: false
- openWorldHint: false
- destructiveHint: true
Training Effort List
Name: training-effort-list
Title: Training efforts over time
Description: List of training efforts for a date range of all sportTypes. Each date tag contains an array for each training/workout with a tuple where the first entry is the calculated effort and the second entry has optional metadata like 'isRace' or 'unconfirmed'. 'unconfirmed' marks a planned workout that has not been executed yet. Planned workouts are listed from today on, missed planned workouts in the past are left out.
Input Parameters:
- startDate (optional): Start date in ISO format
- endDate (optional): End date in ISO format
Annotations:
- readOnlyHint: true
- openWorldHint: false
Zones Distribution
Name: zones-distribution
Title: Aggregated zones distribution
Description: List of aggregated zones distributions calculated by the time series data points activities have. The distributions are sorted by sportType and monthly date tag.
Input Parameters:
- startDate (optional): Start date in ISO format
- endDate (optional): End date in ISO format
- sportType (optional): Filter by sportType
Annotations:
- readOnlyHint: true
- openWorldHint: false
Zones
Name: zones
Title: Zone revisions
Description: List of zones represented by revisions over time for each sportType and zoneType (heartrate, pace, power, cadence).
Input Parameters:
- sportType (optional): Filter by sportType
Annotations:
- readOnlyHint: true
- openWorldHint: false
Show Activity UI
Name: show-activity-ui
Title: Tredict Activity Details and Metrics UI widget
Description: Shows standard metrics, timeseries, laps, the sets of a strength training and a map of an executed activity by activityId.
Input Parameters:
- activityId (required): ID of the executed activity
Annotations:
- readOnlyHint: true
- openWorldHint: false
UI Widget: Yes
Show Plan UI
Name: show-plan-ui
Title: Tredict Training Plan Details and Calendar UI widget
Description: Shows a reusable training plan created in the users 'My Plans' category by planId.
Input Parameters:
- planId (required): ID of the reusable training plan
Annotations:
- readOnlyHint: true
- openWorldHint: false
UI Widget: Yes
Show Form UI
Name: show-form-ui
Title: Tredict Form and Intensity Distribution UI widget
Description: Shows the user's form today in an interactive UI, like the form and intensity distribution cards of the Tredict training calendar. The form curve shows fitness, fatigue and performance based on the Banister model, the daily training efforts and the nightly HRV of all sport types around a week or month, the current one by default or any past or future one with 'date'. The intensity distribution shows the time spent in low, moderate and high intensity per zone type in this week or month. The values for today and the intensity distribution are also returned as text, together with an explanation of the values.
Input Parameters:
- timespan (optional): 'week' (default) or 'month'. 'week' shows the week of 'date' with 2 weeks before and 3 weeks after it in the form curve, 'month' shows the calendar month of 'date' with the month before and after it. The intensity distribution covers this week or month.
- date (optional): Calendar day like "2026-09-15" on the athlete's local calendar. The UI shows the week or month that contains this day, for example "2026-09-01" with timespan 'month' for September 2026. Default is today. The form values above the curve are always those of today.
- sportType (optional): If given, the intensity distribution only contains trainings of this main sportType (running, cycling, swimming, misc). The form curve always contains all sport types.
Annotations:
- readOnlyHint: true
- openWorldHint: false
UI Widget: Yes
Calendar Change UI
Name: calendar-change-ui
Title: Confirm changes of planned workouts in the user's training calendar
Description: Asks the user in an interactive confirmation UI for changes to their training calendar, adding planned trainings by calendar date and title and deleting planned workouts from the last 7 days or in the future. The tool itself changes nothing in the calendar. The user confirms or rejects all changes of one call together, and the confirmation is possible for 15 minutes. For each confirmed change, the user's message contains an allowedToken for the 'add-plan-training' or 'delete-calendar-training' tool. Meant for single trainings only, at most 3 changes at once, like adding tomorrow's workout or replacing a wrong one. Anything that plans a period, like a week, a training block or several weeks, belongs in a reusable training plan built with 'plan-creation'. Needs an MCP host that can display MCP Apps UI.
Input Parameters:
- addTrainings (optional): Planned trainings to add, each with a 'calendarDate' like "2026-10-21", today or in the future on the athlete's local calendar, and the 'title' of the structured workout.
- deleteWorkoutIds (optional): workoutIds of planned workouts to delete, from the last 7 days or in the future. Can be obtained from the 'planned-workout-list' tool. Planned workouts connected to an executed activity cannot be deleted.
Together at most 3 changes per call.
Annotations:
- readOnlyHint: true
- openWorldHint: false
UI Widget: Yes
Health data responsibility
Some tool responses, such as 'plan-creation', prompt the LLM to display health and responsibility/liability notices, where applicable. By registering with Tredict, the user or athlete gives their consent and takes responsibility for health-related applications and data by accepting the relevant topic in the Tredict Terms of Use.
Contact / Privacy
If you have any questions or need further assistance, please contact our support at support@tredict.com.
For privacy information, please refer to our Privacy Policy. Tredict is fully GDPR compliant and committed to protecting your data and privacy.
Media & Logos
For the visual integration on your side, you can find the Tredict logo and other media files on the media page.