Suunto MCP
Suunto MCP
Спрашивайте Claude что угодно о своих тренировках. Suunto MCP подключает данные ваших часов Suunto к Claude, чтобы вы могли просто разговаривать со своими данными, а не кликать по дашбордам.
Создано пользователем Suunto, который хотел спросить: «Как прошла моя последняя длительная пробежка?» — и получить реальный ответ с цифрами, а также передавать живые данные тренировок личному ИИ-тренеру.
🏃 Для обычных пользователей Suunto: в документации Suunto API сказано, что доступ предназначен только для коммерческих партнёров — это не вся картина. Частные пользователи тоже получают доступ. Просто одобрение после подачи заявки занимает 3–4 недели. Подайте заявку, подождите и пользуйтесь. Не позволяйте этой оговорке вас остановить. ✅
Что вы можете сделать
После настройки просто спрашивайте:
«Сколько километров я пробежал в этом месяце?»
«Сравни мои последние три длительные пробежки — дрейф пульса улучшился?»
«Вытащи GPX вчерашней трейловой пробежки и сделай короткую запись в дневник.»
«Какова динамика моего среднего пульса в покое за последние две недели?»
«Суммируй мою тренировочную неделю в стиле отчёта тренера.»
«Мне что-то нездоровится — как мои показатели восстановления выглядят по сравнению с прошлым месяцем?»
«Найди все тренировки, где мой средний пульс был выше 160 ударов в минуту.»
«Какая из моих пробежек в этом году была с самым большим набором высоты?»
Claude сам разбирается, какие данные нужно запросить. Вы просто спрашиваете.
Но это не только чтение — Claude также может отправлять данные на ваши часы:
«Запланируй сегодняшнюю тренировку в зале и отправь её на мои часы.»
«Загрузи вчерашний экспорт Garmin как тренировку Suunto.»
«Экспортируй мой последний маршрут в GPX, чтобы я мог им поделиться.»
Смотрите раздел Что можно отправлять на часы ниже.
Related MCP server: Garmin MCP Server
🤖 Не хотите делать это сами? Пусть это сделает Claude Code
Если у вас уже есть Claude Code, вам не нужно вводить ни одной команды. Просто откройте его и скажите:
«Пожалуйста, установите и настройте suunto-mcp из https://github.com/googlarz/suunto-mcp»
Claude Code сам склонирует репозиторий, выполнит все команды установки и добавит всё в конфигурацию Claude Desktop. Именно так это сделал автор проекта: без ручной работы в терминале.
Но есть три вещи, которые останутся за вами независимо ни от чего, — по замыслу, а не из-за отсутствия инструментов:
Создание аккаунта на apizone.suunto.com — Claude не может создавать аккаунты от вашего имени.
Веб-форма apizone (имя вашего приложения, отображение ключа подписки) — это ваша сессия; Claude точно говорит, куда нажать, но нажать за вас не может.
Нажатие кнопки «Authorize» во время входа — это OAuth работает так, как надо. Приложение, способное одобрить собственный доступ, не было бы безопасным.
Claude подскажет вам точно, что и когда сделать для каждого из этих пунктов.
Если вы хотите сделать всё вручную, читайте дальше.
Что вам понадобится
Прежде чем начинать, убедитесь, что у вас есть:
Часы Suunto, синхронизированные с приложением Suunto (любая современная модель — Race, Vertical, 9 Peak, 5 Peak, Ocean и т. д.)
Claude Desktop (или другое MCP-совместимое ИИ-приложение)
Node.js — бесплатно, скачать здесь, выберите версию «LTS»
Git — бесплатно, скачать здесь
~5 минут на отправку заявки + 3–4 недели ожидания одобрения Suunto + ~15 минут на установку
После того как вы всё завершите, повторять это не придётся.
Настройка
Предпочитаете пошаговое руководство с выбором темпа заранее (быстрый путь или объяснение по шагам) и полноценное объяснение, как работает синхронизация? Смотрите GETTING_STARTED.md. Здесь приведены те же шаги в справочной форме.
Настройка состоит из трёх частей:
Регистрация на портале разработчиков — сообщает Suunto, что вашему приложению разрешено читать ваши данные
Установка и настройка — запускает программное обеспечение на вашем компьютере
Подключение к Claude — позволяет ИИ находить и использовать сервер
Часть 1: Регистрация на портале разработчиков в Suunto (~5 минут, затем ожидание 3–4 недели)
У Suunto есть бесплатный портал разработчиков под названием apizone, где вы регистрируете приложения, имеющие доступ к ваших данным. Вы создадите аккаунт, подпишетесь на тарифный план данных и зарегистрируете небольшое «приложение» — не переживайте, ничего создавать не нужно. Это просто имя и пароль которые вы придумаете.
Шаг 1: Создайте свой аккаунт apizone
Перейдите на apizone.suunto.com и зарегистрируйтесь или войдите.
Используйте ту же электронную почту, что и для приложения Suunto. Если у вас есть аккаунт Sports Tracker, он тоже подойдёт — это одна и та же система входа.
Шаг 2: Подписка на Developer API
После входа в систему пройдите все действия в руководстве How to start — там поэтапно описано, как подписаться на Developer API. Это бесплатно и даёт доступ к истории ваших тренировок.
Важно: на сайте Suunto указано, что доступ к API предназначен только для коммерческих партнёров — не обращайте внимания. Частные пользователи тоже получают доступ, просто одобрение подписки занимает 3–4 недели. Подайте заявку и подождите.
Также могут появиться другие продукты, например «Sleep API», «Recovery API», «Daily Activity API». Пока пропустите их — про ознакомление Developer API достаточно. Остальные можно добавить позже, если захотите видеть данные о сне и восстановлении в Claude.
⏳ Остановитесь и подождите. После того как вы оставили заявку, Suunto должно одобрить ваш запрос. Это занимает 3–4 недели. Когда всё будет готово, вы получите письмо. Возвращайтесь к шагам 3–4 только после того, как ваша подписка будет показана как Active в профиле apizone.
Шаг 3: Регистрация приложения (делайте после одобрения)
Вы заранее говорите Suunto: «У меня есть небольшая программа — вот её имя и секресный пароль — пожалуйста, разрешите ей читать мои данные».
Перейдите на страницу профиля apizone
Войдите в OAuth application settings
Заполните форму:
Поле
Что в виде
App name
suunto-mcp(или что угодно)Client secret
Придумайте уникальный пароль — например что-то, что знаете только вы: `alice-suunto-2026, включённое ваше имя. Запишите. Не используйте именно этот пример.
Redirect URI
http://localhost:8421/callback— скопируйте точноеНажмите Save
После сохранения в форме отобразится Client ID — длинный код, который сгенерировала Suunto. Скопируйте его.
Что это за три вещи? — Client ID — имя вашего приложения, создан Suunto — Client Secret — пароль вашего приложения, вы его выбрали сами — Redirect URI — адрес, по которому Suunto возвращает вас после одобрения доступа; он должен точно распознаться, опечатки нарушают работу
Client Secret после сохранения больше нигде не отображается. Если оно забыли, просто установите новое в той же форме.
Шаг 4: Получите ключ подписки (делайте после одобрения)
Ключ подписки — это второй пароль, который отправляется с каждым запросом данных. Вот как его найти:
Останки на странице профиля apizone
Перейдите в раздел Subscriptions
Там указана ваша подписка Developer API. Рядом с ней вы увидите Primary Key — нажмите кнопку рядом с ним, чтобы показать его, и скопируйте ключ.
Сохраните все три значения до продолжения — они понадобятся вам во Части 2:
Client ID (из формы OAuth-приложения выше)
Client Secret (придуман постепенно)
Subscription Key (из раздела Subscriptions)
Часть 2: Установка и конфигурация (~10 минут, после одобрения Suunto)
Использовали опцию „Пусть установит Claude Code“ выше? Клод уже выполнил all commands below — переходите к Часть 3. Эти шаги — для тех, кто делает всё вручную.
Шаг 5: Загрузите код
Откройте Terminal на Mac (нажмите ⌘Space и введите «Terminal») или Command Prompt в Windows. Затем выполняйте эти команды по одной:
git clone https://github.com/googlarz/suunto-mcp
cd suunto-mcp
npm install
npm run buildЭто загрузит код, установит необходимые зависимости и соберёт проект. Займёт 1–2 минуты. Если появятся ошибки, загляните в раздел Troubleshooting.
Шаг 6: Добавьте свои учётные данные
Вы создадите файл .env в папке suunto-mcp и поместите в него три значения. Даже если все остальное сделает Claude, введите эти три значения сами, а не вставляйте их в разговор — так они не попадут в историю общения.
На Mac:
cp .env.example .env
open -e .envЭта команда копирует шаблон и открывает его в TextEdit. Замените каждое место нужным значениям, затем сохраните и закройте.
На Windows:
copy .env.example .env
notepad .envФайл выглядит так — замените части после знаков =:
SUUNTO_CLIENT_ID=your-client-id-here
SUUNTO_CLIENT_SECRET=your-client-secret-here
SUUNTO_SUBSCRIPTION_KEY=your-subscription-key-hereСохраните и закройте файл.
Только если вы хотите отправлять готовые тренировки на часы (см. Что можно отправить), добавьте ещё одну строку:
SUUNTO_APP_NAME=your-app-name-here— она должна точно соответствовать имени приложения, которое зарегистрировано на apizone.suunto.com в Шаге 3, иначе часы отклонят загрузку. Для остального это не нужно.
Шаг 7: Свяжите свой аккаунт Suunto
npm run authВот что присходит:
① Terminal — вы видите длинный URL и сообщение „Открываем авторизацию Suunto в вашем браузере…”
② Браунсер открывается — появляется страница входа Suunto. Это выглядит так же, как вход в приложении Suunto: поля email и пароль в верхней части, затем „Войти с помощью Apple“ и „Войти с помощью Facebook“ ниже. Войдите через любой способ, которым пользуетесь.
③ Экран разрешений — после входа появляется экран с запросом доступа для „suunto-mcp“. В нём перечислено, что именно приложение сможет видеть (ваши тренировки). Нажмите Authorize.
④ Подтверждение в браузере — на странице отображается: « Suunto MCP connected. Вы можете закрыть эту вкладку.»
⑤ Подтверждение в терминале — выводится: „Успешно выполнено. Токены сохранены.“
Готово. Вам не придётся делать это снова. Соединение остаётся активным и автоматически продлевается.
Браузер не открылся автоматически? Скопируйте длинный URL из терминала и вставьте его вручную в браузер.
Шаг 8: Проверьте работу
npm run doctorЭта команда выполняет проверку работоспособности. В результате вы увидите:
Suunto MCP — health check
✓ Node version 20.18.0 (require ≥ 20)
✓ Credentials client_id, client_secret, subscription_key set
✓ Network reachability reachable
✓ Pairing paired (user: your-username), token expires in 47 min
✓ API probe (workouts) received 1 workoutЕсли в строке появится ✗, сообщение подскажет, что именно поправить. Устраните проблемы до перехода дальше.
Часть 3: Подключение к Claude Desktop (~5 минут)
Использовали „Let Claude Code install it“? Эта часть тоже уже выполнена: Claude отредактировал конфигурацию напрямую. Перезапустите Claude Desktop и переходите к Шагу 11.
Теперь вы сообщите Claude Desktop, где найти Suunto MCP.
Шаг 9: Откройте config "файл" доктора configuration
Откройте этот файл в текстовом редакторе (если его нет, создайте его):
Mac:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Быстрый способ для Mac — выполните в терминале:
mkdir -p ~/Library/Application\ Support/Claude && open -e ~/Library/Application\ Support/Claude/claude_desktop_config.jsonБыстрый способ для Windows — выполните в командной строке:
notepad "%APPDATA%\Claude\claude_desktop_config.json"(Если появится вопрос „File not found — create it?“, нажмите „Yes“.)
Шаг 10: Добавьте Suunto MCP
Сначала найдите папку suunto-mcp. В терминале, находясь в этой одной папке, выполните:
pwdВывод будет похож на /Users/yourname/suunto-mcp. Скопируйте это.
Затем вставьте в config file следующее. Замените /Users/yourname/suunto-mcp на путь, полученный из pwd, и замените значения учётных данных своими реальными значениями.
Если в файле уже настроены другие серверы, не заменяйте весь файл — просто добавьте секцию
"suunto"к остальным. Структура должна быть корректным JSON, поэтому следите, чтобы все фигурные скобки оставались сбалансированными. Если сомневаетесь, сверьте свой файл с примером ниже.Если файл пуст, вставьте весь блок как есть.
{
"mcpServers": {
"suunto": {
"command": "node",
"args": ["/Users/yourname/suunto-mcp/dist/index.js"],
"env": {
"SUUNTO_CLIENT_ID": "your-client-id",
"SUUNTO_CLIENT_SECRET": "your-client-secret",
"SUUNTO_SUBSCRIPTION_KEY": "your-subscription-key",
"SUUNTO_APP_NAME": "your-app-name"
}
}
}
}SUUNTO_APP_NAME нужен только в том случае, если вы хотите отправлять управляемые тренировки (guided workouts) на свои часы — пропустите его (или удалите эту строку), если вы лишь спрашиваете Claude о своих данных.
Сохраните файл.
Шаг 11: Проверка
Три действия по порядку — это единственная часть настройки, которую за вас никто не сделает:
Полностью закройте Claude Desktop. Начать не просто закройте окно: ⌘Q на Mac или правый клик по значку на панели задач → Выйти (Quit) в Windows. Изменения конфигурации подхватываются только при новом запуске.
Откройте Claude Desktop заново.
Спросите:
«Какой была моя последняя тренировка?»
Если Claude назовёт ваш реальный вид спорта, дату и дистанцию — вы справились. Если нет, не гадайте — перейдите к Устранению неисправностей.
Пример диалога
You: Compare my last three long runs. Has my heart-rate drift improved?
Claude: Looking up your workouts…
Found 3 runs over 90 minutes in the last 6 weeks:
• Apr 12 — 22.4 km, 2h09, avg HR 148, last-30min drift +6 bpm
• Apr 19 — 24.0 km, 2h21, avg HR 144, last-30min drift +4 bpm
• Apr 26 — 25.1 km, 2h28, avg HR 142, last-30min drift +2 bpm
Drift is trending down despite slightly longer runs — your aerobic
base is improving. Pace at the same HR is also ~3 s/km faster.Какие данные доступны
Категория | Что можно спросить | Для чего |
Тренировки | Любая записанная активность: пробежки, походы, велосипед, плавание, лыжные прогулки. Дистанция, время, пульс, темп, высота, GPS-маршрут, мощность. | Developer API (уже подключена) |
Сон | Длительность сна, стадии (лёгкий/глубокий/REM), оценка сна. | Подписка на Sleep API в apizone |
Восстановление | HRV, статус восстановления, баланс стресса. | Подписка на Recovery API в apizone |
Ежедневная активность | Шаги, калории, пульс 24/7. | Подписка на Daily Activity API в apizone |
Чтобы добавить сон, восстановление или повседневную активность: зайдите снова на apizone.suunto.com, найдите нужный продукт и подпишитесь. Затем запустите npm run doctor, чтобы убедиться, что они активны.
Что можно отправлять на часы
Suunto MCP — не только для чтения. Claude также может отправлять данные в ваш аккаунт:
Вы хотите | Скажите Claude | Требуется |
Получить план тренировок прямо на часах | «Составь сегодняшнюю тренировку и отправь её на мои часы» | Установлен |
Загрузить тренировку с другого устройства | «Загрузи этот FIT-файл как тренировку Suunto» | — |
Выгрузить сохранённый маршрут как GPX | «Экспортируй мой воскресный маршрут как GPX» | — |
Guided workouts появляются в виде подарка SuuntoPlus Guide: на экрана приложение выполняющего упражнение, вес/количество повторений, кнопка круга (lap) переделяет нас к следующему шагу, между циклами — секундомер (а не обратный отсчёт) с предпросмотром того, что идёт дальше, вибрация при начале нового упражнения и экран «сессия завершена» в конце. Прями доставaty*, но appearing until next sync normal Suunto into your phone — ровно как и любые другие данные вашихчасов.
Это отлично работает с тренерцемкой работой: описываете Claude свои цели, оборудование и текущие рабочии "веса", и она может построить настоящую прогрессивную программу и отправлять каждую тренировь напрямую. См. Pairs well with health-skill ниже — туда про программирование с учётом восстановления.
Ежедневный дайджест здоровья
Попросите Claude «сгенерируй мой ежедневный дайджест за вчера» — и вы получите цветь маркдавку — шаги, сон, баланс восстановления, HRV и модель тренировочной нагрузки (Fitness/Fatigue/Form) — добавленную в SUUNTO_HISTORY.md.
Fitness (CTL), Fatigue (ATL) и Form (TSB) не являются полями Suunto API — для них нет эндпоинта. Здесь они вычисляются из реального tss.trainingStressScore каждой тренировки по стандартной экспоненте на 42/7 дней — интернет как в инструментах типа TrainingPeaks. Продолжаемые значения живут в ~/.suunto-mcp/averages.json (можете переопределить через SUUNTO_DIGEST_AVERAGES_PATH), потому что хранить перемен здесь больше негде.
Несколько важных вещей, прежде чем на бы ему/обеday:
CTL/ATL начинаются с 0 на первом запуске и для получения правдоподобных цифр им нужно 4–6 недель, — API нет отдельных полей для чисел, которые покачо самы часы. Они hide cold start: при первом дайджесте скажите Claude числа с ваших часов («на моих часах сразу Fitness 42, Fatigue 38, вескай дайджест с них») — или укажите
--seed-ctl 42 --seed-atl 38в CLI. Работает только при первиде первого дайджест; дальше игнорируется.Цвета TSB совпадают семье ваши часы (🔵 Оптима >+10, 🟢 Сбалансирован от 0 до +10, 🟡 Компромисс −10 до 0, 🔴 Перенаправленность <−10) — здесь не выдуманная шкала.
Ramp rate (CTL этой недели против CTL 7 дней назад) live со своей шкалой: 🔴 уровень сума >, поступаетнако +8/за неделю — вы слишком быстро «вражива сердце», это реальный риск травмы, а не просто «прогресс». 🟢 +3…+8 — прогресс и это хорошо, 🟡 −2…+2 — стабильность/удержание, 🟠 ниже на −2 — общая форма снижается.
Recovery Balance сходится как утреннее (низшая точка за ночь) против пикового (максимальное за день) — они используют различающие цветки шкалы, потому что пик естественно выше ночного минимума.
HRV ниже обычного диапазона в течение 2+ дней подряд, либо утреннее восстановление ниже 65% в течение 2+ дней подряд — это повод добавить заметку и проверине артериальное давление; стойкое понижение HRV/восстановление — реальный физиологический признак, к которому стоит приглядеться.
Скользящие базовые показатели считают все метрики раздельно, для «вечеринокок ночей» (>20 000 шагов) заведена отдельная корзинка, чтобы день-выброс не искажал среднее обычных дней.
Даты должны быть в хронологическом порядке. Базовые показатели́ «начало на момент запуска», а не «на календарной датах»: если добавите забытую прошлую дату после более поздней, в этот день базовое сравнение безудета не чуть — полит normale; но имей это в виду, если навёртроды назад.
Для заполнения соответствующих разделов нужна подписка на Sleep и Recovery API в apizone. Без них дайджест всё равно создаётся, в этих разделах будет просто сообщение «нет данных», а неошибок.
CLI: suunto-mcp daily-digest 2026-04-20 [--seed-ctl 42 --seed-atl 38]. MCP–инструмент: generate_daily_digest.
Устранение неисправностей
Всегда сперва запускайте npm run doctor — он автоматически определяет большинство проблем.
Что вы увидите | Что это означает | Как это исправить |
Claude отвечает ошибкой или вообще не отвечает | Что-то ещё не подключено | Запустите |
Пустые список тренировок | Часы давно не синхронизировалось | Откройте приложение Suunto на телефоне и дождитесь завершения синхронизации |
«Not authenticated» | Шаг подключения не был заверён | Выполните |
Вы вошли, но ничего не произошло | Вкладка браузера закрылась или истекла время до подтверждения Suunto | Закройте все вкладки Suunto и заново запустите |
«Token request failed» / «ошибка 400» | Client Secret или Redirect URI не соответствуют apizone | Перейдите в apizone → профиль → настройки OAuth‑приложения и сличите оба значения |
Ошибка «401» при любом запросе | Неправомерный или неполный ключ подписки | apizone → профиль → Subscriptions, откройте и скопируйте заново Primary Key |
«403 Forbidden» для тренировок | Developer API подписка не активна | Авторизуйтесь на apizone и замечайте активность Active |
Sleep/восстановление/активность возвращают «not found» | Для них нужны отдельные подписки | Зайдите на apizone и подключите Sleep, Recovery или Daily Activity API |
Ошибка SSL после входа через Apple | Частный случай Suunto для входа Apple | Закройте вкладку с ошибкой, вернитесь к авторизационному URL-у в терминале и продолжайте |
Ошибка «State mismatch» | Второй процесс авторизации начался, пока первый ещё не вышел | Закройте всё возможные странички авторизации и перезапустите |
| Версия Node.js слишком старая или её нет | Выполните |
Терминал говорит «EADDRINUSE» или использует порт | Порт 8421 занят другой программой | Перезаністнет компьтер или |
Ошибка «owner» при отправке gaid |
| Посмотрите apizone → ваш app → точное имя, исправьте переменную окружения и перезапустите Claude |
Отправили на часы, но тренировка не появилась | Часы ещё не синхронизировались с телефоном | Откройте Суunто приложение и дайте ему синхронизироваться; всё появится без доп. шагов |
FAQ
Это безопасно? Заблокирует ли Suunto мой аккаунт? Suunto создал этот API специально, чтобы люди подключали свои инструменты — это легально и официально разрешено. Вы используете его именно так, как предполагалось.
Мои данные покидают компьютер? Данные передаются между напрямую между вашим компьютером и серверами Suunto. Suunto MCP — просто мост. Когда Claude спрашивает о тренировках, это выглядит так: Claude → Suunto MCP (на вашей машине) → серверы Suunto → обратно. Никакие сторонние сервисы данные не видят.
С какими часами Suunto это работает? Любые часы, которые синхронизируются с приложением Suunto: Race, Vertical, о Peak Pro, о Peak, 5 Peak, Wing, Ocean и старые модели. Если они появляются в приложении Suunto — здесь будут работать.
Нужно ли мне что‑то делать, когда я записываю новую тренировку? Нет. Просто спросите Claude — он всегда берёт свежие данные напрямую Suunto.
Что если я захочу отсоединиться и перестать пользоваться? Смотрите раздел Отключение. Доступ не полностью через менее минуты.
Могу ли я использовать это с ИИ‑программами, кроме Claude? Да — всё, что поддерживает MCP: Claude Code, Cursor, Windsurf и другие.
Имя пользователя в приложении Suunto отличается от моей почты — что использовать? Для входа в apizone используйте адрес электронной почты. После авторизации ваше имя пользователя будет отображаться.
Конфиденциальность
Все данные передаются напрямую между вашим компьютером и серверами Suunto. Никаких сторонних серверов и аналитики.
Ваши учётные данные для входа хранятся локально в
~/.suunto-mcp/tokens.json— никуда не загружаются.Suunto показывает ваше подключённое приложение как «suunto-mcp» в apizone → профиль → авторизованные приложения. Вы можете отозвать доступ там в любой момент.
ИИ видит только те данные, которые он явно запрашивает для вашего вопроса, — а не всю вашу историю сразу.
Отключение доступа
Чтобы полностью удалить доступ:
Войдите в apizone.suunto.com → профиль → Авторизованные приложения → удалите suunto-mcp. Suunto немедленно перестанет считать подключение действующим.
Удалите локальные учётные данные:
rm -f ~/.suunto-mcp/tokens.jsonУдалите блок
"suunto"из конфигурации Claude и перезапустите Claude.
Хорошо сочетается с health-skill
Если вы используете googlarz/health-skill — навык Claude для оценки симптомов и вопросов и ответов о здоровье, — Suunto MCP даёт ему живой поток ваших данных о тренировках, сне и восстановлении. Вместе они могут отвечать на вопросы вроде «с учётом моих показателей восстановления на этой неделе, стоит ли оставить завтрашнюю интервальную тренировку?» на реальных числах.
То же сочетание работает и для планирования, а не только для вопросов и ответов: Claude может проверить ваши актуальные HRV и сон перед составлением тренировки, снизить нагрузку в день плохого восстановления вместо стандартного плана и отправить результат прямо на часы с помощью push_workout_guide. Запросите это напрямую — «проверь моё восстановление и спланируй сегодняшнюю тренировку» — никакой дополнительной настройки, кроме подключения обоих сервисов, не требуется.
Для полной версии — настоящего программирования с прогрессивной перегрузкой, которое продолжается неделю за неделей, а не является разовым запросом, — установите googlarz/gym-skill: один раз выполните /gym setup, затем используйте /gym plan//gym today//gym log//gym review.
Дополнительно
Отредактируйте ~/.claude/mcp_config.json и добавьте тот же блок "suunto" из шага 10. Затем выполните claude mcp list, чтобы убедиться, что он загружен.
После сборки вы можете запрашивать данные Suunto напрямую без Claude:
suunto-mcp list-workouts --limit 10
suunto-mcp get-workout <workoutKey>
suunto-mcp export-workout-gpx <workoutKey> > route.gpx
suunto-mcp get-sleep 2026-04-20
suunto-mcp list-recovery --from 2026-04-01 --to 2026-04-30Все выходные данные — JSON, можно пропустить через jq для фильтрации.
npm run webhookЗапускается HTTP-приёмник на порту 8422, который протоколирует события тренировок по мере их поступления. Откройте к нему доступ из интернета (cloudflared, ngrok, собственный сервер) и укажите URL в apizone → вебхуки.
Большинству пользователей это можно пропустить — проще спросить Claude напрямую.
Чтобы хранить ваши учётные токены Suunto в системной связке ключей (macOS Keychain, Windows Credential Manager) вместо файла:
SUUNTO_TOKEN_STORAGE=keychain npm install @napi-rs/keyring
SUUNTO_TOKEN_STORAGE=keychain npm run authClaude автоматически выбирает нужный инструмент — вам не обязательно знать их. Для тех, кому интересно:
Тренировки
Инструмент | Что делает |
| Последние тренировки с фильтром по дате или виду спорта |
| Полная сводка по одной тренировке |
| Временные ряды: ЧСС, темп, высота, мощность, GPS посекундно |
| Сырой FIT-файл, декодированный в структурированные данные |
| Экспорт GPX-маршрута для карт, Strava и планирования маршрутов |
Здоровье 24/7 (требуются отдельные подписки на продукты в apizone)
Инструмент | Описание |
| Шаги, калории, повседневная частота сердечных сокращений |
| Стадии сна, длительность, оценка |
| Оценка восстановления, HRV, баланс стресса |
| Сводная дневная статистика за диапазон дат |
Маршруты
Инструмент | Описание |
| Сохранённые маршруты на вашем аккаунте |
| Экспорт маршрута в формат GPX |
Загрузка и управляемые тренировки (запись — отправка данных обратно в аккаунт)
Инструмент | Описание |
| Загрузить FIT/GPX-файл как новую тренировку |
| Проверить, завершилась ли обработка загрузки |
| Отправить структурированную тренировку (упражнения, веса, отдых, уведомления) как SuuntoPlus Guide — требует переменную |
Благодарности
Suunto APIzone — за то, что открыли свой API для всех
Model Context Protocol — стандар, на котором это работает
fit-file-parser— декодирование бинарных FIT-файлов
Лицензия
MIT — используйте, создавайте форки, улучшайте.
Available Tools
60 toolsadjust_guideAdjust a strength guide to today's recovery (returns it, pushes nothing)ARead-only
Adjusts a strength guide spec (the arguments of push_strength_guide) to how recovered the user is on date (default today), and RETURNS the adjusted spec with the reasons. It does not push anything: show the user the changes, and push the returned guide with push_strength_guide only if they agree. Reads get_baselines for date: HRV (metrics.hrv.latestVsBand) and recovery on waking (metrics.recoveryMorning.latestVsBand) against the user's own band of the last 28 days. Rules: neither below the band, or no reading yet -> unchanged (it never adds load or sets); one of the two below -> one set less on every exercise with 3 or more sets (the 'NxM' in detail is rewritten to match; an exercise whose detail has no matching 'NxM' keeps its sets and says so in reasons); both below -> that, plus every load in detail (the first 'kg', not bodyweight) 10% lower rounded to 2.5 kg, a plates breakdown is dropped when the load changed, and an exercise's target is dropped whenever that exercise changed at all (sets or load; a reason says so, last stays). Output: { level ('unchanged' | 'lighter' | 'reduced'), adjusted (whether anything changed), signals: { hrv, recoveryMorning } (below | within | above | null), reasons, changes: [{ exercise, from: { sets, detail }, to: { sets, detail } }], guide (the full adjusted spec), baselineErrors (only when a baseline section failed) }. The band is the middle half of the user's own recent days, not a medical reference. To put the adjusted guide in the approval queue, pass queuePayload (queue_adjustment's exact arguments: kind adjusted_guide, the adjusted guide as payload, reasons, source; null when nothing was changed) to queue_adjustment: this tool queues nothing and pushes nothing. Read-only.
Inputs: guide (required), date.
analyze_experimentAnalyze an experiment: intention to treat and per protocol, permutation testARead-only
Analyzes an experiment (default: the newest): the difference in MEDIANS of the outcome metric on the night after intervention days minus the night after control days, with a two-sided permutation test over the randomized pairs (the arms swapped within each pair; all swaps are enumerated up to 15 informative pairs, else 20000 random swaps with a fixed seed, so the same data always gives the same p; WITHOUT a washout the p-value is exact when the intervention does nothing, WITH a washout it is an approximation, checked by simulation in the project's tests, and pValueBasis says which), the effect against the same noise scale get_tag_effects uses (noiseThreshold = 3 * 1.25 * (IQR of the control nights / 1.35) * sqrt(1/nIntervention + 1/nControl), effectInStandardErrors), the nights per arm, the missing nights per arm, and a verdict. Both analyses are reported: intentionToTreat (every assigned day counts as assigned, followed or not; the PRIMARY one) and perProtocol (only days logged as followed; not protected by the randomization). verdict: 'insufficient' with fewer than 6 nights with a value in either arm (nothing is claimed; 6 is the least with which a permutation test over pairs can reach p < 0.05); 'intervention-higher' / 'intervention-lower' only when p <= 0.05 AND the median difference is larger than noiseThreshold (compared as printed); else 'no-clear-difference', which does not show there is no effect. statement says it in plain language, randomized says what was randomized and notControlled what was not (everything else on those days, no blinding, carry-over between nights, the watch's estimate, missing nights). Allowed only from the second day after the planned end (the last night must be recorded); before it an early look needs early: true and is flagged exploratory (exploratory: true, the statement starts with 'Exploratory'), as is a stopped experiment (analysed up to the day it was stopped). Reads Suunto's sleep list (and the recovery list for recoveryMorning), one request each, and the local file; writes nothing. A failed request is an error, never silently 'missing nights'. Output: { id, name, metric, today, status, exploratory, exploratoryReason, window: { from, through, plannedEnd }, hypothesis, verdict, statement, intentionToTreat: { nIntervention, nControl, interventionMedian, controlMedian, medianDiff, meanDiff, noiseThreshold, effectInStandardErrors, pValue, test: { method, permutations, informativePairs }, missingNights: { intervention, control }, verdict }, perProtocol (the same fields + note), adherence, randomized, pValueBasis, notControlled, thresholds, notes }. Read-only.
Inputs: id, early.
archive_workoutsArchive workouts to local files (writes nothing at Suunto)A
Copies the user's workouts to local files so the history does not depend on how far back Suunto's list reaches: per workout .fit (the FIT file as Suunto sent it) and .json (the workout's summary from the list with its summary and intensity extensions, the FIT's size and SHA-256) in ~/.suunto-mcp/archive/ (SUUNTO_ARCHIVE_DIR moves it; files are 0600 and a folder the tool creates is 0700, an existing folder keeps its mode; each file is written complete under a temporary name and linked into place, which fails if the name exists, so not even another process can overwrite one: the folder's filesystem must support hard links). Incremental: a workout whose record exists is skipped, at most limit FIT files are downloaded per call (1-20, default 20, newest workouts first), and the result's remaining says how many are still missing: CALL AGAIN until remaining is 0, unless a note says it will not help (failed downloads are listed in errors and tried after the others next time). Each FIT file is checked before its record is written (non-empty, a FIT header, not shorter than the header says; the CRC is not checked); a bad download writes nothing and is reported. Only NEW files are written: nothing at Suunto is changed, and nothing is ever deleted or overwritten; a record that is damaged, of another version, filed under another key or whose FIT is missing or has another size is reported in refused and left as it is (the user fixes or moves it), and a FIT file already there that differs blocks that workout with an error. The record file is written last and is the mark 'archived', so an interrupted call is completed by the next one. Reads the newest 1000 workouts from the list per call (50 per request): older ones are not reachable. Output: { dir, listed, alreadyArchived, newlyArchived, archived, remaining, refused: [{ workoutKey, problem }], errors: [{ workoutKey, error }], notes }. estimate_route_time reads the archived FIT files; get_exercise_history, get_training_load and the other tools do NOT read the archive. Annotated not read-only (it writes local files), not destructive, NOT idempotent (each call archives the next batch) and open-world (it contacts Suunto). In demo mode the archive lives in memory.
Inputs: limit.
compare_workout_to_planCompare workout to planARead-only
Compares one guided gym session with its plan: maps the manual laps (the same data get_workout_laps returns) to exercises, sets and rests, and reports planned vs actual with honest deviations. Works for sessions pushed with push_strength_guide (lapGranularity perSet or perExercise, restMode countdown or stopwatch) and push_workout_guide. The plan — exercise order, set counts, rest targets — is read from the lap labels, so plan is optional; pass the exercises array you pushed to also check the session against it (missing, extra or reordered exercises, set counts, rest targets). Output: { workoutKey, guide, status ('ok' | 'no-laps' | 'no-guide-labels' | 'unknown-label-format'), format ('strength-perSet' | 'strength-perExercise' | 'workout'), restMode ('countdown' | 'stopwatch' | null), complete (the guide's 'Session complete' lap was reached), reliable, note, checks (get_workout_laps' checks, passed through), lapCount, baselineHr (heart rate of lap 1, the first prep — null for workout guides), cols, exercises: [{ n, name, detail, plan (index into plan or null), planned: { sets, restS }, prep, sets, rests }], afterComplete, unattributed, deviations: [{ code, basis ('labels' | 'plan' | 'heuristic'), ex, plan, laps, detail }] }. prep, sets, rests, afterComplete and unattributed rows are arrays in the column order given by cols. A rest row's peak is the rest lap's max HR and end its min HR (optical HR lags 20–30 s, so the peak lands in the rest, not in the set); endVsBaseline is end minus baselineHr. Deviation codes: unexpected-sequence, rest-split, rest-short, rest-long, short-set, long-set, missing-set, extra-set, rest-target-mismatch, extra-exercise, ended-early, unlabelled-lap, after-complete, order-differs, missing-exercise. reliable is false when checks has an entry other than no-heart-rate (which only nulls the heart-rate fields) or the laps break the guide's step order; the mapping is then best effort and note says why. With restMode countdown a rest lap always lasts exactly its target (the watch advances by itself), so extra rest ends up inside the next set's lap and is not measurable. About 1–4 KB. Read-only.
Inputs: workoutKey (required), plan.
delete_guideDelete SuuntoPlus guideADestructiveIdempotent
Permanently deletes one SuuntoPlus Guide from the user's account by id. Use list_guides to find the id. This removes it from the Suunto app / apizone catalogue; it does not reach into the watch to un-pin a copy already synced there. Write operation (irreversible).
Inputs: guideId (required).
draft_session_logDraft a session log from the watch data (read-only; the user confirms, then log_session)ARead-only
ZERO-LOGGING DRAFT: proposes the log_session payload for a guided gym session so the user only has to confirm it. Give workoutKey, or date for the latest guided session of that day (exactly one of the two). It reads the session's laps (the same mapping as compare_workout_to_plan; plan is the same optional exercises array) and its FIT file (heart-rate quality only), and builds, per exercise, the guide's text as sets x reps @ load. IMPORTANT: the watch records only the guide's PLANNED text, never the reps and weights done, so every rep count and weight in the draft is an ASSUMPTION (assumed: true) and must be confirmed or corrected by the user before anything is logged. In a per-set guide the number of sets is the number of set laps the watch recorded; in a per-exercise or workout guide the watch has one lap per exercise, so the number of sets is the plan's. It lists every deviation the watch data shows per exercise and for the session (missing, extra, short or long sets, a lap pressed during a rest, laps after 'Session complete', an unreliable mapping, a session that stopped early, missing exercises when plan is given) and the exact things to ask: confirm. A distance or time after the x ('3x40m') is not taken as reps, a missing weight is left out, never guessed. It NEVER writes anything, here or at Suunto: after the user has confirmed or corrected the draft, call log_session with draft (corrected) and source: 'draft'. Output: { workoutKey, date, status ('ok' | 'no-laps' | 'no-guide-labels' | 'unknown-label-format' | 'no-workout'), assumed: true, draft: { workoutKey, source: 'draft', exercises: [{ name, sets: [{ reps, kg }] }] } | null (valid arguments for log_session as they are), review: [{ n, name, detail, planned: { sets, reps, kg } | null, recordedSetLaps, proposedSets, assumed: true, mustConfirm ('reps', 'kg', 'setCount'), issues: [{ code, detail }], whyNotFilled }], sessionIssues, mapping: { format, complete, reliable, note }, hrQuality: { reliable, reasons, coverage } | null, confirm (plain sentences: what to ask the user), notes }. About 1-4 KB; downloads the FIT file (about 550 KB). Read-only.
Inputs: date, plan, workoutKey.
estimate_route_timeEstimate a route's time from your own pace (and the latest start before sunset)ARead-only
How long a saved Suunto route will take THIS user, from their own pace on hills. It reads the route's GPX (one request, as export_route) and the user's local workout archive (archive_workouts; no Suunto request for them) and fits time = flat pace x distance + extra time per metre climbed + extra time per metre descended (Naismith's rule with the three constants fitted by least squares to the 100 m pieces of the user's archived walking and hiking workouts, or running ones with activity 'running': record-level distance, altitude and time from each FIT file, pauses over 30 s left out, implausible speeds and altitude glitches dropped; the newest 25 usable ones of the 40 newest archived). Workouts imported with import_workouts from other systems are used as well, after the Suunto archive and only for the places it leaves free (an imported workout that starts within a minute of an archived one is not counted twice); model.workoutsUsed counts imported workouts too, while workoutsConsidered and skipped count the Suunto archive only (so workoutsUsed can exceed workoutsConsidered); an imported workout counts only if its sport is walking, hiking or running (activity 'walking' takes walking and hiking). model.sources says how many of each kind were usable: { suuntoArchive, imported, importedBySource, importedSkipped: { otherSport, noMotionData, unreadable, duplicateOfArchive } }. It needs at least 3 usable workouts of 1 km or more, 15 km of track, 300 m of climbing and 300 m of descent together; otherwise model.status is 'insufficient' with the reason, and the estimate falls back to the generic Naismith rule (5 km/h plus 1 h per 600 m climbed, nothing for descent), labelled basis 'generic-naismith': say so to the user, it is NOT their pace (the demo archive has no altitude, so demo mode always falls back). A route without altitude on every point is estimated as flat ground, with a note. Output: { route: { name, points, distanceM, ascentM, descentM, hasElevation }, activity, basis ('personal' | 'generic-naismith'), model: { status, reason?, workoutsUsed, workoutsConsidered, skipped: { otherSport, noMotionData, unreadable }, distanceM, ascentM, descentM, flatPaceSPerKm, ascentSPerM (extra seconds per metre climbed), descentSPerM, gradeRangePct { min, max } (the steepest descent and ascent the model was fitted to), inSampleErrorPct (median error of the model against the user's own workouts' total times: fit to the past, not a forecast) }, estimate: { totalTimeS, totalTime, outsideRangeM (metres steeper than anything in the user's workouts, where the fitted pace is extrapolated: a note says so, 0 for the generic fallback), byKind: { flat | ascent | descent: { distanceM, timeS } }, splits: [{ kind, startM, distanceM, ascentM, descentM, timeS, outsideRangeM }] } (pieces at or above +3 % are ascent, at or below -3 % descent, else flat; stretches under 300 m are merged into the one before), latestStart: { sunset, marginMinutes, latestStart (in the sunset's own UTC offset), latestStartUtc, finishBy, alreadyPast } | null, assumptions, notes }. sunset is an ISO 8601 date-time WITH its UTC offset that the USER supplies (no sunset is looked up and nothing external is called); latestStart = sunset minus marginMinutes (default 30, 0-360) minus the estimated time; daylight after sunset is not considered. It is an ESTIMATE of moving time: no stops, weather, load, surface or fatigue. Read-only: it writes nothing.
Inputs: routeId (required), sunset, activity, marginMinutes.
export_routeExport route as GPXARead-only
Exports a saved Suunto route as a GPX 1.1 XML string. Suitable for import into navigation apps (Komoot, Strava, Garmin Connect, etc.). Use list_routes to discover valid route IDs. Read-only.
Inputs: routeId (required).
forecast_training_loadForecast training load (CTL/ATL/TSB) for planned daysARead-only
Projects Fitness (CTL, 42-day), Fatigue (ATL, 7-day) and Form (TSB) for planned training days: the same model and constants as get_training_load, rolled forward from today's values. Give each planned day's training stress as tss (the unit get_training_load shows per day: a typical hour of easy training is about 40-60, a hard one 80-100+); a date left out of days between today and the last planned day is a rest day (tss 0). Starts from the state at the end of asOf (default today) read with get_training_load's own computation (one workouts request, warm-up included); every planned date must be after asOf, and asOf must not be in the future, so to plan today pass yesterday as asOf. Workouts already in the account after asOf are not read: list them in days. Output (numbers to 1 decimal): { asOf, start: { ctl, atl, tsb }, series: [{ date, tss, ctl, atl, tsb }] (one per day from the day after asOf to the last planned day, values at the end of each day), notes }. A projection of the model, not a prediction of how you will respond; CTL can be about 1 point off the watch. At most 120 days after asOf. Read-only: it writes nothing.
Inputs: days (required), asOf.
generate_daily_digestGenerate daily health digestADestructiveIdempotent
Builds a color-coded daily health digest (steps, sleep, recovery balance, HRV, and a training-load model) for one date and appends it as markdown to a history file. Suunto's API has no fitness/fatigue endpoints, so this computes CTL (42-day fitness), ATL (7-day fatigue), and TSB (form) from each workout's tss.trainingStressScore using standard exponential time constants, persisting the running values in a local sidecar file (SUUNTO_DIGEST_AVERAGES_PATH env var, default ~/.suunto-mcp/averages.json) since there's nowhere else to store them. Running-average baselines (all days so far) per metric are also tracked there, with a separate baseline bucket for 'party nights' (>20,000 steps) so those don't skew the normal-day average. Requires Sleep and Recovery API subscriptions on apizone for the sleep/recovery sections to populate — falls back to 'no data' text for sections without a subscription rather than erroring. Write operation (updates the sidecar file and appends to the history file).
Inputs: date (required), seedAtl, seedCtl.
get_archive_statusGet the local workout archive statusARead-only
What is in the local workout archive made by archive_workouts (~/.suunto-mcp/archive/, SUUNTO_ARCHIVE_DIR moves it), from the folder alone: { dir, archived (workouts whose record and FIT file check out), fitBytes, oldest, newest (local dates of the archived workouts), problems: [{ workoutKey, problem }] (a damaged or foreign record, a missing FIT file, a FIT file whose size differs from its record: never repaired or deleted), incomplete: [{ workoutKey, problem }] (a FIT file with no record, left by an interrupted archive_workouts: not counted as archived; the next archive_workouts completes it while the workout is still listed and the download is identical), otherFiles (files in the folder that are not part of the archive, never touched), notes }. A FIT file is checked by its size against its record, not read again or re-hashed. A folder that does not exist is an empty archive and is not created. Local files only: never contacts Suunto, needs no Suunto credentials, writes nothing. It cannot say how many workouts are still missing: archive_workouts reports remaining. In demo mode it describes the in-memory archive. Read-only.
Inputs: no named parameters.
get_baselinesGet personal baselines (sleep, HRV, recovery, steps)ARead-only
Your own recent norms, so a day can be judged against them: the band of the user's last days days (default 28) for sleep duration, sleep score, HRV, recovery on waking, the day's lowest recovery and steps, and where the judged date sits in it. The baseline window is the days days BEFORE date (date-days to date-1); date itself is never part of its own baseline. Per day: sleepDurationS, sleepScore and hrv (AvgHRV) come from the main sleep of the night that led INTO that day (as in get_daily_snapshot; sleep shorter than about 3 h is filed by Suunto as a nap and does not count, so that day has no value), recoveryMorning is the Balance nearest the main sleep's end, recoveryLow the lowest Balance of the local day (Balance x100 equals the watch's Resources %), steps the day's step count. A day without data has no value and is never counted as 0. Output (compact JSON; seconds whole, Balance 2 decimals, everything else 1): { date, from, to, days, metrics: { : { n (days with a value in the window), median, p25, p75, last7Median, latest, latestVsBand } }, notes, errors }. median, p25 and p75 are quantiles by linear interpolation between order statistics (position (n-1)*p in the sorted values; the median of an even n is the mean of the two middle values), and all three are null when n < 7 (too little data; notes says so). last7Median is the median of the last 7 days of the window, null with fewer than 4 values. latest is the value for date itself, null when missing; for steps and recoveryLow it is always null because that day is still running. latestVsBand is 'below' | 'within' | 'above' relative to [p25, p75] (the edges count as within), null when latest or the band is null. The band is the middle half of the user's own last N days, not a medical reference. One request each for sleep and recovery over the whole span; activity is read in pieces of up to 28 days (Suunto's limit for daily statistics), so 90 days cost 6 requests; a section that fails leaves its metrics empty and is listed in errors: [{ section, error }]. Read-only.
Inputs: date (required), days.
get_benchmarkGet benchmark: a repeatable session over timeARead-only
One repeatable session as a series over its occurrences, to see whether it is getting better: give guide (a guide's title, e.g. 'PUSH A': the sessions that ran it, by the guide name in the workout list) or exercise (the sessions that contain that exercise, as in get_exercise_history), over the weeks weeks (default 8, max 26) ending at date. It reads the guided sessions with get_exercise_history's own reader (the same local cache, the same limit of 8 uncached sessions per call, the same pending: CALL AGAIN until pending is 0 before drawing conclusions, and the same journal), and adds the workout list's own duration and TSS. Output: { mode, name, from, to, occurrences, sessions: [{ date, workoutKey, guide, durationS, tss (Suunto's HR-based, null when none), restEndHrMedian (median end-of-rest HR after set 1 over the session's exercises with reliable heart-rate data, rounded), exercises: [{ name (one entry per exercise per session: an exercise that appears twice is merged: heaviest block's detail, load and reps, sets added, median rest HR, reliable only if every block is; parts counts the blocks), detail, kg (the guide's label weight, or the top logged weight with loadSource 'journal'; null when none, never guessed), loadSource, reps (the planned reps per set from 'NxM' in the label; null for a range or no 'NxM'), setsDone, plannedSets, restEndHr (null when unreliable), reliable }] }] oldest first, series: { durationS, tss, restEndHrMedian, exercises: [{ name, kg, reps, restEndHr }] } where each series is { n (occurrences with a value), first, last, best (highest kg and reps, lowest duration and heart rate; null for TSS, which has no better direction), better, trend, change }, pending, errors, notes }. TREND RULE: with at least 3 values, the median of the older half is compared with the median of the newer half (floor(n/2) values each; the middle one is left out when n is odd): 'up' or 'down' when they differ by more than 3% of the older median (exactly 3% is flat), else 'flat'; change is that difference; with fewer than 3 values the trend is 'insufficient'. There is no significance test: it says what moved, not that the move is real; 'up' is not 'better' for every series (see better). Weights and reps are what the guide PLANNED unless a log_session entry logged weights. Writes only get_exercise_history's local cache; never changes anything at Suunto. Read-only.
Inputs: date, guide, weeks, exercise.
get_catchupCatch up: what is new since last timeAIdempotent
What is new since the last time the user caught up: new workouts (date, startLocal, activityId, totalTimeS, tss, guide, workoutKey), new finished nights (bedtimeStart/End, durationS, score, avgHrv, recoveryOnWaking), new recovery samples (count, latest, low, high), the plan items (from set_plan) in the review window as done / missed / pending by DATE (any workout on a planned date counts as done: the sport and the guide are not compared), and daysSinceLastSession. Toward Suunto it only reads: list calls for workouts (pages of 50, at most 4 pages per call), sleep and recovery. The first call looks back 7 days (the list calls add a margin of up to 14 hours for time zones); later calls start at the review window's first day, which is the day every section was last read completely (never more than 14 days back; anything older is reported in notes and was not looked at), and list workouts 2 days further back so a late sync is found. 'New' means after the marker kept in ~/.suunto-mcp/seen.json (SUUNTO_SEEN_PATH overrides it): workouts by key (a workout that syncs late with an earlier start is still new, once), nights by end time, recovery by sample time. Pass markSeen: true only once the user has actually been told. markSeen false (the default) is a PURE READ: nothing is written and the same call repeats the same answer. With markSeen: true each section that was read moves its marker, and marked is true; the review window (sleep, recovery and plan items) moves forward only when EVERY section was read (no entry in errors, the plan file readable, the whole workout list read), so what a failed section missed is reported next time. If there are more workouts than one call reads, errors says so, the call reports what it read, and calling again with markSeen: true continues below where it stopped. Plan items are reviewed from the review window's first day, so an item can show again until the window moves. A night still being recorded and naps are not reported. Output: { today, since: { from, firstCall }, newWorkouts, newNights, recovery, plan (null without a plan, { error } if the plan file is unreadable), lastSessionDate, daysSinceLastSession, markSeen, marked, errors, notes }. An unreadable seen.json is an error and is never overwritten. In demo mode the marker is kept in memory. Annotated not read-only (and idempotent: marking twice leaves the same marker) only because markSeen: true writes that small local marker, so clients may ask for permission before running it; the call itself changes nothing at Suunto.
Inputs: markSeen.
get_daily_activityGet daily activityARead-only
Returns the 24/7 activity samples for one local calendar day (00:00–23:59 in the local time the watch stamped on each sample) from the /247samples API, as a plain array of { timestamp (ISO 8601 with UTC offset), entryData: { HR (bpm), StepCount, EnergyConsumption (joules, as in get_daily_activity_statistics) } } — 144 rows for a full day, one per 10 minutes (138 or 150 on the days the clocks change). A day without synced data returns []. Use list_daily_activity for a date range. Requires 24/7 Activity API subscription on apizone. Read-only.
Inputs: date (required).
get_daily_activity_statisticsGet daily activity statisticsARead-only
Returns aggregated daily step count and energy consumption (joules) from the /247 API for the given datetime range. Response is an array of AggregatedActivityData objects, each with a Name ('stepcount' or 'energyconsumption'), Aggregation ('sum'), and Sources array containing per-device Samples with TimeISO8601 and Value. The window must be less than 28 days (exactly 28 is rejected). Samples with null Value indicate no data synced for that day. Each daily Sample is stamped local noon (TimeISO8601 like 2026-09-27T12:00:00+02:00); a one-day window (startdate = enddate = D) was observed returning the samples for D and the day after, so select samples by the date in TimeISO8601 rather than summing the response. Prefer this tool over list_daily_activity when you need totals rather than intraday time-series. from / to are the preferred names of startdate / enddate (both pairs work; neither pair is required by the schema, but each end must be given one way). Read-only.
Inputs: to, from, enddate, startdate.
get_daily_snapshotGet daily snapshotARead-only
One call for "how was this day, and the night before it": the aggregation the other tools leave to the caller. Output: { date, sleepNightOf, sleep, recovery, activity, workouts, errors }. sleep describes the NIGHT THAT LED INTO the date (sleepNightOf = the previous date, i.e. sleeps that began between noon on the previous day and noon on the date): { main (the longest non-nap sleep: sleepId, bedtimeStart, bedtimeEnd, durationS, deepS, lightS, remS, score, avgHrv, hrAvg, hrMin, spo2Max, latencyS, wasoS, wakeBeforeOffBedS — all durations in seconds: time to fall asleep, awake after falling asleep, awake in bed before getting up), otherNights (further non-nap sleeps, when the watch split a night), nightSleepS (total of main + otherNights, null when there is none), naps }. Suunto marks any sleep shorter than about 3 hours as a nap, so a short night appears under naps with main null. recovery covers the local calendar day: { samples, low: { balance, at }, high, first, last, morning: { balance, at } (the sample nearest the main sleep's bedtimeEnd — the waking value), atBedtime: { balance, at } (nearest its bedtimeStart, which falls on the previous local day), both null when there is no main sleep or no sample within an hour, stressStateSamples (samples per StressState) } or null without data. low is the day's lowest balance — not necessarily overnight (after an evening workout it can fall in the evening). activity: { steps, energyKcal } for the local day — energyKcal is the daily-statistics energy converted from joules; real days come out around 700-1,500 kcal, well below a resting rate, so it looks like ACTIVE energy rather than a total (not verified against the watch). A value is null, never 0, when Suunto has no sample for the date. workouts: the day's workouts (by their own local date) with { workoutKey, activityId, startLocal, totalTimeS, kcal, hrAvg, hrMax, tss (HR method), guide, hasLaps } — pass a workoutKey with hasLaps to get_workout_laps. Each section is fetched independently: one that fails is null and explained in errors, the others are still valid. With to, returns { from, to, days: [...], errors } instead (errors is shared by the whole range; a failed section is null in every day). Use this instead of combining get_sleep, get_recovery, get_daily_activity_statistics and list_workouts by hand. Read-only.
Inputs: date (required), to.
get_data_overviewGet an overview of the local files the server keeps (read-only)ARead-only
Every local file the server keeps, in one read-only look, with no Suunto call and no credentials: the journal, the plan, the catch-up marker (seen), the prediction ledger, the experiments and the approval queue (path, exists, status, version, size in bytes, mode, counts of what they hold), and the cache, archive and reports folders (path, size, counts). status: 'ok', 'missing' (nothing there yet), 'unreadable', 'damaged' (not valid JSON), 'foreign' (not a suunto-mcp file of that kind), 'newer-version' (written by a newer server: refused and left untouched) or 'in-memory' (demo mode). modeWarning says when a file is not 0600 (or a folder not 0700), so other users of the machine could read it. Nothing is modified, created or repaired. Output: { inMemory, files: [...], directories: [...], warnings, notes }. The counts come from reading each file's JSON without the strict check. Demo mode: the counts of the in-memory stores, no paths. Read-only.
Inputs: no named parameters.
get_exercise_historyGet exercise history across sessionsARead-only
Progression of strength exercises across guided gym sessions (push_strength_guide / push_workout_guide): load, sets, rest and heart-rate recovery of the same exercise week after week. Each session is read once with the same logic as get_workout_laps, compare_workout_to_plan and get_workout_rest_profile, and the small derived result is cached on disk (~/.suunto-mcp/cache/, SUUNTO_CACHE=off disables it), so repeat calls are cheap. It writes nothing but that cache and never changes anything at Suunto. Looks at the weeks weeks (default 8, max 26) ending at date (default today; a session that started less than 24 h ago is read but not cached). Reads at most 8 sessions not yet cached per call (two requests each, newest first); the result's pending is how many are still unread: CALL AGAIN until pending is 0 before drawing conclusions from the history, unless a note says calling again will not help (cache not writable, sessions failing): then say so instead of looping. A session that fails to load is skipped and listed in errors. IMPORTANT: the watch records only the guide's TEXT, so weights and reps are what was PLANNED, not measured; a log_session entry for the session replaces the label's weight with the logged one (loadSource 'journal') and is attached as journal. Sessions whose mapping or rest profile is unreliable are included with reliable false and never enter restEndHrMedian. Only the sessions whose heart-rate data is unreliable (dropouts, implausible values, flat-lines, frequent jumps; see get_workout_rest_profile's hrQuality) are also named in a note with the reasons (with name: those with a matching exercise; without: all in the range); a session unreliable for another reason (a missing lap, say) is marked but not named, and one whose FIT has no heart rate at all gets its own note. Without name: { from, to, sessions (guided sessions read), exercises: [{ name, sessions, lastDate, lastDetail }] (most sessions first; a name the guide cut to 40 characters is grouped with its longer form only when that is certain: exactly one longer name and at least 12 characters, otherwise they stay separate and a note lists them), pending, errors, notes }. With name: { name, from, to, sessions: { cols, rows } (oldest first; cols = date, workoutKey, detail, kg (the first 'NNkg' in the label text, or the top journal set's weight; null when there is none, never guessed), loadSource ('label' | 'journal'), setsDone, plannedSets, restS (the guide's rest), restEndHr / restDropTotal / restT20S / restCoverage (heart-rate recovery of the rest after set 1 from the FIT's record-level HR, null when missing: end-of-rest HR, peak minus end, seconds after the peak to fall 20 bpm, share of the rest's seconds with an HR sample), deviations (compare_workout_to_plan codes for that exercise), reliable, journal), summary: { sessions, firstLoadKg, lastLoadKg, restEndHrMedian (median end-of-rest HR after set 1 over reliable sessions: usable as push_strength_guide's restTargetHr) }, suggestion: { last, target, reason } (the newest session as e.g. '3x8@60kg' or, when set weights differed, '8@60/8@60/5@65kg', and a simple next target: when a log_session entry shows every planned set done with every planned rep at ONE weight, the same sets x reps with a step on top (2.5 kg, but at most 5% of the load in 1.25 kg steps and at least 1.25 kg: 5 kg goes to 6.25); a short set, differing weights between sets (repeat at the lowest weight that reached the reps), a missing load or a rep range written in any way ('3x8-12', '3x8 - 12', '3x8–12', '3x8 to 12') never raise the load: repeat; null without a session; usable as push_strength_guide's per-exercise last/target; nothing is pushed), pending, errors, notes }. name is matched ignoring case, accents and punctuation, exactly or, for a name the guide may have cut (12+ characters), as a prefix of the given name. Use the names from the index (or compare_workout_to_plan). Writes only the local cache.
Inputs: date, name, weeks.
get_experimentGet experiments: today's assignment, progress, adherenceARead-only
Reads the experiments from ~/.suunto-mcp/experiments.json: for each one its status ('upcoming', 'running', 'finished' (past its last day) or 'stopped'), the outcome metric, the dates, and TODAY's assignment: { date, arm ('intervention' | 'control' | 'washout' | 'none', or null before the start / after the end), instruction (the text to follow today), followed (what was logged, or null) }, progress (days elapsed, planned intervention and control days) and adherence (trial days so far, how many are logged, followed, not followed, not logged, in total and per arm). With id, selected is the whole experiment: hypothesis, analysis plan, seed, the full schedule and the day log. Local file only: never contacts Suunto, needs no credentials, writes nothing. A damaged or other-version file is an error naming it. Output: { today, experiments: [summary], selected, note }. Read-only.
Inputs: id.
get_import_statusGet the local imported-workouts statusARead-only
What is in the local imports folder made by import_workouts (~/.suunto-mcp/imported/, SUUNTO_IMPORT_DIR moves it), from the folder alone: { dir, imported (workouts whose record and file check out), bySource: { garmin?, strava?, apple?, other? }, bytes, oldest, newest (UTC dates of the imported workouts), problems: [{ id, problem }] (a damaged, foreign or newer record, a missing file, a file whose size differs from its record: never repaired or deleted), incomplete: [{ id, problem }] (a file with no record, left by an interrupted import_workouts: not counted; importing the same file again completes it), otherFiles (files in the folder that are not part of the imports, never touched), notes }. A file is checked by its size against its record, not read again or re-hashed. A folder that does not exist is an empty store and is not created. Local files only: never contacts Suunto, needs no Suunto credentials, writes nothing. In demo mode it describes the in-memory store. Read-only.
Inputs: no named parameters.
get_planGet the training plan (today and the next 7 days)ARead-only
Reads the training plan stored by set_plan (~/.suunto-mcp/plan.json). Local file only: never contacts Suunto, needs no Suunto credentials, writes nothing. Without date: { today, plan: { goal, start, end, updatedAt, phases, sessions: [{ date, title, hasGuide }] }, currentPhase (the phase containing today, or null), todaySession (today's session WITH its guide spec, or null), next7Days: [{ date, session: { date, title, hasGuide } | null }] } for the 7 days AFTER today (a null session is a rest day). With date: { today, goal, start, end, updatedAt, date, phase, session (that day's session with its guide, or null) }. No plan yet: { today, plan: null, note }. A damaged plan file is an error naming the file. To put a planned session on the watch, pass its guide to push_strength_guide (or several to push_week_plan): this tool pushes nothing. Read-only.
Inputs: date.
get_prediction_statsGet prediction statistics: hit rate, Brier score, calibrationARead-only
How good the logged predictions were, from the local ledger only (never contacts Suunto, needs no credentials, writes nothing): overall, per kind and per rule: logged, n (scored: hit or miss), hits, misses, unresolvable, voided (counted apart, never scored), unscored; and, ONLY with at least 20 scored predictions in that group, hitRate, meanProbability, brier (the mean of (probability - outcome)^2; 0 is perfect; lower is better), brierBaseRate (what always saying the overall hit rate would have scored: a brier below it means the probabilities carried information) and a calibration table by stated probability (0-0.2, 0.2-0.4, 0.4-0.6, 0.6-0.8, 0.8-1: n, meanProbability, and hitRate when the bucket has at least 5). Below 20 scored the rates are null, verdict is 'insufficient' and statement says how many are missing: no claim is made. basis reports the predictions scored from a confirmed draft_session_log (a reps_hit whose sets began as the guide's plan) apart from all others: { draftConfirmed: { n, hits, hitRate }, other: { n, hits, hitRate } }, each hitRate shown only from 20; they still count in the overall figures. Unresolvable, voided and unscored predictions are never scored. Also: dueUnscored (call score_predictions), thresholds, recent (the 10 newest predictions with their status: hit, miss, unresolvable, void, due, open), notes. Output: { today, thresholds, dueUnscored, overall, byKind: [{ kind, ... }], byRule: [{ rule (null: none given), ... }], recent, notes }. Read-only.
Inputs: no named parameters.
get_recoveryGet recoveryARead-only
Returns recovery-balance samples from the /247samples API for one local calendar day (00:00–23:59 in the local time the watch stamped on each sample), as a plain array of { timestamp (ISO 8601 with UTC offset), entryData: { Balance (0.0–1.0 recovery balance), StressState (0=Invalid, 1=Relaxing, 2=Active, 3=Passive, 4=Stressful) } } — 48 half-hourly rows for a full day (46 or 50 on the days the clocks change). A day without recovery data returns []. Use list_recovery for a date range. Requires Recovery API subscription on apizone; returns 404 without it. Read-only.
Inputs: date (required).
get_routeGet routeARead-only
Returns one saved Suunto route by id: { id, description, visibility, activityIds, startPoint, centerPoint, endPoint (latitude, longitude, altitude), totalDistance (m), averageSpeed, created, modified (epoch ms), watchEnabled (true = offered to the watch), turnWaypointsEnabled }. Works for any route, including ones list_routes does not show (it returns at most 5). Whether the route is actually on the watch cannot be seen here — that is decided by the Suunto app's sync. Use export_route for the track. Read-only.
Inputs: routeId (required).
get_sleepGet sleepARead-only
Returns the sleeps of one night from the /247samples API. A date means the NIGHT of that date: every sleep that began between 12:00 (noon) on it and 12:00 the next day, in the local time the watch stamped on the sleep — so 23:00, 00:30 and 03:00 bedtimes all belong to the same date, and an afternoon nap is filed with the night after it. Last night is therefore filed under yesterday's date. Plain array with one row per sleep — Suunto re-sends a sleep every time it revises it, and only the longest revision is kept — of { timestamp (= BedtimeStart, ISO 8601 with UTC offset), entryData: { SleepId, IsNap, BedtimeStart, BedtimeEnd, Duration (s), DeepSleepDuration, LightSleepDuration, REMSleepDuration (s), SleepQualityScore, AvgHRV (ms), HRAvg, HRMin (bpm), … } }. IsNap is true for any sleep shorter than about 3 hours, at any time of day, and can flip while a sleep is still being recorded — so it also marks a short fragment of a split night; do not drop rows by IsNap alone. A night can hold several rows (a split night, or a nap beside it): rows are not merged, so decide from BedtimeStart and Duration which belong together. Returns [] when no sleep began in that window, e.g. today's date before tonight. Use list_sleep for a range. Requires Sleep API subscription on apizone; returns 404 without it. Read-only.
Inputs: date (required).
get_tag_effectsGet tag effects: journal tags against the next nightARead-only
Does the night after a session with a given tag (log_session tags) look different from the night after a session without it? Per tag and per metric (sleepDurationS, sleepScore, hrv, recoveryMorning: the same per-night values as get_baselines) it compares the nights that followed a day with a tagged session with the nights that followed other training days, over the days nights ending the day before date (default 90, 30-180, date default today; the night that led into date itself may still be recording and is left out). A day without a session is a rest day and is in neither group; a session with no journal entry counts as untagged; a day with several sessions is ONE night, tagged when any of its sessions is; tags match ignoring case. Output: { date, from, to, nights, sessionDays, thresholds, journal: { entries, ignored }, tags: [{ tag, taggedSessions, taggedNights, untaggedNights, verdict, metrics: { : { nTagged, nControl (nights with a value), taggedMedian, controlMedian, medianDiff (tagged minus control), meanDiff, controlIqr, noiseThreshold, verdict } }, statement (one sentence with n, the minimum and 'an association, not a cause') }], notes, errors }, tags with most tagged nights first. HONEST VERDICTS: a metric's verdict is 'insufficient' unless there are at least 15 tagged AND 15 untagged nights with a value for it; then 'tagged-higher' / 'tagged-lower' only when |medianDiff| is LARGER than noiseThreshold = 3 * 1.25 * (controlIqr / 1.35) * sqrt(1/nTagged + 1/nControl) (3 standard errors of the difference of two medians, the spread from the untagged nights' own IQR; equal counts as within noise; compared as printed, rounded), else 'within-noise'. 4 metrics are tested per tag, so a tag's verdict is 'differs' when ANY is higher or lower ('within-noise', or 'insufficient' when all are): with no real difference a simulation flags about 9% of tags at 15 nights per group, 5% at 20 and 3% at 30, and 11% to 22% when nights are correlated 0.3, so treat one 'differs' as a lead, not a finding. It reports an ASSOCIATION in the user's own data and NEVER a cause: say so when you present it, and state n and the thresholds (they are in the result). Consecutive days are not independent samples. A session that starts after midnight counts on its own calendar day. Needs no tags to run: without any it says how to add them. Reads Suunto's workout, sleep and recovery lists (one request each) and the local journal; writes nothing. An unreadable journal file is an error. In demo mode the synthetic sessions carry the tags 'strength' and 'long-run'. Read-only.
Inputs: tag, date, days.
get_training_loadGet training load (CTL/ATL/TSB)ARead-only
Fitness (CTL, 42-day), Fatigue (ATL, 7-day) and Form (TSB = CTL - ATL) day by day up to date. Suunto's API has no endpoint for these, so they are computed from each workout's TSS (tss.trainingStressScore, 0 when Suunto has none) with the standard exponential model — the same maths as generate_daily_digest. The result can be about 1 point off the watch for CTL (compared once with the Suunto app: ATL and TSB matched, CTL was about 0.9 lower). Without seeds, workouts from 120 days before the window are read as warm-up and CTL/ATL start from 0 there, so the window is not cold-started; with little workout history CTL still reads low (it takes about 4-6 weeks to converge), which notes then says. Output (compact JSON, numbers to 1 decimal): { from, to, current: { ctl, atl, tsb, rampRate7d (CTL change over the last 7 days, null when not enough days) }, weeks: [{ weekStart (Monday), workouts, durationS, tss }] (only the days from..to count, so the first and last week can be partial), series: [{ date, tss, ctl, atl, tsb }] (values at the end of each day; tss 0 is a rest day, not missing data), notes: [caveats, plus: no workouts at all in the range, workouts without TSS, and when the workout limit was reached so numbers may be too low] }. Workouts are placed on their own local date. Read-only: it only reads workouts and never touches the digest's history or averages files.
Inputs: date (required), days, seedAtl, seedCtl.
get_upload_statusGet workout upload statusARead-only
Polls the processing status of a workout upload initiated by upload_workout. Returns status (e.g. 'Queued', 'Processing', 'Processed', 'Error') and the workoutKey once processing completes. Use the returned workoutKey with get_workout for full detail.
Inputs: uploadId (required).
get_weekly_reportGet the weekly report (optionally save it as a local markdown file)ADestructiveIdempotent
A shareable report for one FINISHED Monday-to-Sunday week, assembled from the same builders as the other tools: the week's workouts (get_daily_snapshot), sleep, HRV, waking recovery and steps as the week's median against the user's own 28 days before the week (get_baselines: below / within / above the middle half), training load at the end of the week (get_training_load: CTL/ATL/TSB, the week's TSS and the week before), the guided strength sessions of the week (get_exercise_history), plan adherence (get_plan's plan: a planned date with any workout is done, else missed; no plan or no session that week says so) and tag effects (get_tag_effects, only a tag whose verdict is not 'insufficient'). week is the Monday of the week (default: the last full week before today); a week that has not ended yet, a date that is not a Monday and an invalid date are refused. Output: { week: { from, to }, workouts: { count, totalTimeS, kcal, tss (the sum of the sessions' tss below, the one figure the markdown's table and total use), noTss (sessions without one, counted as 0), restDays, days: [{ date, sessions: [{ startLocal, totalTimeS, tss, guide }] }] } | null, recovery: { baselineFrom, baselineTo, stepsTotal, stepsDays (days that total covers; the markdown always says 'N steps over D of 7 days'), metrics: { sleepDurationS | sleepScore | hrv | recoveryMorning | steps: { unavailable, n (days with a value), median (null below 4 days), baseline: { n, median, p25, p75 } | null, vsBaseline: 'below' | 'within' | 'above' | null } } } | null, load: { asOf, ctl, atl, tsb, rampRate7d, weekTss and previousWeekTss (the load model's own figures, which read Suunto's tss.trainingStressScore and can differ from workouts.tss; the markdown says so when they do), notes (raw, for you; the markdown gets plain sentences only), flags } | null, strength: { sessions, exercises: [{ name, sessions, lastDetail }], pending } | null, plan: { goal, planned, done, missed, adherencePct, items } | null, tagEffects: { window, tags, insufficientTags, minNightsPerGroup } | null, markdown, saved, errors, notes }. A section that fails is null and explained in errors; a section without enough data says 'insufficient data' instead of a number. markdown is a self-contained text meant to be shared: it holds no account id, token, workout key or file path (only the week's own numbers, the plan goal and session titles, and journal tag names), and every text the user wrote in it (guide, exercise and tag names, plan goal and titles) is escaped so it cannot add markup. Toward Suunto it only reads, about 30 requests (the strength section reads at most 8 uncached guided sessions; its pending says how many are left). With save: true it also writes the markdown to ~/.suunto-mcp/reports/week-.md (SUUNTO_REPORTS_DIR moves it; file 0600, a folder it creates 0700): it never replaces a different existing file unless overwrite: true is also given (a refused save is saved.status 'refused' with the reason and the report is still returned; the same content again is 'unchanged'); overwrite without save is refused. Local files only, nothing is sent anywhere. In demo mode the markdown opens with a synthetic-data notice and a save stays in memory. Annotated not read-only (and destructive only through overwrite: true; idempotent) because save writes a local file, so clients may ask for permission; the call itself changes nothing at Suunto.
Inputs: save, week, overwrite.
get_workoutGet workoutARead-only
Returns the base summary for one workout (about 1.6 KB): the same scalar fields as a list_workouts item (times, distance, energy, hrdata, tss/tssList, recoveryTime) plus extensionTypes, the list of data streams Suunto holds for it. It does NOT include laps, HR zones or other extension data — use get_workout_laps for laps and zone times, get_workout_fit for record-level data. Throws SuuntoNotFoundError if the workoutKey is malformed (not 24 hex characters) or does not exist. Use list_workouts to discover valid workoutKey values. Read-only.
Inputs: workoutKey (required).
get_workout_fitGet workout FIT dataARead-only
Downloads the workout's binary FIT file from Suunto and returns it parsed to JSON. Default (full=false): compact summary { sport, total_distance_km, avg_heart_rate, training_effect, laps (a COUNT only, not the laps), records_sample: { first, middle, last (one record each), count } }. Set full=true to receive every parsed FIT record and lap — pretty-printed, about 550 KB for a 35-lap strength session, so the result usually spills to a file. For per-lap data use get_workout_laps instead (about 2.5 KB); use full=true only when record-level data is required. An unknown workoutKey fails with a 403 Forbidden error here (not-found on the other workout tools). Read-only.
Inputs: workoutKey (required), full.
get_workout_lapsGet workout lapsARead-only
Returns the manual laps of one workout as a compact table, plus its training-load fields — the way to read back a guided gym session set by set (push_strength_guide records one lap per set and per rest; push_workout_guide one lap per exercise and one per rest between exercises). A session from push_interval_guide auto-advances and is expected to record no manual laps (unverified), so it should return an empty table. About 2.5 KB for a 35-lap strength session, versus ~550 KB for get_workout_fit full=true. Output: { workoutKey, activityId, startTime (epoch ms), totalTimeS, guide: { id, name } | null (the guide that ran, as recorded by Suunto — not looked up in list_guides, because guides are often deleted afterwards), tss: [{ method (seen so far: 'HR', 'MET'), value }], pte, peakEpoc, recoveryTime (from the workout's summary extension; units not verified, and it can differ from the recoveryTime that list_workouts and get_workout carry), hrZoneTimeS: [zone1..zone5 seconds], feeling (the answer to the watch's 'How was it?' question, passed through as Suunto sends it; null when skipped), lapCount, checks: [{ code, detail }], laps: { cols, rows } }. checks lists reasons not to trust positional reading of the table (empty when clean): 'duplicate-rest' (the same rest label twice in a row — a set lap is missing or a rest was split), 'no-session-complete' (a guided table without its final lap — session ended early, buttons locked or watch restarted), 'unlabelled-laps' (some laps have no guide label), 'no-heart-rate' (no lap has heart rate, e.g. battery mode Tour). laps.cols = [i (1-based), startOffsetS (from workout start), durationS, hrAvg, hrMax, hrMin (bpm), kcal, kind, label]; each row is an array in that order. label is the text of the guide step that was active during the lap (lines joined with ' | '), or null when no guide ran. kind is 'rest' when the label contains 'Next:' at its start or after a '·' (a per-set rest lap reads 'Next: set k/S', or 's target · Next: set k/S' with restMode 'stopwatch'), 'done' for the final 'Session complete' lap, 'step' for any other labelled lap, null when there is no label. A per-set strength guide yields, per exercise, a prep lap, then set 1, rest, set 2, rest, … — 2 × sets laps — and one trailing 'Session complete' lap for the whole session; a prep lap's label reads ' | ' and a set lap's ' | ' (the halves are swapped, but the text is not always decisive, e.g. a name equal to the detail or a label cut at 40 characters), so tell them apart by position. Real sessions can deviate (skipped or repeated rest laps), so check the labels rather than only counting. A workout without manual laps (unguided gym, cycling) returns lapCount 0 and laps.rows [] — not an error. Call list_workouts first for the workoutKey.
Inputs: workoutKey (required).
get_workout_rest_profileGet workout rest recovery profileARead-only
Per-rest heart-rate recovery of one guided gym session, from the FIT file's record-level heart rate joined to the guide's lap labels (the same exercise/set mapping as compare_workout_to_plan). compare_workout_to_plan reports only a rest lap's max and min HR, and with restMode countdown the lap lasts exactly its target, so how far and how fast the heart rate fell is invisible there; this tool reads it from the individual HR samples. Output: { workoutKey, status ('ok' | 'no-laps' | 'no-guide-labels' | 'unknown-label-format', passed through from compare_workout_to_plan; any other status returns empty rests), restMode, reliable, note, hrQuality: { reliable (true | false | null when the FIT has no heart rate at all), reasons, coverage }, rests: [{ exercise, exerciseN, set (the set after which the rest happened), plannedRestS, actualDurationS, peakHr, peakAtS, endHr, dropTotal, t10S, t20S, t30S, recoveryBpmPerMin, sampleCount, coverage, note }], perExercise: [{ name, n, medianT20S, medianEndHr, medianRecoveryBpmPerMin }], developer: { apps, fields: [{ name, units, devIdx, fieldNo, baseType }], devChannels } | null, alignment: { workoutStartSource ('session.start_time' | 'laps.startTime' | 'first-record'), lapStartTimeMs, fitStartMs, startSkewS } }. Units: heart rate in bpm; peakAtS in seconds from the start of the rest (negative when the peak came before it); t10S, t20S and t30S in seconds after the peak until the 3-sample-smoothed HR first reached peakHr minus 10, 20 or 30 bpm (null if it never did within the rest); endHr is the mean of the last 5 s of the rest; dropTotal is peakHr minus endHr; recoveryBpmPerMin is the fall (smoothed) over the first 60 s after the peak (or what the rest has left of it); coverage is the fraction of the rest's seconds that have an HR sample (0 to 1). hrQuality rates the whole session's HR: reliable false when under 80% of the session is covered (coverage: the share not lost to gaps of over 10 s between plausible samples, whatever the sampling rate), over 2% of the samples are outside 30-230 bpm, the same value holds for over 180 s, or jumps of over 40 bpm between adjacent samples are frequent; then reliable above is false too and note lists the reasons (the rest numbers are still returned, best effort); null means no heart rate in the FIT at all. peakHr is the highest 3-sample-smoothed value from 15 s before the rest to 30 s after it started (clipped to the rest; the latest of tied values), because optical HR lags the effort by 20-30 s and keeps rising into the rest; a single spike does not set it, and a sharp peak reads a little lower than its raw sample. Samples outside 30-230 bpm are ignored. A rest with fewer than 5 HR samples returns nulls with a note instead of failing. In a workout guide (push_workout_guide) the rest lap before an exercise counts as the rest after the previous exercise; a strength guide with lapGranularity perExercise has no between-set rests, so rests is empty. Caveats: the rest windows come from the lap table's startOffsetS (seconds from the workout start) and are placed on the FIT's timeline from the lap table's startTime (else the FIT session start_time, else its first record); that this lines up exactly was not checked against a real workout, and alignment.startSkewS (FIT session start minus the lap table's startTime) plus the note flag a disagreement of more than 2 s, and reliable is false beyond 10 s. A rest with a lap pressed during it (rest-split) carries a note. After an exercise's last set the transition into the next exercise's prep lap is not profiled. developer lists the SuuntoPlus app's developer fields in the FIT and which of them carry values; it is null or devChannels is empty when the app writes none (whether Suunto's FIT files carry them is unverified). Downloads the FIT file (about 550 KB for a 35-lap session) but returns only a few KB. Optional plan is the same as for compare_workout_to_plan. Read-only.
Inputs: workoutKey (required), plan.
import_workoutsImport workouts from other systems (Garmin, Strava, GPX/TCX/FIT files) to local filesA
Imports workouts exported from OTHER systems (a Garmin Connect export, a Strava bulk export, GPX files from an Apple Watch app or any other tracker) into a local store of their own, /.suunto-mcp/imported/ (SUUNTO_IMPORT_DIR moves it), apart from the Suunto archive (which stays exactly what Suunto sent). path is an ABSOLUTE path to one .fit, .gpx or .tcx file or to a folder: only the files directly in that folder are read (no subfolders, no links, no hidden files, no .gz or .zip: unpack those first; other file types are ignored and counted). This server cannot read macOS's protected folders (/Downloads, ~/Desktop, ~/Documents): ask the user to copy the files to e.g. /tmp/workouts first. Per workout it stores the file byte for byte as .<fit|gpx|tcx> and .json (version, source, format, SHA-256, size, importedAt and a summary { startTime (UTC), durationS, distanceM, avgHr?, maxHr?, ascentM?, sport?, hasGps }); id is the first 16 hex digits of the SHA-256; the record is written last and is the mark 'imported' (files are 0600, a folder the tool creates 0700, each file written complete under a temporary name and linked into place, which fails if the name exists). source ('garmin', 'strava', 'apple' or 'other', default 'other') is only a label kept in the record. Nothing is ever overwritten or deleted. The same file again is skipped (alreadyImported); a DIFFERENT file whose workout starts within 60 s of a stored one and lasts within 5 % of it (the same activity from two systems) is NOT imported and is listed in possibleDuplicate. A file that is not what its extension says, is truncated, or fails the checks (timestamps valid and not in the future, positions on the globe, GPS jumps faster than 12 m/s dropped (30 for cycling and for files that name no sport; the number dropped is summary.droppedJumps), at least 2 GPS points for a GPX track, files over 50 MB refused without being read) is listed in refused with the reason and nothing is written for it. A record or file already in the folder that is damaged, foreign or of a newer version is never changed: a file that matches it is refused. A call reads at most 200 files (new, already imported and refused all count) and imports at most limit new workouts (1-50, default 50); remaining says how many files were not looked at yet and nextAfter is the name of the last file looked at: CALL AGAIN with after set to it until remaining is 0 (a refused file leaves nothing behind, so without after the same files would be read again). Each of alreadyImported, possibleDuplicate, refused and errors lists its first 50 entries only; alreadyImportedCount, possibleDuplicateCount, refusedCount and errorsCount hold the totals. It reads only the given files and writes only in the imports folder: it never contacts Suunto or any network and needs no Suunto credentials. Output: { dir, source, found, examined, newlyImported, imported: [{ file, id, format, source, summary }], alreadyImported: [{ file, id }], alreadyImportedCount, possibleDuplicate: [{ file, sameAs, startTime }], possibleDuplicateCount, refused: [{ file, reason }], refusedCount, errors: [{ file, error }] (a file that could not be saved), errorsCount, ignored: { otherTypes, subfolders, links, hidden, gzipped }, remaining, nextAfter, notes }. estimate_route_time also uses an imported workout, but ONLY if its sport is walking, hiking or running (and it carries altitude, distance and time): the sport is read from a FIT file's session, a GPX file's first track , or a TCX file's Sport attribute, and TCX knows only Running, Biking and Other, so TCX walks and hikes do not count; a GPX file without a does not count (Apple Watch route GPX files are likely untyped; unverified), and notes says how many imported workouts name no sport. Only the first session of a FIT file is read (multi-sport files are summarised by their first session). Sleep, HRV and recovery data are deliberately NOT imported, and Apple Health's export.xml is not supported (GPX routes from it work). The parsers have been verified on synthetic files only. In demo mode the store is in memory and nothing is written to disk (the files are still read from path).
Inputs: path (required), after, limit, source.
list_approvalsList the approval queue (pending, expired, done)ARead-only
Lists the approval queue (filled by queue_adjustment; propose_next_week and adjust_guide hand back a queuePayload for it) from the local file only: never contacts Suunto, needs no credentials, writes nothing. Each item: { id, kind, status ('pending' | 'expired' | 'approved' | 'rejected'), forDate, source, createdAt, expiresAt, reasons, resolution: { decision, at, note, pushed } | null }. pending: waiting for the user; expired: not decided before expiresAt, can no longer be approved (it can still be rejected); approved / rejected: decided. status filters ('pending', 'expired', 'done' = approved or rejected, 'all' default); with id the one item in full: its payload and call (the DRY-RUN form, push_week_plan with dryRun true: never a ready real push) and howToPush. Output: { now, counts: { pending, expired, approved, rejected }, items, notes }. Read-only.
Inputs: id, status.
list_daily_activityList daily activityARead-only
Returns 24/7 activity samples from the /247samples API for the local calendar days [from, to] inclusive (in the local time the watch stamped on each sample), ordered chronologically, as a plain array of { timestamp (ISO 8601 with UTC offset), entryData: { HR (bpm), StepCount, EnergyConsumption (joules, as in get_daily_activity_statistics) } }. Days without synced data are simply absent. Use get_daily_activity for a single day or get_daily_activity_statistics for aggregated daily step/energy totals. Requires 24/7 Activity API subscription on apizone. Read-only.
Inputs: to (required), from (required).
list_guidesList SuuntoPlus guidesARead-only
Returns all SuuntoPlus Guides (from push_workout_guide/push_interval_guide/push_strength_guide) on the user's account, newest first. Each item includes id, name, description, owner, localDate, and usage. Use the id with delete_guide, or with push_*_guide's guideId param to update an existing guide instead of creating a new one. Read-only.
Inputs: no named parameters.
list_recoveryList recoveryARead-only
Returns recovery-balance samples from the /247samples API for the local calendar days [from, to] inclusive (in the local time the watch stamped on each sample), ordered chronologically, as a plain array of { timestamp (ISO 8601 with UTC offset), entryData: { Balance (0.0–1.0 recovery balance), StressState (0=Invalid, 1=Relaxing, 2=Active, 3=Passive, 4=Stressful) } }. Days without recovery data are simply absent. Use get_recovery for a single day. Requires Recovery API subscription on apizone; returns 404 without it. Read-only.
Inputs: to (required), from (required).
list_routesList routesARead-only
Returns the user's saved Suunto routes — at most 5 of them (Suunto's list endpoint ignores limit/offset and appears to return the newest, unverified), so an account with more routes is NOT fully listed; look a route up by id with get_route (ids come from upload_route results, the Suunto app or the route webhook). Each route: id, description, visibility, activityIds, startPoint/centerPoint/endPoint, totalDistance (m), created/modified (epoch ms), watchEnabled. Use export_route for the GPX track. Read-only.
Inputs: no named parameters.
list_sleepList sleepARead-only
Returns the sleeps of the nights [from, to] inclusive from the /247samples API, ordered chronologically by bedtime. A date means the NIGHT of that date: every sleep that began between 12:00 (noon) on it and 12:00 the next day, in the local time the watch stamped on the sleep — so 23:00, 00:30 and 03:00 bedtimes all belong to the same date, and an afternoon nap is filed with the night after it. Last night is therefore filed under yesterday's date. Same rows as get_sleep, one per sleep (revisions collapsed): { timestamp (= BedtimeStart, ISO 8601 with UTC offset), entryData: { SleepId, IsNap, BedtimeStart, BedtimeEnd, Duration (s), DeepSleepDuration, LightSleepDuration, REMSleepDuration (s), SleepQualityScore, AvgHRV (ms), HRAvg, HRMin (bpm), … } }. Nights without recorded sleep are simply absent. Use get_sleep for a single night. Requires Sleep API subscription on apizone; returns 404 without it. Read-only.
Inputs: to (required), from (required).
list_workoutsList workoutsARead-only
Returns the user's recent Suunto workouts ordered newest-first (Workout API v3). Each item: workoutKey (string id), activityId (numeric activity code — there is no separate plain-language 'sport' field; use get_workout_fit for the parsed FIT file's session.sport if a sport name is needed), startTime (epoch ms), totalTime (s), totalDistance (m), totalAscent (m), totalDescent (m), energyConsumption (kilocalories, not 'totalCalories'), hrdata: { avg, max } (workout heart rate — hrdata.max is the account's overall max HR, use hrdata.workoutMaxHR for this specific workout's peak). Auto-paginates with offset-based pagination until limit is reached or no more workouts exist. Each item also embeds SummaryExtension (including apps[]: the SuuntoPlus guide that ran, if any) and IntensityExtension (HR-zone times). Use get_workout_laps for the lap table of a single workout. Read-only.
Inputs: to, from, limit, since, +1 more.
log_experiment_dayLog what actually happened on an experiment dayAIdempotent
Records what ACTUALLY happened on an experiment day: followed true or false (did the user do what that day's arm said), with an optional note. Only intervention and control days can be logged (not washout or unassigned days), not future days and not after the experiment was stopped. date defaults to today; id defaults to the one experiment running today (needed when none or several run). Logging a day again with a different answer keeps the earlier answer under earlier (nothing is lost); the same answer again changes nothing. analyze_experiment reports intention to treat (every assigned day) and per protocol (only days logged as followed), so honest logging, including false, matters. Local file only (experiments.json): never contacts Suunto, needs no credentials. Output: { id, date, arm, saved: { followed, note, loggedAt, earlier }, changed }. Not read-only, not destructive, idempotent.
Inputs: followed (required), id, date, note.
log_predictionLog a prediction before the fact (local ledger, immutable)A
Writes down a prediction BEFORE the fact, with a probability, in the local ledger ~/.suunto-mcp/predictions.json (SUUNTO_PREDICTIONS_PATH overrides it). Writes only that file, never contacts Suunto, needs no Suunto credentials. A prediction is immutable once logged: it cannot be edited or deleted, only voided (void_prediction, with a reason, on a day before its date). The server scores it itself later (score_predictions) from Suunto's data and the journal, and get_prediction_stats says whether the stated probabilities were any good. date is the local day the prediction is about: strictly AFTER today (the server's local date: a prediction is about the future, so today is refused too) and at most 60 days ahead. kind is one of: 'session_done' (a workout exists on date), 'hrv_in_band' (the night AFTER date, the one leading into the next morning, has an HRV within the user's own p25..p75 band as get_baselines shows it, edges included), 'recovery_morning_at_least' (plus threshold, a Balance from 0 to 1 where x100 is the watch's Resources %: the morning recovery after the night after date is at least that), 'reps_hit' (plus exercise, sets, reps and optionally kg: on date, at least that many sets reached that many reps at that weight or more; the watch records only the guide's text, so this is scored from log_session entries and can be 'unresolvable' until the sets are logged). probability 0 to 1 is how likely the prediction is to come true in the caller's honest judgement; rule optionally names the rule or skill that made it, for the per-rule statistics; note is free text. A prediction identical to one still open (same kind, date and kind-specific fields; probability, note and rule do not count) is refused with the id of the open one, because it would count twice in the statistics. A prediction is due, and scored, from the second day after date (a day's data may sync late). Unknown fields and fields that do not belong to the kind are refused. At most 2000 predictions. Output: { saved: { id, madeAt, date, kind, probability, ..., due }, predictions (the count), note }. Not read-only (writes the ledger), not destructive (adds an entry), not idempotent (the same call again adds another prediction, or is refused as a duplicate). In demo mode the ledger is kept in memory.
Inputs: date (required), kind (required), probability (required), kg, +6 more.
log_sessionLog what actually happened in a sessionADestructiveIdempotent
Records what the user says ACTUALLY happened in a gym session (reps, weights, RPE, notes), because the watch only records the guide's planned text. Writes only the local file ~/.suunto-mcp/journal.json (SUUNTO_JOURNAL_PATH overrides it) and never contacts Suunto. One entry per workoutKey: logging the same workoutKey again REPLACES that entry, and the result returns the previous one as replaced so nothing is lost silently. A call with no note, no feeling, no tags and no exercises is refused ('nothing to log'): it would wipe the stored entry. Unknown fields at any level (e.g. weight) are refused with an error naming the field, never dropped: use kg inside a set. get_exercise_history attaches the entry as journal and uses the top set's kg as the load when sets carry kg. Only record what the user told you; leave out what they did not say. Exercise names should be the ones get_exercise_history or compare_workout_to_plan show. Limits: reps integer 0-200, kg 0-1000, rpe 1-10, texts up to 500 characters, at most 40 exercises and 20 sets each, at most 8 tags of 1-24 characters each (trimmed; no control characters; no duplicates, ignoring case; stored on the entry; get_tag_effects compares the nights after tagged sessions with the others, get_exercise_history does not use them). A call with ONLY tags does not replace the entry: it sets the entry's tags and keeps its note, feeling and exercises (a tags-only entry is created when none exists). Optional source: 'draft' marks an entry made from a confirmed draft_session_log. Output: { saved, replaced, entries }.
Inputs: workoutKey (required), note, tags, source, +2 more.
propose_next_weekPropose next week's strength sessions (read-only: returns a proposal and a queuePayload, writes nothing)ARead-only
Proposes next week's strength sessions from the stored plan (set_plan), what the user's journal says they ACTUALLY lifted (log_session), and how recovered and loaded they are. It writes NOTHING: it returns a proposal that the caller shows to the user and may pass on, there is no auto-write (reading the history fills only the same rebuildable derived-data cache as get_exercise_history; nothing is sent to the watch). To put the proposal in the approval queue, pass its queuePayload (exactly queue_adjustment's arguments) to queue_adjustment: nothing is queued by this tool, and nothing is pushed until the user approves with resolve_approval. With predict: true it also returns, for each proposed INCREASE, a ready log_prediction payload in predictions (kind reps_hit, date = the session's date, rule 'progression'; probability = the user's own hit rate for that rule from get_prediction_stats once 20 are scored, else 0.65, always kept inside 0.5 to 0.9); it never logs them itself. The base week is the latest week of the plan (within 4 weeks before weekStart) with a guided session; its sessions are repeated one week on (weekStart = a Monday after today, default the next Monday) with each exercise's load decided by a small closed set of NAMED rules, reported in rulesUsed with their values (rules overrides some, each inside a stated range; unknown names are refused). PROGRESS: in the lift's latest logged session every planned set reached its planned reps at one weight -> load + one step (get_exercise_history's suggestion: at most incrementKg, default 2.5 kg, at most 5% of the load, at least 1.25 kg). HOLD: anything else with evidence -> the load that was done is repeated. DELOAD (load lowered deloadPct, default 10%, rounded to 1.25 kg): stallSessions (default 2) logged sessions of the lift in a row without hitting the plan; OR today's TSB (get_training_load) below tsbDeloadBelow (default -25); OR HRV and recovery on waking (get_baselines, today) both below the user's band. NEVER raises a load without evidence: a lift with no log_session entry for the plan's own sets x reps is left as it is (and the watch records only the plan, not what was lifted), one of HRV / recovery below the band or an unread part of the history blocks every increase, and a lift whose detail has no kg ('BW 3x15', 'RPE6') or no 'NxM' is never touched. The result is insufficient (status, missing says what; sessions, guides and forecast empty or null: no changes proposed) when there is no plan, no guided session to repeat, fewer than 2 sessions with logged sets in the last 8 weeks, or no lift with usable evidence. Output: { status ('ok' | 'insufficient'), weekStart, weekEnd, asOf (today), planSource ('stored' | 'demo' | 'none'), rulesUsed: [{ name, value, default, overridden, overridable, rule }], missing, basedOn: { from, to }, signals: { ctl, atl, tsb, hrv, recoveryMorning (below | within | above | null) }, sessions: [{ date, title, guide? }] (pass to set_plan; mode 'merge' replaces the plan's sessions on those dates), guides: [strength guide specs] (pass to push_week_plan, dryRun by default; each exercise's last and target are set for the watch), changes: [{ date, session, exercise, action ('progress' | 'hold' | 'deload' | 'unchanged'), changed, from: { detail, kg }, to: { detail, kg }, reasons }] (every exercise, with the reasons for it), reasons (what applies to the whole week), forecast: { asOf, start, series: [{ date, tss, ctl, atl, tsb }], basis } (forecast_training_load's own projection from today's values through the proposed week), risk: { level ('none' | 'caution'), flags: [{ rule, detail }], tsbFloor: { threshold (default -30), minTsb, date }, weeklyLoad: { threshold (default 30 %), proposedTss, previous4wAvgTss, jumpPct, complete } } (flags: the forecast TSB below tsbRiskFloor, or the week's TSS more than weeklyJumpPct over the average week of the 28 days before it, the upper edge of the 0.8-1.3 acute:chronic range: heuristics, not safe/unsafe lines), queuePayload ({ kind: 'week_plan', payload: { guides }, forDate (the earliest guide's date), reasons, source } to pass to queue_adjustment as it is; null when nothing is proposed), predictions: [{ session, payload (log_prediction's arguments), basis: { source ('history' | 'default'), rule, n, hitRate } }] (empty unless predict), estimates: [{ date, title, tss, sessions, scope }] (each session's TSS for the forecast: the median of the user's last 90 days' sessions of the same title, at least 2 needed, else null and counted as 0), history: { from, to, guidedSessions, loggedSessions, pending, errors }, notes, errors }. MODEL-BASED: every number is a projection or a rule's output from the user's own data, not a measurement or a prediction of how they will respond; CTL can be about 1 point off the watch. Read-only.
Inputs: rules, predict, weekStart.
push_interval_guidePush interval guide to watchADestructive
Pushes an interval/cardio guide (warmup, timed or distance-based work intervals, recoveries, optional repeats) to the user's Suunto account via the SuuntoPlus Guide Cloud API. Unlike push_workout_guide (manual lap-per-exercise), interval segments auto-advance by elapsed time or distance — hands-off during a run or ride. Each segment can show a target heart-rate range alongside live HR. Requires SUUNTO_APP_NAME env var to exactly match the app name registered on apizone.suunto.com. Same delivery caveat as push_workout_guide: appears after the phone's next normal Suunto app sync, no live push. Returns Suunto's response (including the guide id) plus nextStep and check: { verified, note? }: after the push the guide is looked up in the guide list (by id), and verified:false with a note means the push went through but the guide was not found there — say so to the user instead of reporting success. Pushes are queued one at a time with a short pause, so several calls at once are safe. Write operation.
Inputs: date (required), title (required), blocks (required), guideId.
push_strength_guidePush strength guide to watchADestructive
The guide's icon in the Suunto app's guide list is a blue-violet gradient with a barbell. Pushes a resistance-training guide to the user's Suunto account via the SuuntoPlus Guide Cloud API — the tool to use for gym sessions. Step titles show where you are: a prep step is '/' (exercise i of N), a set step '/ - /' (exercise i of N, set k of S), and a rest '/ REST'; with lapGranularity 'perExercise' the work step is '/'. Set popups read 'SET k/S' with ' - '; the last set of an exercise pops 'LAST SET' with 'Next: ' (or its own name and detail for the final exercise); perExercise keeps 'GO'. Text lines are cut to the watch's 40 characters by shortening the exercise name; the weight/plates line is capped at 36 characters so the name keeps at least 3. (Titles and popups are not part of the lap labels; a shortened name is, and compare_workout_to_plan matches such a name to the plan by prefix.) The guide's list description names the day's exercises ('Bench · Row · ...', cut at 60 characters). Per exercise: a prep step (self-paced stopwatch showing the plate breakdown if given, otherwise the weight/sets detail, plus the exercise name and live HR; a lap press starts the exercise), then with lapGranularity 'perSet' (default) each set is its own step ended by a lap press, and each rest between sets is its own step showing 'Next: set k/S' (plus, when the exercise sets restTargetHr, a heart-rate gauge up to that bpm). restMode 'countdown' (default) counts down restSec and auto-advances into the next set with a vibration; 'stopwatch' counts up and waits for a lap press. lapGranularity 'perExercise' gives one step per exercise after its prep, with no between-set rests and no per-set laps. Every prep, set and rest is its own lap and the guide ends with one extra 'Session complete' step, so a perSet session records 2 × (total sets) + 1 laps. Read them back after the workout with get_workout_laps — its labels are the step texts. Requires SUUNTO_APP_NAME to exactly match the app name registered on apizone.suunto.com. Without guideId a new guide is created on every call (see list_guides / delete_guide to tidy up); with guideId that guide is overwritten. There is no live push to the watch: it appears after the phone's next normal Suunto app sync. Returns Suunto's response (including the guide id) plus nextStep and check: { verified, note? }: after the push the guide is looked up in the guide list (by id), and verified:false with a note means the push went through but the guide was not found there — say so to the user instead of reporting success. Pushes are queued one at a time with a short pause, so several calls at once are safe. How the step titles and popups look on a real watch is not yet verified on a device. Write operation.
Inputs: date (required), title (required), exercises (required), guideId, +2 more.
push_week_planPush a week of strength guides to the watch (dry run by default)A
Pushes a week of strength guides: one NEW SuuntoPlus guide per date, each built and sent exactly like push_strength_guide (same arguments per guide, without guideId; several dates coexist on the account). dryRun defaults to TRUE: then it only validates every guide (schema, unique dates, building each guide) and returns what it would push as { dryRun: true, ok, wouldPush: [{ date, title, exercises, sets }], notes } without contacting Suunto; show that to the user and call again with dryRun: false only when they agree. With dryRun false: everything is validated and built first, then the guides are pushed one after the other in date order (queued with a short pause, each read back from the guide list); the first failure stops the push, so the result is { dryRun: false, ok, pushed: [{ date, title, id, check: { verified, note? } }], failed?: { date, error }, notPushed?: [dates], notes } (ok false with failed set; say which days are missing). Pushing the same plan twice creates duplicates (list_guides / delete_guide to tidy up); to overwrite one guide use push_strength_guide with guideId. At most 14 guides. Requires SUUNTO_APP_NAME for a real push. Same delivery caveat as push_strength_guide: it appears after the phone's next normal Suunto app sync. Write operation (dryRun false).
Inputs: guides (required), dryRun.
push_workout_guidePush workout guide to watchADestructive
Pushes a text-step workout guide to the user's Suunto account via the SuuntoPlus Guide Cloud API. Each exercise becomes one step, advanced by a lap-button press on the watch. Requires SUUNTO_APP_NAME env var to exactly match the app name registered on apizone.suunto.com. There is no live push to the watch itself — delivery depends on the phone's normal Suunto app sync. In testing it showed up on the watch after the next ordinary sync with no manual pinning needed; if it doesn't appear, check the Suunto app under SuuntoPlus Guides and pin it there. For gym sessions prefer push_strength_guide: it records one lap per set and per rest, which get_workout_laps can read back. Returns Suunto's response (including the guide id) plus nextStep and check: { verified, note? }: after the push the guide is looked up in the guide list (by id), and verified:false with a note means the push went through but the guide was not found there — say so to the user instead of reporting success. Pushes are queued one at a time with a short pause, so several calls at once are safe. Write operation.
Inputs: date (required), title (required), exercises (required), guideId.
queue_adjustmentQueue a prepared change for the user's approval (local file, pushes nothing)A
Stores a prepared change in the local APPROVAL QUEUE (~/.suunto-mcp/approvals.json, SUUNTO_APPROVALS_PATH moves it; version 1, written atomically, 0600) so the user can decide on it later. It writes only that file, never contacts Suunto and NEVER pushes anything to the watch: nothing is pushed unless the user approves with resolve_approval (decision approve AND push: true in the same call). kind 'adjusted_guide': payload is the exact push_strength_guide arguments (an adjust_guide result's guide; a guideId is refused, an approval only creates a new guide); kind 'week_plan': payload is { guides: [...] } as push_week_plan takes them (a propose_next_week result's guides). The payload is checked as the push tool itself checks it (its input schema, then building each guide as a dry run), and a payload that would not pass is refused and nothing is stored. forDate is the day of the guide (the earliest guide's for a week_plan): leave it out, or pass exactly that date. A guide dated before today is refused, in a week_plan too. Optional reasons (up to 20 short strings shown to the user), source (e.g. 'adjust_guide', 'propose_next_week'; default 'manual') and expiresAt (ISO 8601; default the end of forDate in the server's local time; it can be earlier, never later: an approval cannot outlive the day it is for; it cannot be approved after it expires). Pass a queuePayload from propose_next_week or adjust_guide as it is. Output: { queued, approval: { id (a1, a2, ...), kind, status 'pending', forDate, source, createdAt, expiresAt, reasons, resolution: null }, note }. At most 1000 approvals; nothing is deleted automatically. Every writer of the file (this tool and resolve_approval, a push included) runs one at a time in this process, so none can erase another's record; a second server process writing in the same moments could still collide.
Inputs: kind (required), payload (required), source, forDate, +2 more.
resolve_approvalApprove or reject a queued change (push: true with approve is the only way it reaches the watch)ADestructive
The user's decision on one queued approval, and THE ONE PLACE where an explicit yes becomes a push to the watch. decision 'reject': recorded (with an optional note), nothing is pushed. decision 'approve': recorded, and the result carries the payload, a call in the DRY-RUN form (push_week_plan with dryRun true; an adjusted guide is shown as a one-guide week) and howToPush; no ready real-push call is ever handed out; nothing is pushed unless push: true is passed in the SAME call, which then pushes through the existing push path: one new strength guide for adjusted_guide; for week_plan a DRY RUN (validate only, nothing sent) unless dryRun: false is also passed (a real push stops at the first failure, and is never retried automatically: the days already pushed would be duplicated). push: true with decision reject is refused. An EXPIRED item cannot be approved or pushed (it can be rejected). Resolving an item that was resolved before returns the first result (alreadyResolved: true) and never pushes twice; the only thing still open on an item that was approved without push is the push itself, once, with push: true. Because that push can still happen on a later call, it is NOT annotated idempotent. A guide dated before today cannot be approved or pushed (stale); an item cannot be approved after its expiry, which is at most the end of the day it is for. A failed push is an error and records nothing, so it can be tried again. Real pushes need SUUNTO_APP_NAME and credentials (a reject or an approve without push does not); same delivery caveat as push_strength_guide: it appears after the phone's next normal Suunto app sync. In demo mode the queue is in memory and push: true NEVER calls the push path (it returns a demo note). Output: { alreadyResolved, id, kind, decision, resolvedAt, note, pushed (a real push was made), payload, call and howToPush (when approved), pushResult (the push's own result), notes }. Not read-only (it writes the decision to the local file, and may push), not destructive: a push only ever creates new guides.
Inputs: id (required), decision (required), note, push, +1 more.
score_predictionsScore due predictions against Suunto's data (hit / miss / unresolvable)A
Scores every DUE, unscored prediction in the ledger (log_prediction) as 'hit', 'miss' or 'unresolvable', and stores the outcome in ~/.suunto-mcp/predictions.json. Toward Suunto it only reads (workout list, sleep and recovery lists, laps of the guided sessions it needs; the same numbers as get_baselines and compare_workout_to_plan). Rules: session_done = a workout exists on the date; hrv_in_band = HRV of the night after the date against the user's 28-day band (get_baselines), inclusive; recovery_morning_at_least = Balance on waking after that night, at least the threshold (compared as printed, 2 decimals); reps_hit = the journal's logged sets of that exercise decide (a logged set without a weight takes the guide label's), and without logged sets only fewer set laps than predicted in a reliable per-set guide proves a miss. Only workouts that started after the prediction was made count. A reps_hit scored from a journal entry made from a confirmed draft_session_log (source 'draft') carries basis 'draft-confirmed' in its outcome; get_prediction_stats reports those apart. MISSING DATA: when a workout, or the night, is missing, the prediction stays PENDING (unscored, listed in pending with the reason) until the watch has synced data from a LATER day; only then is it a miss (no workout) or unresolvable (no night): a missing sync is never scored. UNRESOLVABLE means the data to decide was truly missing (no HRV that night, fewer than 7 nights for a band, nothing logged): it is never guessed and counts as neither hit nor miss. A failed request is NOT unresolvable: that prediction stays unscored, the error is in errors, and the next call tries again. Scored outcomes are final; an unresolvable one is read again only with rescoreUnresolvable: true (and written only if the answer changed). At most 20 predictions per call, oldest due first, NEVER-scored ones before the re-read unresolvable ones (so a call always advances through what is new): remaining says how many are left, call again. Calling it again with nothing newly due changes nothing and does not call Suunto. Output: { today, scored: [{ id, date, kind, result, detail }], hits, misses, unresolvable, pending: [{ id, date, kind, reason }], notDue, remaining, errors, notes }. Annotated not read-only (it writes outcomes locally), not destructive and not idempotent (each call scores the next batch); it never changes anything at Suunto. In demo mode the demo ledger is scored against the synthetic data and the outcomes stay in memory.
Inputs: rescoreUnresolvable.
set_planSet the training plan (local file, pushes nothing)ADestructiveIdempotent
Stores the training plan as LOCAL state: a goal, optional start/end dates, phases and planned sessions per date, in ~/.suunto-mcp/plan.json (SUUNTO_PLAN_PATH overrides it). Writes only that file, never contacts Suunto, needs no Suunto credentials and NEVER pushes anything to the watch: to put a planned session on the watch, take its guide from get_plan and send it with push_strength_guide / push_week_plan. mode 'replace' (default) is DESTRUCTIVE to the stored plan: the call IS the whole plan (goal required; start, end, phases and sessions left out become empty) and overwrites the stored one, so clients may ask for permission; the result's previous is the complete plan it replaced (null when there was none), so nothing is lost and setting previous again undoes it. mode 'merge': goal, start, end and phases replace the stored ones when given, sessions are merged by date (a given date replaces that day's session, other dates stay; replacedDates lists them); a merge needs at least one field, and a first merge needs a goal. Start and end cannot be cleared in a merge (use replace). A session is { date, title, guide? } where guide is an optional push_strength_guide spec whose date must equal the session's. Strict: unknown fields, bad dates, from after to, sessions or phases outside start..end (when both are given), duplicate dates, and more than 20 phases / 200 sessions / 500 characters of text (100 for names and titles) / 8000 characters of guide JSON are refused with an error and nothing is written. A damaged or other-version plan file is refused, never overwritten. Result: { saved, mode, plan: { goal, start, end, phases, sessions } (counts), replacedDates, previous, note }. In demo mode the plan is kept in memory only.
Inputs: end, goal, mode, start, +2 more.
simulate_planSimulate a candidate plan: CTL/ATL/TSB, ramp, risk days, your own response (read-only, model-based)ARead-only
A WHAT-IF for a candidate week or multi-week plan: what it does to Fitness (CTL), Fatigue (ATL) and Form (TSB), day by day, before the user commits to it. READ-ONLY, writes nothing, keeps no state. Give sessions: [{ date, tss? , title?, guide? }], each after asOf (default today; at most 120 days ahead), several on one date add up. A session's TSS is the given tss, else the median TSS of the user's own sessions with the same title (or guide.title) in the last 90 days, needing at least 2 of them; with no estimate the call is REFUSED and asks for tss (never a guess). propose_next_week's sessions fit as they are. Optional goalDate (a race or test day) and compare ({ sessions, label? }: a second candidate over the same days from the same start). Starts from today's values with forecast_training_load's own math (the 42-day / 7-day model; CTL can be about 1 point off the watch) and runs to the Sunday of the last session's week or goalDate, whichever is later. Output: { modelBased: true, asOf, start: { ctl, atl, tsb }, from, to, totalTss, sessions: [{ date, title, tss, tssSource ('given' | 'history'), historySessions }], series: [{ date, tss, ctl, atl, tsb }] (the values at the end of each day), weeks: [{ weekStart (Monday), days, complete, tss, ctlStart, ctlEnd, rampRate (CTL gained over the week), previous4wAvgTss, jumpPct }], goal: { date, ctl, atl, tsb, band ('below' | 'fresh' | 'above'), freshBand: { min: 5, max: 25 } } | null (TSB on goalDate against the stated fresh band, inclusive), lowestTsb: { date, tsb }, end, risks: [{ rule, scope ('day' | 'week'), date | weekStart, value, threshold, detail }] (the days and full weeks where the stated risk rules trip: a day with TSB below -30; a full Monday-to-Sunday week whose CTL rises by more than 8; a full week whose TSS is more than 30% over the average week of the 28 days before it; compared as printed; a part of a week is no weekly rate and is not checked; heuristics with contested evidence, not safe/unsafe lines), responseToPlan, compare: { label, ...the same fields for the second plan, difference: { totalTss, endCtl, endTsb, lowestTsb, goalTsb, risks } (second minus first) } | null, personalResponse, thresholds, notes, errors }. personalResponse is the user's OWN history, shown only when it can be: for each of the last 90 days, the next night's HRV and recovery on waking after a HIGH-load day (TSS at or above the median of the user's training days) against after the other days (rest days included), by get_tag_effects' own rule (at least 15 nights of each, and a median gap larger than 3 standard errors of the difference of two medians, the spread from the other days' nights); status 'ok' when at least one metric can be judged, else 'insufficient' with missing saying what (nights counted against the 15 needed); each metric's verdict ('insufficient' | 'within-noise' | 'tagged-higher' (higher after high-load days) | 'tagged-lower'). responseToPlan counts the plan's high-load days and gives the expected shift of the next night ONLY for a metric whose history showed a difference beyond the noise (null otherwise: no effect is claimed). An association in the user's own data, not a cause. EVERY number is MODEL-BASED: a projection of a simple model, never a prediction of how the user will feel or respond. Reads workouts, sleep and recovery; a section that cannot be read is named in errors / personalResponse.missing instead of failing the call. Read-only.
Inputs: sessions (required), asOf, compare, goalDate.
start_experimentStart a randomized self-experiment (pre-registered, schedule drawn up front)A
Starts a randomized self-experiment on one nightly outcome, e.g. 'does no caffeine after noon change my sleep score?'. It PRE-REGISTERS the hypothesis and the analysis plan (stored in the result and the file) and draws the whole schedule up front: each day from the start is an intervention day, a control day, a washout day (the washout days after each intervention day, never analysed) or unassigned (a weekday not in eligible). Eligible days are paired in order and each pair holds one intervention and one control day in random order, drawn by a seeded generator (the seed is stored; the schedule is never redrawn), so the two arms are exactly balanced; a last unpaired day is dropped. The experiment starts tomorrow unless startDate (today or later, at most 60 days ahead) says otherwise; it needs at least 6 intervention and 6 control days (the least that can ever give a verdict) or it is refused. Only one active (upcoming or running) experiment per outcome metric at a time. Outcome metric is the night AFTER each assigned day, one of the per-night values get_baselines and get_tag_effects use: sleepDurationS, sleepScore, hrv, recoveryMorning. Follow it with get_experiment (today's assignment) and log_experiment_day (what really happened), then analyze_experiment after the planned end. Local file ~/.suunto-mcp/experiments.json (SUUNTO_EXPERIMENTS_PATH overrides it); never contacts Suunto, needs no credentials. Output: { saved (summary), experiment: { id, name, intervention, control, metric, days, washout, eligible, startDate, endDate, seed, hypothesis, analysisPlan, schedule: [{ date, arm ('intervention' | 'control' | 'washout' | 'none'), block }], log }, note }. Not read-only (writes the file), not destructive, not idempotent (each call starts another experiment). In demo mode it is kept in memory, and a finished demo experiment is already there.
Inputs: days (required), name (required), metric (required), control (required), +4 more.
stop_experimentStop an experiment (nothing is deleted, but it cannot be restarted)ADestructiveIdempotent
Stops an experiment with a reason, e.g. when life got in the way. Nothing is deleted: the schedule, the seed and the log stay in the file, and analyze_experiment still analyzes what was logged up to the stop date, flagged exploratory. A stop cannot be undone (annotated destructive), and a stopped experiment accepts no more day logs; it no longer blocks a new one on the same metric. An experiment past its last day cannot be stopped (analyze it). Stopping twice changes nothing. Local file only (experiments.json): never contacts Suunto, needs no credentials. Output: { id, stopped: { at, date, reason }, alreadyStopped, note }. Not read-only, destructive, idempotent.
Inputs: id (required), reason (required).
upload_routeImport GPX routeA
Imports a GPX file as a route in the user's Suunto account (it appears in the Suunto app's route library as PRIVATE and can then be synced to the watch for navigation). Provide the absolute path to a .gpx file. Every or element in the file becomes its own route; the route name comes from its (or ), and waypoints are created from elements at the same coordinates as route points and from route points that have a name or type. The route's activities come from the activities argument, NOT from the GPX content (default [1] = running). Returns { count, routes: [{ id, name, activities, segments }], check: { verified, watchEnabled, distanceM, pointsInFile, pointsInRoute, note? } }. Imports are queued one at a time with a short pause and each route is read back from Suunto (point count against the file), so many calls at once are safe; expect roughly 3 s per route. verified:false with a note means the import went through but the read-back did not match — say so to the user instead of reporting success. A route cannot be deleted through this server — remove it in the Suunto app. Requires the Route API on the Suunto subscription (list_routes shows existing routes). Write operation.
Inputs: filePath (required), activities.
upload_workoutUpload workout fileA
Uploads a workout file to the user's Suunto account. Provide the absolute path to the file on disk. The file is pushed to Suunto and appears in the app after processing (usually a few seconds). Waits for Suunto to process the file (polling the upload status for up to about 20 s) and returns { uploadId, message, status, check: { verified, note? } }: verified is true when the status reaches 'Processed'; otherwise note says why (another final status such as 'Error', or processing not finished in time — then poll get_upload_status with the uploadId later). Uploads are queued one at a time with a short pause, so several calls at once are safe. Suunto's own upload API docs state only .fit (binary) is currently supported for this endpoint — a .gpx path is still accepted here (sent as application/gpx+xml) in case that changes, but treat it as unverified; use .fit for a workout that must reliably show up. Write operation.
Inputs: filePath (required), comment, privacy, description.
void_predictionVoid a prediction before its date (kept, with the reason; cannot be undone)ADestructiveIdempotent
Voids a prediction with a reason, only on a day strictly BEFORE the prediction's date (once its date has begun it can no longer be voided: it will be scored whatever the caller now thinks). The prediction stays in the ledger with the reason and is never scored; get_prediction_stats counts voided predictions separately, so voiding cannot hide one. A scored prediction cannot be voided. Voiding twice changes nothing and returns the first void (alreadyVoided: true). Local file only (predictions.json): never contacts Suunto, needs no credentials. Output: { id, voided: { at, reason }, alreadyVoided }. Not read-only; annotated destructive because a void cannot be undone (nothing is removed from the file, but the prediction is out of the scoring for good); idempotent.
Inputs: id (required), reason (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 60 tools
The set contains many related surfaces — single-day vs range reads, daily snapshot vs raw sleep/recovery/workout calls, workout summary vs FIT vs laps vs rest profile, and load vs forecast vs simulation vs proposal tools. Descriptions are unusually explicit and often say which sibling to use, but with 60 tools the agent still has to disambiguate several close clusters by parsing long descriptions.
Almost every tool follows a snake_case verb_noun pattern: get_*, list_*, push_*, upload_*, log_*, set_*, start/stop/analyze_*, etc. The singular/plural distinction (get_sleep vs list_sleep, get_route vs list_routes) is applied consistently.
Sixty tools is far beyond the typical 3–15 scoped surface and is heavy for an agent to navigate, even though the server covers many domains: workouts, sleep/recovery, routes, guides, plans, journal, imports/archive, predictions, experiments, approvals, and reports. Many tools are justified individually, but the overall surface is too large for a single coherent MCP server.
Coverage is broad and lifecycle-aware: reads, writes, local state, guides, plans, routes, uploads, imports/archive, reports, predictions, experiments, and approvals are all represented. There are minor API-driven gaps and dead ends (e.g. routes cannot be deleted, list_routes returns at most 5), but agents can work around most of them.
Maintenance
Related MCP Connectors
Connect Claude to your Intervals.icu watch data for fitness, workout review, and plan writing.
Garmin data in Claude & ChatGPT via the Garmin Health API. OAuth sign-in, no password sharing.
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Garmin watch data for AI assistants: activities, sleep, HRV, recovery. Never writes to Garmin.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server for Polar Signals Cloud continuous profiling platform, enabling AI assistants to analyze CPU performance, memory usage, and identify optimization opportunities in production systems.9-
- FlicenseNot gradedqualityDmaintenanceEnables ChatGPT to access and analyze personal Garmin health data including daily steps, heart rate, calories, sleep duration, and body battery levels. Collects data via webhook from Garmin devices and provides health insights through natural language queries.2-
- AlicenseAqualityNot gradedmaintenanceEnables interaction with Siemens Polarion requirements management system through natural language. Supports authentication, project management, work item queries, document access, and requirements analysis.9MIT
- AlicenseBqualityDmaintenanceEnables users to query Apple Health metrics, workouts, and trends from CSV files exported via the Health Auto Export app. It allows MCP clients to analyze health data such as heart rate, sleep stages, and activity levels directly from local iCloud Drive storage.312 npm2MIT