dotworkout

Build custom Apple Watch workouts: intervals, repeats, and heart rate, pace and power targets.

使うべきか

品質と安全性

A
説明の品質
90%
スキーマの完全性
76%
命名の品質
96%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(1)

  • LOWTool 'inspect_workout' description lacks action verbinspect_workout 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~4,351トークン数(ツール定義)
~9.0 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 3.40%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "dotworkout": {
      "command": "npx",
      "args": [
        "@dotworkout/mcp"
      ]
    }
  }
}

実行可能なパッケージ

npm@dotworkout/mcp0.8.0stdio

リモートエンドポイント

https://mcp.javierferrersb.dev/mcpstreamable-http

できること

ツール一覧

ツール(5)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢list_activities

Every activity that can be built, with the goals and alerts each one supports indoors and out. Support differs per activity, and the Watch rejects a file that uses a goal or alert its activity lacks.

入力スキーマ

{
  "type": "object",
  "properties": {}
}
🟢describe_activity(activity)

Goals, alerts and caveats for one activity, from the compatibility matrix read off a real device.

入力スキーマ

{
  "type": "object",
  "properties": {
    "activity": {
      "type": "string",
      "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"
      ]
    }
  },
  "required": [
    "activity"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢validate_workout(activity, location, name, warmup, blocks, ...)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "activity": {
      "type": "string",
      "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"
      ],
      "description": "call list_activities for what each one supports"
    },
    "location": {
      "description": "indoor changes what a sport offers: a stationary bike has no speed or distance",
      "type": "string",
      "enum": [
        "outdoor",
        "indoor"
      ]
    },
    "name": {
      "description": "shown in the Workout app and on the link, e.g. \"Norwegian 4×4\"; always give one, short enough for the Watch",
      "type": "string",
      "maxLength": 120
    },
    "warmup": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        }
      },
      "additionalProperties": false
    },
    "blocks": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "repeat": {
            "default": 1,
            "description": "how many times; 1 for a single step",
            "type": "integer",
            "minimum": 1,
            "maximum": 999
          },
          "work": {
            "type": "object",
            "properties": {
              "distance": {
                "$ref": "#/$defs/Distance"
              },
              "time": {
                "$ref": "#/$defs/Duration"
              },
              "open": {
                "description": "no goal; the wearer ends the step",
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false,
            "description": "the step each repetition does: { \"distance\": \"400m\" }, { \"time\": \"4:00\" } or { \"open\": true }"
          },
          "sendOff": {
            "$ref": "#/$defs/SendOff"
          },
          "rest": {
            "anyOf": [
              {
                "$ref": "#/$defs/Duration"
              },
              {
                "type": "object",
                "properties": {
                  "distance": {
                    "$ref": "#/$defs/Distance"
                  },
                  "time": {
                    "$ref": "#/$defs/Duration"
                  },
                  "open": {
                    "description": "no goal; the wearer ends the step",
                    "type": "boolean",
                    "const": true
                  },
                  "alert": {
                    "$ref": "#/$defs/Target"
                  },
                  "label": {
                    "$ref": "#/$defs/Label"
                  }
                },
                "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 } }"
          },
          "label": {
            "$ref": "#/$defs/Label"
          },
          "alert": {
            "description": "the target for the work step",
            "$ref": "#/$defs/Target"
          },
          "steps": {
            "description": "instead of work, several steps repeated together in order, e.g. 1 km at threshold then 1 km easy",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "items": {
              "$ref": "#/$defs/Step"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "cooldown": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "activity",
    "blocks"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$defs": {
    "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\""
    },
    "Target": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "heartRateZone"
            },
            "zone": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            }
          },
          "required": [
            "kind",
            "zone"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "heartRateRange"
            },
            "from": {
              "type": "number",
              "description": "beats per minute, e.g. 140; for a % of max heart rate, work out the beats"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "cadence"
            },
            "perMinute": {
              "type": "number",
              "description": "steps per minute running, revolutions per minute cycling"
            }
          },
          "required": [
            "kind",
            "perMinute"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "cadenceRange"
            },
            "from": {
              "type": "number"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "power"
            },
            "watts": {
              "type": "number",
              "description": "watts; for a % of FTP, work out the watts from the rider's FTP"
            }
          },
          "required": [
            "kind",
            "watts"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "powerRange"
            },
            "from": {
              "type": "number",
              "description": "watts; for a % of FTP, work out the watts"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "pace"
            },
            "pace": {
              "type": "string",
              "description": "time per km or mile, e.g. \"4:30/km\", \"7:15/mi\""
            }
          },
          "required": [
            "kind",
            "pace"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "paceRange"
            },
            "from": {
              "type": "string",
              "description": "one end of the band, e.g. \"4:40/km\""
            },
            "to": {
              "type": "string",
              "description": "the other end, e.g. \"4:20/km\"; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "kmh"
            },
            "kmh": {
              "type": "number",
              "description": "speed in km/h, e.g. 30"
            }
          },
          "required": [
            "kind",
            "kmh"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "kmhRange"
            },
            "from": {
              "type": "number"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        }
      ]
    },
    "Label": {
      "type": "string",
      "maxLength": 120,
      "description": "free text shown on the Watch, a few words; this is where stroke goes"
    },
    "SendOff": {
      "type": "string",
      "description": "swimming only, on a distance: leave every \"2:00\" however fast you finish"
    },
    "Step": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        },
        "recovery": {
          "description": "true for a recovery step; work otherwise",
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "valid",
    "errors",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢create_workout(activity, location, name, warmup, blocks, ...)

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. The reply includes the link as markdown, with the whole workout encoded in its URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "activity": {
      "type": "string",
      "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"
      ],
      "description": "call list_activities for what each one supports"
    },
    "location": {
      "description": "indoor changes what a sport offers: a stationary bike has no speed or distance",
      "type": "string",
      "enum": [
        "outdoor",
        "indoor"
      ]
    },
    "name": {
      "description": "shown in the Workout app and on the link, e.g. \"Norwegian 4×4\"; always give one, short enough for the Watch",
      "type": "string",
      "maxLength": 120
    },
    "warmup": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        }
      },
      "additionalProperties": false
    },
    "blocks": {
      "minItems": 1,
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "repeat": {
            "default": 1,
            "description": "how many times; 1 for a single step",
            "type": "integer",
            "minimum": 1,
            "maximum": 999
          },
          "work": {
            "type": "object",
            "properties": {
              "distance": {
                "$ref": "#/$defs/Distance"
              },
              "time": {
                "$ref": "#/$defs/Duration"
              },
              "open": {
                "description": "no goal; the wearer ends the step",
                "type": "boolean",
                "const": true
              }
            },
            "additionalProperties": false,
            "description": "the step each repetition does: { \"distance\": \"400m\" }, { \"time\": \"4:00\" } or { \"open\": true }"
          },
          "sendOff": {
            "$ref": "#/$defs/SendOff"
          },
          "rest": {
            "anyOf": [
              {
                "$ref": "#/$defs/Duration"
              },
              {
                "type": "object",
                "properties": {
                  "distance": {
                    "$ref": "#/$defs/Distance"
                  },
                  "time": {
                    "$ref": "#/$defs/Duration"
                  },
                  "open": {
                    "description": "no goal; the wearer ends the step",
                    "type": "boolean",
                    "const": true
                  },
                  "alert": {
                    "$ref": "#/$defs/Target"
                  },
                  "label": {
                    "$ref": "#/$defs/Label"
                  }
                },
                "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 } }"
          },
          "label": {
            "$ref": "#/$defs/Label"
          },
          "alert": {
            "description": "the target for the work step",
            "$ref": "#/$defs/Target"
          },
          "steps": {
            "description": "instead of work, several steps repeated together in order, e.g. 1 km at threshold then 1 km easy",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "items": {
              "$ref": "#/$defs/Step"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "cooldown": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        }
      },
      "additionalProperties": false
    },
    "attachFile": {
      "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.",
      "type": "boolean"
    }
  },
  "required": [
    "activity",
    "blocks"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "$defs": {
    "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\""
    },
    "Target": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "heartRateZone"
            },
            "zone": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            }
          },
          "required": [
            "kind",
            "zone"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "heartRateRange"
            },
            "from": {
              "type": "number",
              "description": "beats per minute, e.g. 140; for a % of max heart rate, work out the beats"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "cadence"
            },
            "perMinute": {
              "type": "number",
              "description": "steps per minute running, revolutions per minute cycling"
            }
          },
          "required": [
            "kind",
            "perMinute"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "cadenceRange"
            },
            "from": {
              "type": "number"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "power"
            },
            "watts": {
              "type": "number",
              "description": "watts; for a % of FTP, work out the watts from the rider's FTP"
            }
          },
          "required": [
            "kind",
            "watts"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "powerRange"
            },
            "from": {
              "type": "number",
              "description": "watts; for a % of FTP, work out the watts"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "pace"
            },
            "pace": {
              "type": "string",
              "description": "time per km or mile, e.g. \"4:30/km\", \"7:15/mi\""
            }
          },
          "required": [
            "kind",
            "pace"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "paceRange"
            },
            "from": {
              "type": "string",
              "description": "one end of the band, e.g. \"4:40/km\""
            },
            "to": {
              "type": "string",
              "description": "the other end, e.g. \"4:20/km\"; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "kmh"
            },
            "kmh": {
              "type": "number",
              "description": "speed in km/h, e.g. 30"
            }
          },
          "required": [
            "kind",
            "kmh"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "kmhRange"
            },
            "from": {
              "type": "number"
            },
            "to": {
              "type": "number",
              "description": "the other end; order does not matter"
            }
          },
          "required": [
            "kind",
            "from",
            "to"
          ],
          "additionalProperties": false
        }
      ]
    },
    "Label": {
      "type": "string",
      "maxLength": 120,
      "description": "free text shown on the Watch, a few words; this is where stroke goes"
    },
    "SendOff": {
      "type": "string",
      "description": "swimming only, on a distance: leave every \"2:00\" however fast you finish"
    },
    "Step": {
      "type": "object",
      "properties": {
        "distance": {
          "$ref": "#/$defs/Distance"
        },
        "time": {
          "$ref": "#/$defs/Duration"
        },
        "open": {
          "description": "no goal; the wearer ends the step",
          "type": "boolean",
          "const": true
        },
        "alert": {
          "$ref": "#/$defs/Target"
        },
        "label": {
          "$ref": "#/$defs/Label"
        },
        "sendOff": {
          "$ref": "#/$defs/SendOff"
        },
        "recovery": {
          "description": "true for a recovery step; work otherwise",
          "type": "boolean"
        }
      },
      "additionalProperties": false
    }
  }
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "link": {
      "type": "string",
      "description": "the workout itself, as a link; never shorten it"
    },
    "markdown": {
      "type": "string",
      "description": "the link as markdown, [Open the workout](link): give this to the user, with the link text in their language and the URL unchanged"
    },
    "fileName": {
      "type": "string"
    },
    "sizeBytes": {
      "type": "number"
    },
    "steps": {
      "type": "number",
      "description": "distinct steps, counting a repeated set once"
    },
    "stepsWithRepeats": {
      "type": "number",
      "description": "steps as performed, every repetition counted"
    },
    "totalDistance": {
      "type": "string"
    },
    "totalTime": {
      "description": "the steps that have a time, added up with their repeats, as h:mm:ss or m:ss",
      "type": "string"
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "savedTo": {
      "description": "where the file was written, when it was",
      "type": "string"
    }
  },
  "required": [
    "link",
    "markdown",
    "fileName",
    "sizeBytes",
    "steps",
    "stepsWithRepeats",
    "warnings"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false
}
🟢inspect_workout(source, link)

Decode a dotworkout link and describe the workout inside it, step by step. Takes a link this server built or one shared from the composer.

入力スキーマ

{
  "type": "object",
  "properties": {
    "source": {
      "type": "string",
      "description": "a dotworkout URL, or just its #w=… fragment"
    },
    "link": {
      "description": "deprecated: use source",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 5 件