Hevy MCP

by chrisdoc
Verified

create-workout

Add a new workout to your Hevy account by specifying title, start/end times, and exercises with sets. Returns complete workout details, including a unique ID for tracking.

Instructions

Create a new workout in your Hevy account. Requires title, start/end times, and at least one exercise with sets. Returns the complete workout details upon successful creation including the newly assigned workout ID.

Input Schema

NameRequiredDescriptionDefault
descriptionNo
endTimeYes
exercisesYes
isPrivateNo
startTimeYes
titleYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "description": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ] }, "endTime": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "type": "string" }, "exercises": { "items": { "additionalProperties": false, "properties": { "exerciseTemplateId": { "minLength": 1, "type": "string" }, "notes": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ] }, "sets": { "items": { "additionalProperties": false, "properties": { "customMetric": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] }, "distanceMeters": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "durationSeconds": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "reps": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ] }, "rpe": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] }, "type": { "default": "normal", "enum": [ "warmup", "normal", "failure", "dropset" ], "type": "string" }, "weightKg": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "number" } ] }, { "type": "null" } ] } }, "type": "object" }, "type": "array" }, "supersetId": { "type": [ "number", "null" ] } }, "required": [ "exerciseTemplateId", "sets" ], "type": "object" }, "type": "array" }, "isPrivate": { "default": false, "type": "boolean" }, "startTime": { "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$", "type": "string" }, "title": { "minLength": 1, "type": "string" } }, "required": [ "title", "startTime", "endTime", "exercises" ], "type": "object" }
ID: vl8qtbflvm