Build custom Apple Watch workouts: intervals, repeats, and heart rate, pace and power targets.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Build a workout and return a link that opens it on the user's iPhone, ready to save into the Fitness app, which sends it to the Watch. Always give the user the markdown link it returns, with the full URL inside. Check list_activities first for what the activity supports.
call list_activities for what each one supports
shown in the Workout app and on the link, e.g. "Norwegian 4×4"; always give one, short enough for the Watch
indoor changes what a sport offers: a stationary bike has no speed or distance
also return the file itself, for clients that render an attachment. Off by default: a client that cannot render one rejects the whole reply rather than ignoring it, and then nothing comes back at all.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http dotworkout https://mcp.javierferrersb.dev/mcp
Build a workout and return a link that opens it on the user's iPhone, ready to save into the Fitness app, which sends it to the Watch. Always give the user the markdown link it returns, with the full URL inside. Check list_activities first for what the activity supports.
| Argument | Type | Description |
|---|---|---|
| name | string | shown in the Workout app and on the link, e.g. "Norwegian 4×4"; always give one, short enough for the Watch |
| blocks* | array | |
| warmup | object | |
| activity* | string | call list_activities for what each one supports |
| cooldown | object | |
| location | string | indoor changes what a sport offers: a stationary bike has no speed or distance |
| attachFile | boolean | also return the file itself, for clients that render an attachment. Off by default: a client that cannot render one rejects the whole reply rather than ignoring it, and then nothing comes back at all. |
{
"type": "object",
"$defs": {
"Step": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
},
"recovery": {
"type": "boolean",
"description": "true for a recovery step; work otherwise"
}
},
"additionalProperties": false
},
"Label": {
"type": "string",
"maxLength": 120,
"description": "free text shown on the Watch, a few words; this is where stroke goes"
},
"Target": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"zone"
],
"properties": {
"kind": {
"type": "string",
"const": "heartRateZone"
},
"zone": {
"type": "integer",
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number",
"description": "beats per minute, e.g. 140; for a % of max heart rate, work out the beats"
},
"kind": {
"type": "string",
"const": "heartRateRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"perMinute"
],
"properties": {
"kind": {
"type": "string",
"const": "cadence"
},
"perMinute": {
"type": "number",
"description": "steps per minute running, revolutions per minute cycling"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number"
},
"kind": {
"type": "string",
"const": "cadenceRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"watts"
],
"properties": {
"kind": {
"type": "string",
"const": "power"
},
"watts": {
"type": "number",
"description": "watts; for a % of FTP, work out the watts from the rider's FTP"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number",
"description": "watts; for a % of FTP, work out the watts"
},
"kind": {
"type": "string",
"const": "powerRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"pace"
],
"properties": {
"kind": {
"type": "string",
"const": "pace"
},
"pace": {
"type": "string",
"description": "time per km or mile, e.g. \"4:30/km\", \"7:15/mi\""
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "the other end, e.g. \"4:20/km\"; order does not matter"
},
"from": {
"type": "string",
"description": "one end of the band, e.g. \"4:40/km\""
},
"kind": {
"type": "string",
"const": "paceRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"kmh"
],
"properties": {
"kmh": {
"type": "number",
"description": "speed in km/h, e.g. 30"
},
"kind": {
"type": "string",
"const": "kmh"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number"
},
"kind": {
"type": "string",
"const": "kmhRange"
}
},
"additionalProperties": false
}
]
},
"SendOff": {
"type": "string",
"description": "swimming only, on a distance: leave every \"2:00\" however fast you finish"
},
"Distance": {
"type": "string",
"description": "with a unit, e.g. \"400m\", \"1.2 km\", \"5k\", \"0.5mi\"; a bare number is in the sport's default unit, km for running, cycling, walking and hiking, metres otherwise"
},
"Duration": {
"type": "string",
"description": "e.g. \"1:00\", \"90s\", \"10min\", \"1:30:00\", \"1h30min\"; \"m\" alone is refused, write \"min\""
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"activity",
"blocks"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "shown in the Workout app and on the link, e.g. \"Norwegian 4×4\"; always give one, short enough for the Watch"
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rest": {
"anyOf": [
{
"$ref": "#/$defs/Duration"
},
{
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
}
],
"description": "recovery after each repetition: a time like \":30\" or \"2:00\", or a step such as { \"distance\": \"200m\", \"label\": \"jog\" }, { \"open\": true } or { \"time\": \"1:00\", \"alert\": { \"kind\": \"heartRateZone\", \"zone\": 2 } }"
},
"work": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"description": "the step each repetition does: { \"distance\": \"400m\" }, { \"time\": \"4:00\" } or { \"open\": true }",
"additionalProperties": false
},
"alert": {
"$ref": "#/$defs/Target",
"description": "the target for the work step"
},
"label": {
"$ref": "#/$defs/Label"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/$defs/Step"
},
"maxItems": 20,
"minItems": 1,
"description": "instead of work, several steps repeated together in order, e.g. 1 km at threshold then 1 km easy"
},
"repeat": {
"type": "integer",
"default": 1,
"maximum": 999,
"minimum": 1,
"description": "how many times; 1 for a single step"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"warmup": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
},
"activity": {
"enum": [
"SWIMMING",
"RUNNING",
"CYCLING",
"HIGH_INTENSITY_INTERVAL_TRAINING",
"WALKING",
"HIKING",
"ROWING",
"ELLIPTICAL",
"STAIR_CLIMBING",
"CROSS_TRAINING",
"FUNCTIONAL_STRENGTH_TRAINING",
"TRADITIONAL_STRENGTH_TRAINING",
"CORE_TRAINING",
"YOGA"
],
"type": "string",
"description": "call list_activities for what each one supports"
},
"cooldown": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
},
"location": {
"enum": [
"outdoor",
"indoor"
],
"type": "string",
"description": "indoor changes what a sport offers: a stationary bike has no speed or distance"
},
"attachFile": {
"type": "boolean",
"description": "also return the file itself, for clients that render an attachment. Off by default: a client that cannot render one rejects the whole reply rather than ignoring it, and then nothing comes back at all."
}
},
"additionalProperties": false
}Goals, alerts and caveats for one activity, from the compatibility matrix read off a real device.
| Argument | Type | Description |
|---|---|---|
| activity* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"activity"
],
"properties": {
"activity": {
"enum": [
"SWIMMING",
"RUNNING",
"CYCLING",
"HIGH_INTENSITY_INTERVAL_TRAINING",
"WALKING",
"HIKING",
"ROWING",
"ELLIPTICAL",
"STAIR_CLIMBING",
"CROSS_TRAINING",
"FUNCTIONAL_STRENGTH_TRAINING",
"TRADITIONAL_STRENGTH_TRAINING",
"CORE_TRAINING",
"YOGA"
],
"type": "string"
}
}
}Decode a dotworkout link and describe the workout inside it, step by step. Takes the link create_workout returned, or one shared from the composer.
| Argument | Type | Description |
|---|---|---|
| link | string | deprecated: use source |
| source | string | a dotworkout URL, or just its #w=… fragment |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"link": {
"type": "string",
"description": "deprecated: use source"
},
"source": {
"type": "string",
"description": "a dotworkout URL, or just its #w=… fragment"
}
}
}Every activity that can be built, with the goals and alerts each one supports indoors and out. Read this before building a workout: support differs per activity and guessing produces files the Watch rejects.
No arguments.
{
"type": "object",
"properties": {}
}Check a workout against what the activity supports, without building it. Returns every error and warning, each naming the step it is about. Unverified combinations warn rather than fail.
| Argument | Type | Description |
|---|---|---|
| name | string | shown in the Workout app and on the link, e.g. "Norwegian 4×4"; always give one, short enough for the Watch |
| blocks* | array | |
| warmup | object | |
| activity* | string | call list_activities for what each one supports |
| cooldown | object | |
| location | string | indoor changes what a sport offers: a stationary bike has no speed or distance |
{
"type": "object",
"$defs": {
"Step": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
},
"recovery": {
"type": "boolean",
"description": "true for a recovery step; work otherwise"
}
},
"additionalProperties": false
},
"Label": {
"type": "string",
"maxLength": 120,
"description": "free text shown on the Watch, a few words; this is where stroke goes"
},
"Target": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"zone"
],
"properties": {
"kind": {
"type": "string",
"const": "heartRateZone"
},
"zone": {
"type": "integer",
"maximum": 5,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number",
"description": "beats per minute, e.g. 140; for a % of max heart rate, work out the beats"
},
"kind": {
"type": "string",
"const": "heartRateRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"perMinute"
],
"properties": {
"kind": {
"type": "string",
"const": "cadence"
},
"perMinute": {
"type": "number",
"description": "steps per minute running, revolutions per minute cycling"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number"
},
"kind": {
"type": "string",
"const": "cadenceRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"watts"
],
"properties": {
"kind": {
"type": "string",
"const": "power"
},
"watts": {
"type": "number",
"description": "watts; for a % of FTP, work out the watts from the rider's FTP"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number",
"description": "watts; for a % of FTP, work out the watts"
},
"kind": {
"type": "string",
"const": "powerRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"pace"
],
"properties": {
"kind": {
"type": "string",
"const": "pace"
},
"pace": {
"type": "string",
"description": "time per km or mile, e.g. \"4:30/km\", \"7:15/mi\""
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "the other end, e.g. \"4:20/km\"; order does not matter"
},
"from": {
"type": "string",
"description": "one end of the band, e.g. \"4:40/km\""
},
"kind": {
"type": "string",
"const": "paceRange"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"kmh"
],
"properties": {
"kmh": {
"type": "number",
"description": "speed in km/h, e.g. 30"
},
"kind": {
"type": "string",
"const": "kmh"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "the other end; order does not matter"
},
"from": {
"type": "number"
},
"kind": {
"type": "string",
"const": "kmhRange"
}
},
"additionalProperties": false
}
]
},
"SendOff": {
"type": "string",
"description": "swimming only, on a distance: leave every \"2:00\" however fast you finish"
},
"Distance": {
"type": "string",
"description": "with a unit, e.g. \"400m\", \"1.2 km\", \"5k\", \"0.5mi\"; a bare number is in the sport's default unit, km for running, cycling, walking and hiking, metres otherwise"
},
"Duration": {
"type": "string",
"description": "e.g. \"1:00\", \"90s\", \"10min\", \"1:30:00\", \"1h30min\"; \"m\" alone is refused, write \"min\""
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"activity",
"blocks"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "shown in the Workout app and on the link, e.g. \"Norwegian 4×4\"; always give one, short enough for the Watch"
},
"blocks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rest": {
"anyOf": [
{
"$ref": "#/$defs/Duration"
},
{
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
}
],
"description": "recovery after each repetition: a time like \":30\" or \"2:00\", or a step such as { \"distance\": \"200m\", \"label\": \"jog\" }, { \"open\": true } or { \"time\": \"1:00\", \"alert\": { \"kind\": \"heartRateZone\", \"zone\": 2 } }"
},
"work": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"description": "the step each repetition does: { \"distance\": \"400m\" }, { \"time\": \"4:00\" } or { \"open\": true }",
"additionalProperties": false
},
"alert": {
"$ref": "#/$defs/Target",
"description": "the target for the work step"
},
"label": {
"$ref": "#/$defs/Label"
},
"steps": {
"type": "array",
"items": {
"$ref": "#/$defs/Step"
},
"maxItems": 20,
"minItems": 1,
"description": "instead of work, several steps repeated together in order, e.g. 1 km at threshold then 1 km easy"
},
"repeat": {
"type": "integer",
"default": 1,
"maximum": 999,
"minimum": 1,
"description": "how many times; 1 for a single step"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1
},
"warmup": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
},
"activity": {
"enum": [
"SWIMMING",
"RUNNING",
"CYCLING",
"HIGH_INTENSITY_INTERVAL_TRAINING",
"WALKING",
"HIKING",
"ROWING",
"ELLIPTICAL",
"STAIR_CLIMBING",
"CROSS_TRAINING",
"FUNCTIONAL_STRENGTH_TRAINING",
"TRADITIONAL_STRENGTH_TRAINING",
"CORE_TRAINING",
"YOGA"
],
"type": "string",
"description": "call list_activities for what each one supports"
},
"cooldown": {
"type": "object",
"properties": {
"open": {
"type": "boolean",
"const": true,
"description": "no goal; the wearer ends the step"
},
"time": {
"$ref": "#/$defs/Duration"
},
"alert": {
"$ref": "#/$defs/Target"
},
"label": {
"$ref": "#/$defs/Label"
},
"sendOff": {
"$ref": "#/$defs/SendOff"
},
"distance": {
"$ref": "#/$defs/Distance"
}
},
"additionalProperties": false
},
"location": {
"enum": [
"outdoor",
"indoor"
],
"type": "string",
"description": "indoor changes what a sport offers: a stationary bike has no speed or distance"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 30, 2026.