Suunto MCP
Suunto MCP
任何关于训练的疑问,都可以直接问 Claude。 Suunto MCP 把你的 Suunto 手表数据连接到 Claude,让你可以直接和你的数据对话,而不必在仪表板里点来点去。
本项目由一位 Suunto 用户构建。他想问“我最近一次长跑表现如何?”并得到一个包含真实数字的回答——同时也希望把实时训练数据,喂给一个专属 AI 教练。
🏃 给普通 Suunto 用户的一句话: Suunto 的 API 文档说该接口仅供商业合作伙伴使用——事实并非完全如此。 个人用户同样可以获得访问权限,只是申请后需要等待 3–4 周 的审批。提交申请、耐心等待,然后尽情使用吧。别被那个限制说明劝退了。✅
你可以用它做什么
设置完成后,你只需要直接问:
“我这个月跑了多少公里?”
“比较我最近三次长跑——我的心率漂移改善了吗?”
“拉取昨天越野跑的 GPX,并写一条简短的日志。”
“过去两周我的平均静息心率趋势是什么?”
“用教练报告的文风总结一下我的训练周。”
“我一直觉得状态欠佳——我的恢复评分和上个月相比怎样?”
“找出所有我平均心率超过 160 bpm 的训练。”
“今年我的哪次跑步爬升最大?”
Claude 会自己判断该拉取哪些数据,你只需要提问。
它也不只是只读——Claude 还可以把内容推送到你的手表:
“计划一下今晚的健身训练,并发送到我的手表。”
“把昨天的 Garmin 导出内容作为一次 Suunto 训练上传。”
“把我最近一条路线导出为 GPX,方便我分享。”
详见下文 你可以向手表推送什么。
Related MCP server: Garmin MCP Server
🤖 不想自己动手?让 Claude Code 来安装
如果你已经安装了 Claude Code,你不需要执行任何终端命令。直接打开它,然后说:
“请从 https://github.com/googlarz/suunto-mcp 安装并设置 suunto-mcp”
Claude Code 会自行克隆仓库、执行所有安装命令,并把所有所需内容添加到你的 Claude Desktop 配置中。这正是本项目作者的安装方式:全程无需手工操作终端。
无论哪种方式,都有三件事始终需要你自己完成,这是设计使然,而不是因为缺少工具:
创建 apizone.suunto.com 账户 —— Claude 无法替你创建账户。
填写 apizone 网页表单(给你的应用命名、显示你的订阅密钥)—— 这是你的账号会话,Claude 会告诉你确切的点击位置,但无法替你点击。
登录过程中点击“Authorize” —— 这正是 OAuth 的预期工作机制。一个应用若能够自行批准自己的访问权限,那这样的应用本身就不安全。
在上面每个环节,Claude 都会准确地告诉你该做什么、什么时候做。
如果你想手动完成,请继续往下读。
你需要什么
开始之前,请确保你已经准备好以下内容:
一块已与 Suunto app 同步的 Suunto 手表(任何现代型号——Race、Vertical、9 Peak、5 Peak、Ocean 等)
Claude Desktop(或其他兼容 MCP 的 AI 应用)
Node.js —— 免费,在此下载,选择 “LTS” 版本
Git —— 免费,在此下载
提交申请约 5 分钟 + Suunto 审批 3–4 周 + 安装约 15 分钟
以上一次性完成之后,就不需要重复操作。
设置
想要先选好节奏、再一步步跟着向导走(快速路径 vs 逐步骤详解),并弄清楚同步是如何运作的吗? 请看 GETTING_STARTED.md。下面则是参考形式的相同步骤。
设置分为三个部分:
在 Suunto 的开发者门户注册 —— 让 Suunto 知道你从应用被允许读取你的数据
安装并配置 —— 让软件在你的电脑上运行起来
连接到 Claude —— 让 AI 找到并使用它
第 1 部分:在 Suunto 的开发者门户注册(提交约 5 分钟,然后等待 3–4 周)
Suunto 有一个免费的开发者门户,叫 apizone,你在上面注册可以访问你数据的应用。你需要创建一个账户、订阅数据计划,然后注册一个小 “应用”——别担心,不需要编写任何代码,你只需要随便起一个名字和一个密码。
步骤 1:创建你的 apizone 账户
打开 apizone.suunto.com,然后注册或登录。
请使用你在 Suunto app 中使用的同一个邮箱。 如果你有 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 周 的时间来批准你的申请。完成时会收到一封邮件。只有等到你的 apizone 个人资料中订阅状态显示为 Active 之后,再回来执行第 3 步和第 4 步。
步骤 3:注册你应用 (等批准之后再做)
你要向 Suunto 说明:“我有个小应用,这是它的名字和一个秘密密码,请允许它读取我的数据。”
打开你的 apizone 个人资料页
向下滚动到 OAuth application settings
填写表单:
字段
填写内容
应用名称
suunto-mcp(或任何你喜欢的名字)客户端密钥
设计一个只有你自己知道的唯一密码,比如用带你自己名字的
alice-suunto-2026。请把它记录好。不要照抄来源里的这个示例。Redirect URI
http://localhost:8421/callback—— 请严格完整照抄点击 保存
保存后,表单会显示一个 Client ID —— 一个由 Suunto 生成长串代码。请把它复制下来。
这三项分别是什么意思? — Client ID:你应用的“用户名”,由 Suunto 生成 — Client Secret:你应用的“密码”,由你自己设定 — Redirect URI:你授权之后 Suunto 会把浏览器跳回此地址——必须与配置完全一致,打错一个字符都会导致失败
Client Secret 保存后不会再显示。如果不小心忘了,在同一表单里重新设置一个新值即可。
第 4 步:获取你的订阅密钥 (审批通过后再做)
订阅密钥是每次数据请求都要带上第二密码。查找方法如下:
滚动到 Subscriptions 部分
列表里会看到你的 Developer API 订阅,旁边有Primary Key的项,点击旁边的按钮显示它,然后复制该密钥。
在继续之前,请先保存全部三个值 —— 第 2 部分需要它们:
Client ID(来自上面的 OAuth 应用表单)
Client Secret(你自己设置的密码)
Subscription Key(来自 Subscriptions 部分)
第 2 部分:安装与配置(约 10 分钟,在 Suunto 批准后执行)
用了前面“Let Claude Code install it”的选项? Claude 已经运行了下面每一条命令,请直接跳到第 3 部分。这些步骤是给手动操作者的。
步骤 5:下载代码
在 Mac(按 ⌘Space 输入 “Terminal”)打开 终端,或 Windows 打开 命令提示符。然一条一条地运行这些命令:
git clone https://github.com/googlarz/suunto-mcp
cd suunto-mcp
npm install
npm run build该步骤会下载代码、安装全部依赖并完成构建。大约需要 1–2 分钟。如果遇到任何错误,请查阅故障排查部分。
第 6 步:添加你的凭据
你需要在 suunto-mcp 文件夹里创建一个名为 .env 的文件,并把三个值填进去。即使其他部分都交给 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—— 并且这一名称必须与你在第 3 步在 apizone.suunto.com 上注册的应用名称完全一致,否则手表会拒绝上传。其它用途下不需要这一行。
第 7 步:关联 Suunto 账户
npm run auth下面是整个过程:
① 终端 —— 屏幕上会输出一条很长的 URL,并显示 “Opening Suunto authorization in your browser…”。
② 浏览器打开 —— 出现的是 Suunto 的登录页面,看起来和 Suunto app 的登录界面完全相同:邮箱和为例密码,下方则是 “Sing in with Apple” 以及 “Sign in with Facebook” 的入口。用你常用的方式登录即可。
③ 权限页面 —— 登录成功后,你会看到一个让 你访问确认允许 “suunto-mcp” 访问的权限页面。页面会列出本应用能读取的数据(你的训练记录)。点击 Authorize。
④ 浏览器确认页 —— 页面显示:"Suunto MCP connected. You can close this tab."
⑤ 终端确认 —— 终端会打印:"Paired successfully. Tokens saved."
到这里就完成了,不需要再做一次。连接会保持活跃并自动续期。
如果浏览器没有自动打开怎么办?** 复制终端中的长 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 步:打开 Claude 配置文件
在文本编辑器中打开文件(如果文件不存在,则新建它):
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.jsonWindows 上的快捷方法 —— 在命令提示符中运行:
notepad "%APPDATA%\Claude\claude_desktop_config.json"(如果有提示 “找不到文件——要创建它吗?”,点击“是”。
第 10 步:添加 Suunto MCP
先找到 suunto-mcp 文件夹的实际路径。在终端中进入该文件夹,然后运行:
pwd比如它会打印类似 /Users/yourname/suunto-mcp 的内容。复制这个路径。
现在,把下面这段配置中的内容粘贴到配置里。把 /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 仅当你想把引导式训练推送到手表时才需要;如果你只想让 Claude 查询你的数据,就省略这一行(或删除该行)。
保存文件。
第 11 步:测试
按顺序做三件事——这是整个设置过程中唯一没有任何东西能代替你完成的部分:
完全退出 Claude Desktop。 不只是关闭窗口——在 Mac 上按 ⌘Q,在 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)、睡眠分。 | apizone 上的 Sleep API 订阅 |
恢复 | HRV、恢复状态、压力平衡。 | apizone 上的 Recovery API 订阅 |
日常活动 | 步数、卡路里、24/7 全天候心率。 | apizone 上的 Daily Activity API 订阅 |
要添加睡眠、恢复或日常活动数据:回到 apizone.suunto.com,找到各个产品并订阅。然后运行 npm run doctor 确认它们已激活。
你可以推送到手表的内容
Suunto MCP 并不是只读的。Claude 也能把内容发回你的账户:
你想做的事情 | 请让 Claude 说 | 需要设置 |
在手表上拿到健身计划 | “计划今天的训练并发送到我的手表” | 已设置 |
从另一台设备上传训练 | “把这个 FIT 文件上传为一次 Suunto 训练” | — |
把已保存的路线导出为 GPX | “把我的周一路线导出为 GPX” | — |
引导式训练会以 SuuntoPlus Guide 的形式呈现:训练名称和重量/次数显示在屏幕上,计圈按钮跳到下一组,组间显示秒表(不是倒计时)并带有下一组预览;新一组开始时振动,最后显示“训练完成”页面。它不会实时推送到手表本身——而是在你手机上正常同步 Suunto 应用之后才会出现,与任何其他手表数据一样。
这与教练工作流能自然结合:把你的目标、器械和当前举重重量告诉 Claude,另一种它会写出真正的渐进式计划,并直接推送每节课——恢复相关的训练,请见下文 与 health-skill 配合良好。
每日健康摘要
让 Claude “生成我昨天的每日摘要”,它会生成一份彩色标记的 Markdown 摘要——步数、睡眠、恢复平衡、HRV,以及运动表现模型(体能/疲劳/状态)——并追加到 SUUNTO_HISTORY.md。
体能(CTL)、疲劳(ATL)和状态(TSB)不是 Suunto API 字段——没有对应端点。它们是根据每次训练的真实 tss.trainingStressScore 值,使用标准的 42 天/7 天指数衰减计算得到的,与 TrainingPeaks 等训练负荷工具所用的数学方式相同。由于没有其他地方可以保存这些滚动值,它们会存放在 ~/.suunto-mcp/averages.json 中(可通过 SUUNTO_DIGEST_AVERAGES_PATH 覆盖)。
在依赖它之前,有几点值得了解:
CTL/ATL 首次使用时会从 0 开始,并需要 4–6 周才能收敛到合理数值——没有 API 能读取手表自身显示的体能/疲劳。要跳过这个过程,可以在第一次生成摘要时把手表显示的数字告诉 Claude(“我手表上显示 Fitness 42、Fatigue 38,请用这些数值初始化摘要”),或者在命令行指定
--seed-ctl 42 --seed-atl 38。这些只会在第一次生成摘要时生效,之后会被忽略。TSB 颜色与手表自带的图例一致(🔵 状态更高于 +10,🟢 平衡 0 到 +10,🟡 受损 −10 到 0,🔴 紧张 <−10),而不是自定义的比例。
Ramp rate 这个文档的数据(本周 CTL 与 7 天前的比较)有自己独立的颜色刻度:🔴 高于 +8/周意味着你增加负荷太快——真正的受伤风险,而不仅是“单纯提升”;🟢 +3 到 +8 表示有上根本没有提升;🟡 −2 到 +2 表示保持稳定;🟠 低于 −2 表示训练负荷在逐渐下降。
恢复平衡 以晨间(夜间最低点)和峰值(当天最高点)分别显示——这两个指标使用不同的颜色刻度,因为峰值正常情况下会比夜间最低点更高。
连续 2 天或以上 HRV 低于你的正常范围,或连续 2 天或以上晨间恢复低于 65% 时,摘要会添加一条提示,提醒你检测血压。持续偏低的 HRV/恢复值是一个确实存在的生理信号,值得参考参考。
滚动基线会分别跟踪每项指标,并为“派对之夜”(超过 20,000 步)单独设置一个桶,这样异常的一天不会拉偏你普通一天的平均值。
按时间顺序运行。 基线记录的“数据生成到某一时刻当前状态”,而不是“当前日期”的状态;如果要补记录某一天的旧数据,最好在之后补。多正常,如果你有一天之后补旧数据,那天的基线对比可能略有偏差。这个每天按通常的时间表运行正常,但如果你在补记录,值得知道。
需要为你提供 apizone 上的 Sleep 和 Recovery API 订阅,那些板块才能显示相应数据;没有订阅时,摘要正常生成,但对应板块会显示“无数据”而不是报错。
CLI: suunto-mcp daily-digest 2026-04-20 [--seed-ctl 42 --seed-atl 38]。MCP 工具:generate_daily_digest。
故障排查
始终先用 npm run doctor 自动检查——它能定位大部分问题。
你看到的内容 | 含义 | 如何修复 |
Claude 返回报错或无内容 | 有些环节尚未接通 | 运行 |
训练列表为空 | 手表最近没有同步训练 | 打开手机上的 Suunto 应用,等待同步 |
提示“未认证” | 配对步骤没有完成 | 再次运行 |
已登录但没有反应 | 浏览器标签页在 Suunto 确认前被关闭或超时 | 关闭所有 Suunto 标签页,重新运行 |
“Token 请求失败”或“400 错误” | Client Secret 或 Redirect URI 与 apizone 不匹配 | 前往 apizone → 个人资料 → OAuth 应用设置,确认两个值完全一致 |
每次请求都返回 “401” 错误 | 订阅密钥(Subscription key)错误或不完整 | 前往 apizone → 个人资料 → Subscriptions,重新显示并复制主密钥 |
请求健身训练返回“403 Forbidden” | Developer API 订阅未激活 | 登录 apizone 并确认其状态为“Active” |
睡眠/恢复/日常活动返回“not found” | 这些需要单独的订阅 | 前往 apizone,订阅 Sleep、Recovery 或 Daily Activity API |
在 Apple 登录后出现 SSL 错误 | Suunto 对 Apple 登录的某种怪异表现 | 关闭错误标签页,回到终端打印的认证 URL,然后继续 |
“状态不匹配”错误 | 第一个认证流程还没有完成,第二个就开始了 | 关闭所有与认证相关的标签页,重新运行 |
| Node.js 版本太旧或未安装 | 运行 |
终端被并发提示“EADDRINUSE”或端口被占用 | 有其他程序正在使用 8421 端口 | 重启电脑,或者运行 |
上传 Guide 时出现“owner”错误 |
| 查看 apizone → 你的应用 → 确认字体名称,修复环境变量,重启 Claude |
已推送 Guide 但手表上没有 | 手表还没有与手机同步 | 打开 Suunto 应用,让它同步,无需额外操作 |
常见问题
这对我的数据安全吗?Suunto 会封禁我的账户吗? Suunto 专门为了人们连接自己的工具而开发了这个 API——它明确允许这样做。你正在完全按照它的预期使用。
我的数据会离开电脑吗? 你的数据只在你的电脑和 Suunto 服务器之间来回传输。Suunto MCP 只是桥梁。当 Claude 询问训练时,流程是:Claude → Suunto MCP(在你的电脑上)→ Suunto 的服务器 → 返回。没有第三方服务能看到你的数据。
哪些 Suunto 手表能用? 任何能同步到 Suunto 应用的手表都能用:Race、Vertical、9 Peak Pro、9 Peak、5 Peak、Wing、Ocean 等。如果它出现在你的 Suunto 应用中,就能在这里使用。
每次新训练后我需要做什么吗? 不需要,只需要询问 Claude——它总是从 Suunto 拉取实时数据。
如果我想断开连接并停止使用呢? 见下文的 断开连接。不需要一分钟就能完全撤消访问权限。
我可以在 Claude 之外的其他 AI 应用中使用它吗? 可以——任何支持 MCP 的都可以:Claude Code、Cursor、Windsurf 等。
我的 Suunto 应用用户名和邮箱不同,该用哪一个? 用你的邮箱登录 apizone。登录后会出现你的用户名。
隐私
所有数据都直接在你的计算机和 Suunto 的服务器之间传输。没有第三方服务器,也没有任何分析。
你的登录凭据保存在本地
~/.suunto-mcp/tokens.json中——不会上传到任何地方。Suunto 会在 apizone → 个人资料 → 已授权的应用中,将已连接的应用显示为 "suunto-mcp"。你可以随时在那里撤销授权。
AI 只能看到它针对你的问题明确请求的数据——绝不会一次性看到你的全部历史。
断连
要完全移除访问权限:
登录 apizone.suunto.com → 个人资料 → 已授权的应用 → 移除 suunto-mcp。Suunto 会立即让该连接失效。
删除本地凭据:
rm -f ~/.suunto-mcp/tokens.json从 Claude 配置中删除
"suunto"配置块,然后重启 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,并添加第 10 步中相同的 "suunto" 配置块。然后运行 claude mcp list 确认已正确加载。
构建完成后,您无需经过 Claude 即可直接获取 Suunto 的运动数据查询结果:
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会在 8422 端口启动一个 HTTP 接收器,用于接收以及 记录训练事件。将其暴露到互联网(例如通过 cloudflared、ngrok 或你自己的服务器),并在 apizone 的 webhooks 页面注册该 URL。
大多数用户可以忽略这项配置——随时让 Claude 查询数据会更简单。
要将 Suunto 登录令牌保存在操作系统钥匙串中,而不是文件中(例如 macOS 钥匙串、Windows 凭据管理器),可以这样做:
SUUNTO_TOKEN_STORAGE=keychain npm install @napi-rs/keyring
SUUNTO_TOKEN_STORAGE=keychain npm run authClaude 会自动选择合适的工具——无需你手动记住这些。以下内容仅供了解:
运动数据
工具 | 作用 |
| 获取最近的餐饮,支持按日期或运动类型筛选 |
| 获取一条物料 |
| 时间序列数据:心率、配速、海拔、功率、GPS…… |
| 将原始 FIT 文件解码为结构化数据 |
| 导出的 GPX 程序,方便用于地图应用、Shared(不知道速度)等其他工具 |
24/7 健康数据(需要 apizon 个人付费订阅)
工具 | 作用 |
| 步数、卡路里、每日心率 |
| 睡眠阶段、睡眠时长、睡眠分数 |
| 恢复分数、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 (push_strength_guide's arguments) to how recovered the user is on date (default today) and RETURNS the adjusted spec with reasons. It pushes nothing: show the user the changes and push the returned guide with push_strength_guide only if they agree. Uses get_baselines (HRV and waking recovery vs the user's 28-day band). Neither below the band, or no reading yet -> unchanged (it never adds load or sets); one below -> one set less on every exercise with 3+ sets (the 'NxM' in detail is rewritten; without one the sets stay and a reason says so); both below -> that plus every load in detail (first 'kg') 10% lower rounded to 2.5 kg, plates dropped when the load changed, target dropped for changed exercises. Result: level (unchanged | lighter | reduced), signals, reasons, changes, guide, queuePayload (for queue_adjustment; null when nothing changed). The band is the user's own middle half, not a medical reference.
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 on the night after intervention days minus after control days, with a two-sided permutation test over the randomized pairs (deterministic; exact WITHOUT a washout, approximate WITH one: pValueBasis) and the effect against get_tag_effects' noiseThreshold. intentionToTreat (every assigned day) is the PRIMARY analysis; perProtocol (followed days only) is not protected by the randomization. verdict: 'insufficient' with under 6 nights with a value in either arm (nothing is claimed); 'intervention-higher' / 'intervention-lower' only when p <= 0.05 AND the median difference exceeds noiseThreshold; else 'no-clear-difference', which does not show there is no effect. statement, randomized and notControlled say it in plain language. Allowed only from the second day after the planned end; earlier needs early: true and is flagged exploratory, as is a stopped experiment. Reads Suunto's sleep list (and recovery for recoveryMorning) and the local file; writes nothing. A failed request is an error, never silently 'missing nights'.
Inputs: id, early.
archive_workoutsArchive workouts to local files (writes nothing at Suunto)A
Copies the user's workouts to local files so history does not depend on how far back Suunto's list reaches: .fit (as Suunto sent it) and .json (summary, FIT size, SHA-256) in ~/.suunto-mcp/archive/ (SUUNTO_ARCHIVE_DIR moves it; files 0600; needs a filesystem with hard links). Incremental: archived workouts are skipped; at most limit FIT files per call (1-20, default 20, newest first); remaining says how many are missing: CALL AGAIN until it is 0, unless a note says it will not help (failures are in errors). Each FIT is checked before its record is written (non-empty, FIT header, not shorter than the header says; CRC not checked). Only NEW files are written: nothing at Suunto changes and nothing is ever deleted or overwritten; a damaged, other-version, misfiled or size-mismatched record goes to refused and is left alone. Reads the newest 1000 workouts per call: older ones are not reachable. estimate_route_time reads the archive; other tools do not. Demo mode keeps the archive in memory. Annotated not read-only (writes local files), not idempotent (each call archives the next batch).
Inputs: limit.
compare_workout_to_planCompare workout to planARead-only
Compares one guided gym session with its plan: maps the manual laps (as in get_workout_laps) to exercises, sets and rests and reports planned vs actual. Works for push_strength_guide and push_workout_guide sessions. The plan is read from the lap labels; pass the pushed exercises as plan to also check against them. baselineHr is the HR of lap 1 (the first prep), not resting HR. Result: status (ok | no-laps | no-guide-labels | unknown-label-format), reliable, note, checks, exercises (prep, sets, rests rows; columns in cols), deviations [{ code, basis, ex, plan, laps, detail }] (e.g. missing-set, extra-set, rest-short, ended-early, order-differs, missing-exercise). A rest row's peak is the rest lap's max HR and end its min HR (optical HR lags 20-30 s). reliable is false when checks has anything but no-heart-rate 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 lasts exactly its target, so extra rest is not measurable.
Inputs: workoutKey (required), plan.
delete_guideDelete SuuntoPlus guideADestructiveIdempotent
Permanently deletes one SuuntoPlus Guide from the user's account by id (from list_guides). A copy already synced to the watch is not un-pinned. 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 confirms it. Give workoutKey, or date for the latest guided session of that day (exactly one). It reads the laps (compare_workout_to_plan's mapping; plan as there) and the FIT's HR quality, and builds per exercise sets x reps @ load from the guide's text. IMPORTANT: the watch records only the guide's PLANNED text, never reps and weights done, so every rep count and weight in the draft is an ASSUMPTION (assumed: true) the user must confirm or correct before anything is logged. Per-set guides: the set count is the number of set laps; per-exercise and workout guides: the plan's. It lists every deviation and what 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: after the user confirms or corrects the draft, call log_session with it and source: 'draft'. Downloads the ~550 KB FIT.
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: reads the route's GPX (one request) and the local archive (archive_workouts; no Suunto request) and fits time = flat pace x distance + time per metre climbed + per metre descended (Naismith's rule, fitted to the newest 25 usable of the 40 newest archived walking/hiking workouts, or running ones with activity 'running'). import_workouts workouts count too (walking, hiking, running): model.workoutsUsed includes them while workoutsConsidered and skipped count the Suunto archive only. Needs 3+ usable workouts of 1 km+ with 15 km of track, 300 m climbing and 300 m descent together; otherwise model.status is 'insufficient' and the estimate is the generic Naismith rule (5 km/h plus 1 h per 600 m climbed), basis 'generic-naismith': tell the user it is NOT their pace (demo mode always falls back). A route without altitude is estimated as flat, with a note. inSampleErrorPct is fit to the past, not a forecast. sunset is an ISO 8601 date-time WITH UTC offset supplied by the USER (nothing is looked up); latestStart = sunset - marginMinutes - the estimate. An ESTIMATE of moving time: no stops, weather, load or fatigue.
Inputs: routeId (required), sunset, activity, marginMinutes.
export_routeExport route as GPXARead-only
Exports a saved Suunto route as a GPX 1.1 XML string (for Komoot, Strava, Garmin Connect, etc.). Get the id from list_routes.
Inputs: routeId (required).
forecast_training_loadForecast training load (CTL/ATL/TSB) for planned daysARead-only
Projects CTL, ATL and TSB for planned days with get_training_load's model from the end of asOf (default today, not in the future; to plan today pass yesterday). Give each planned day's tss (an easy hour is about 40-60, a hard one 80-100+); days left out are rest days; dates must be after asOf and at most 120 days out. Workouts already in the account after asOf are not read: list them in days. A model projection, not a prediction. Writes nothing.
Inputs: days (required), asOf.
generate_daily_digestGenerate daily health digestADestructiveIdempotent
Builds a daily health digest (steps, sleep, recovery, HRV, training-load model) for one date and appends it as markdown to a history file. Keeps running CTL/ATL and per-metric averages in a sidecar file (SUUNTO_DIGEST_AVERAGES_PATH, default ~/.suunto-mcp/averages.json). Sleep and recovery sections need those API subscriptions; without them they say 'no data'. Write operation (updates the sidecar, appends to the history).
Inputs: date (required), seedAtl, seedCtl.
get_archive_statusGet the local workout archive statusARead-only
What is in the local archive made by archive_workouts (~/.suunto-mcp/archive/), from the folder alone: archived count, bytes, oldest/newest, problems (damaged or foreign record, missing FIT, size mismatch: never repaired or deleted), incomplete (a FIT without a record from an interrupted run; the next archive_workouts completes it), otherFiles. Local only: no Suunto call, writes nothing. It cannot say how many workouts are still missing (archive_workouts reports remaining).
Inputs: no named parameters.
get_baselinesGet personal baselines (sleep, HRV, recovery, steps)ARead-only
The user's own recent norms to judge a day against: the band of the last days days (default 28, ending the day BEFORE date) for sleepDurationS, sleepScore, hrv, recoveryMorning, recoveryLow (Balance x100 = the watch's Resources %) and steps. Sleep values come from the main sleep that led INTO each day (under about 3 h is a nap, not counted). A day without data has no value, never 0. Per metric: n, median, p25, p75 (null when n < 7), last7Median, latest (null when missing, and always for steps and recoveryLow), latestVsBand (below | within | above). The band is the user's own middle half, not a medical reference. A failing section leaves its metrics empty and is listed in errors.
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 improving: give guide (a guide's title, e.g. 'PUSH A') or exercise, over weeks (default 8, max 26) ending at date. Uses get_exercise_history's reader (same cache, limit of 8 uncached sessions per call and pending: CALL AGAIN until it is 0 before drawing conclusions) and adds duration and TSS. Result: sessions (oldest first) and series per metric with n, first, last, best, better, trend, change. TREND: with 3+ values the median of the older half is compared with the newer half: 'up' / 'down' beyond 3% of the older median, else 'flat'; under 3 values 'insufficient'. No significance test: it says what moved, not that the move is real, and 'up' is not 'better' for every series (see better). Weights and reps are what the guide PLANNED unless log_session logged weights. Writes only the history cache.
Inputs: date, guide, weeks, exercise.
get_catchupCatch up: what is new since last timeAIdempotent
What is new since the user last caught up: new workouts, finished nights, recovery samples, plan items (from set_plan) in the review window as done / missed / pending by DATE (any workout on a planned date counts as done), daysSinceLastSession. Toward Suunto it only reads. The first call looks back 7 days; later ones start at the review window's first day (at most 14 days back; older goes into notes unread). 'New' means after the marker in ~/.suunto-mcp/seen.json (SUUNTO_SEEN_PATH overrides it). markSeen false (default) is a PURE READ: nothing is written, the same call repeats the same answer. Pass markSeen: true only once the user has actually been told: it moves the markers of the sections read, but the review window moves only when EVERY section was read (no entry in errors); more workouts than one call reads: call again with markSeen: true. An unreadable seen.json is an error, never overwritten. A night still being recorded and naps are not reported. Demo mode keeps the marker in memory. Annotated not read-only only because markSeen: true writes that marker.
Inputs: markSeen.
get_daily_activityGet daily activityARead-only
24/7 activity samples for one local day from /247samples: { timestamp, entryData: { HR (bpm), StepCount, EnergyConsumption (joules) } }, one per 10 minutes (144 rows; 138 or 150 on clock-change days). [] when nothing synced. Needs the 24/7 Activity API subscription.
Inputs: date (required).
get_daily_activity_statisticsGet daily activity statisticsARead-only
Daily step count and energy (joules) from /247 for a datetime range: Name ('stepcount' | 'energyconsumption'), Sources[].Samples[] { TimeISO8601, Value }. The window must be under 28 days (exactly 28 is rejected). Null Value = no data synced. Daily samples are stamped local noon and a one-day window was seen returning that day and the next, so select by the date in TimeISO8601. from/to are the preferred names of startdate/enddate.
Inputs: to, from, enddate, startdate.
get_daily_snapshotGet daily snapshotARead-only
One call for a day and the night before it: sleep, recovery, activity and workouts, each fetched independently (a failed section is null and explained in errors). sleep is the night that led INTO date (main = longest non-nap sleep, durations in seconds; sleeps under about 3 h are naps, so a short night has main null). recovery covers the local day (low is its lowest balance, not necessarily overnight; atBedtime is the sample nearest the main sleep's start, which falls on the previous local day, null without a main sleep or a sample within an hour). energyKcal looks like ACTIVE energy (unverified). A value is null, never 0, when Suunto has no sample. With to: { from, to, days, errors }. Use instead of combining get_sleep, get_recovery, get_daily_activity_statistics and list_workouts.
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 look, with no Suunto call and no credentials: journal, plan, catch-up marker, prediction ledger, experiments, approval queue (path, status, version, size, mode, counts) and the cache, archive and reports folders. status: ok, missing, unreadable, damaged, foreign (not a suunto-mcp file of that kind), newer-version (refused, left untouched) or in-memory (demo). modeWarning flags a file not 0600 (or a folder not 0700). Nothing is modified, created or repaired.
Inputs: no named parameters.
get_exercise_historyGet exercise history across sessionsARead-only
Progression of strength exercises across guided gym sessions: load, sets, rest and HR recovery week after week. Each session is read once and cached in ~/.suunto-mcp/cache/ (SUUNTO_CACHE=off disables it); it writes nothing but that cache and changes nothing at Suunto. Covers weeks (default 8, max 26) ending at date. At most 8 uncached sessions are read per call (newest first): pending is how many remain, so CALL AGAIN until pending is 0 before drawing conclusions, unless a note says it will not help. Failed sessions are skipped and listed in errors. IMPORTANT: the watch records only the guide's TEXT, so weights and reps are what was PLANNED; a log_session entry replaces the label's weight (loadSource 'journal'). Without name: an index. With name (ignoring case, accents, punctuation): a sessions table (kg null when unknown, never guessed; restEndHr, restT20S and the other rest columns cover the rest after set 1 only), summary and suggestion { last, target, reason }: a next target, never pushed; the load rises by a small step only when log_session shows every planned set and rep done at ONE weight, otherwise it repeats.
Inputs: date, name, weeks.
get_experimentGet experiments: today's assignment, progress, adherenceARead-only
Reads the experiments in ~/.suunto-mcp/experiments.json: status (upcoming, running, finished, stopped), metric, dates, TODAY's assignment (arm intervention | control | washout | none, instruction, followed), progress and adherence. With id, selected is the whole experiment (hypothesis, analysis plan, seed, schedule, day log). Local file only: no Suunto call, writes nothing. A damaged or other-version file is an error naming it.
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/), from the folder alone: imported count, bySource, bytes, oldest/newest, problems (damaged, foreign or newer record, missing file, size mismatch: never repaired or deleted), incomplete (a file without a record from an interrupted import; importing it again completes it), otherFiles. Local only: no Suunto call, writes nothing, does not create a missing folder.
Inputs: no named parameters.
get_planGet the training plan (today and the next 7 days)ARead-only
Reads the plan stored by set_plan. Local only: no Suunto call, writes nothing. Without date: the plan, currentPhase, todaySession (with its guide spec) and next7Days (the 7 days AFTER today; null session = rest day). With date: that day's phase and session. No plan: plan null. A damaged plan file is an error naming the file. Pushes nothing: pass a session's guide to push_strength_guide or push_week_plan.
Inputs: date.
get_prediction_statsGet prediction statistics: hit rate, Brier score, calibrationARead-only
How good the logged predictions were, from the local ledger only (no Suunto call, writes nothing): overall, per kind and per rule: counts and, ONLY with 20+ scored in the group, hitRate, meanProbability, brier (lower is better), brierBaseRate (a brier below it means the probabilities carried information) and a calibration table. Below 20 scored the rates are null and verdict is 'insufficient': no claim is made. basis reports predictions scored from a confirmed draft_session_log apart. Also dueUnscored (call score_predictions) and recent.
Inputs: no named parameters.
get_recoveryGet recoveryARead-only
Recovery-balance samples for one local day from /247samples: entryData { Balance (0.0-1.0), StressState (0=Invalid, 1=Relaxing, 2=Active, 3=Passive, 4=Stressful) }, 48 half-hourly rows (46 or 50 on clock-change days). [] without data. Needs the Recovery API subscription (404 without).
Inputs: date (required).
get_routeGet routeARead-only
One saved Suunto route by id (activityIds, start/center/end points, totalDistance m, created/modified epoch ms, watchEnabled, ...). Works for routes list_routes does not show. Whether the route is on the watch cannot be seen here (the Suunto app's sync decides).
Inputs: routeId (required).
get_sleepGet sleepARead-only
The sleeps of one NIGHT from /247samples. A date means the night of that date: sleeps that began between 12:00 on it and 12:00 the next day (the watch's local time), so last night is under yesterday's date and an afternoon nap belongs to the night after it. One row per sleep (longest revision kept): entryData has SleepId, IsNap, BedtimeStart/End, Duration (s), Deep/Light/REMSleepDuration (s), SleepQualityScore, AvgHRV (ms), HRAvg, HRMin (bpm). IsNap is true for sleeps under about 3 hours and can flip while recording, so it also marks a fragment of a split night: do not drop rows by IsNap alone; group rows by BedtimeStart and Duration yourself. [] when no sleep began in the window. Needs the Sleep API subscription (404 without).
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 metric (sleepDurationS, sleepScore, hrv, recoveryMorning) it compares nights after tagged sessions with nights after other training days, over the days nights ending the day before date (default 90, range 30-180). Rest days are in neither group; sessions without a journal entry count as untagged; several sessions in a day are ONE night. A metric is 'insufficient' unless 15+ tagged AND 15+ untagged nights have a value; then 'tagged-higher' / 'tagged-lower' only when |medianDiff| exceeds noiseThreshold (3 standard errors of the difference of medians), else 'within-noise'. A tag is 'differs' when ANY of its 4 metrics is; with no real difference about 9% of tags get flagged at 15 nights per group, 3% at 30 (11-22% with correlated nights): treat one 'differs' as a lead, not a finding. It reports an ASSOCIATION, NEVER a cause: say so, and state n and the thresholds. Reads Suunto's workout, sleep and recovery lists and the local journal; writes nothing.
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, computed from each workout's TSS (0 when Suunto has none) with the standard exponential model, as in generate_daily_digest (Suunto's API has no such endpoint). CTL can be about 1 point off the watch. Without seeds the 120 days before the window warm it up; with little history CTL reads low (4-6 weeks to converge), which notes says. Result: current, weeks, series (end-of-day; tss 0 = rest day), notes. Touches no digest files.
Inputs: date (required), days, seedAtl, seedCtl.
get_upload_statusGet workout upload statusARead-only
Processing status of a workout upload from upload_workout: Queued, Processing, Processed or Error, and once processed the workoutKey.
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, built from the other tools: workouts, sleep/HRV/recovery/steps (week median vs the user's own prior 28 days), training load, guided strength sessions, plan adherence and tag effects. week is the Monday (default: the last full week); an unfinished week, a non-Monday or an invalid date is refused. A failing section is null and explained in errors; one with too little data says 'insufficient data'. markdown is meant to be shared: no account id, token, workout key or file path, user text escaped; it does hold the plan goal, session titles and tag names, so read it before sharing. workouts.tss (sum of the sessions) can differ from load.weekTss (the load model's own figure); the markdown says so. Reads about 30 requests from Suunto. save: true also writes the markdown to ~/.suunto-mcp/reports/week-.md (SUUNTO_REPORTS_DIR moves it; 0600): a different existing file is never replaced unless overwrite: true is also given (a refused save is saved.status 'refused', the report is still returned); overwrite without save is refused. Nothing is sent anywhere (demo mode: save stays in memory). Annotated not read-only (destructive only via overwrite: true) because save writes a local file.
Inputs: save, week, overwrite.
get_workoutGet workoutARead-only
Base summary of one workout (~1.6 KB): list_workouts' scalar fields plus tss, recoveryTime, extensionTypes. No laps (get_workout_laps) or records (get_workout_fit). SuuntoNotFoundError for a malformed (not 24 hex characters) or unknown workoutKey.
Inputs: workoutKey (required).
get_workout_fitGet workout FIT dataARead-only
Downloads the workout's FIT file, parsed. Default: compact summary (sport, distance, avg HR, training effect, laps as a COUNT, records_sample). full=true returns every record and lap (~550 KB for 35 laps, usually spills to a file); for laps use get_workout_laps. An unknown workoutKey fails with 403 here.
Inputs: workoutKey (required), full.
get_workout_lapsGet workout lapsARead-only
Manual laps of one workout as a compact table plus training-load fields: how to read a guided gym session back set by set (push_strength_guide records a lap per set and per rest; push_workout_guide one per exercise and rest; push_interval_guide auto-advances and is expected, unverified, to record none). ~2.5 KB for 35 laps. Result: guide, tss, pte, peakEpoc, recoveryTime (units not verified), hrZoneTimeS, feeling, lapCount, checks, laps {cols, rows}. checks lists reasons not to trust positional reading: duplicate-rest, no-session-complete (ended early or watch restarted), unlabelled-laps, no-heart-rate. kind: rest (label has 'Next:'), done (final 'Session complete'), step or null. A per-set strength guide gives per exercise a prep lap, then set, rest, set, rest, ...; prep and set labels look alike, so use position and check labels, not just counts. No manual laps: lapCount 0, not an error.
Inputs: workoutKey (required).
get_workout_rest_profileGet workout rest recovery profileARead-only
Per-rest heart-rate recovery of one guided gym session: the FIT's record-level HR joined to the guide's lap labels (compare_workout_to_plan's mapping; a status other than 'ok' returns empty rests). Per rest: peakHr, endHr (mean of the last 5 s), dropTotal, t10S/t20S/t30S (seconds after the peak until smoothed HR first fell 10/20/30 bpm; null if never), recoveryBpmPerMin, coverage. peakHr is the highest smoothed value from 15 s before the rest to 30 s after its start (optical HR lags). Samples outside 30-230 bpm are ignored; a rest with under 5 samples returns nulls plus a note. hrQuality.reliable is false for gaps (under 80% covered), out-of-range samples (over 2%), a flat value over 180 s or frequent jumps over 40 bpm; numbers are still returned, best effort. perExercise strength guides have no rests. How the rest windows line up with the FIT timeline was not checked on a real workout (alignment.startSkewS; reliable is false beyond 10 s); whether FIT files carry SuuntoPlus developer fields is unverified. Downloads the ~550 KB FIT. 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 (Garmin or Strava export, GPX from an Apple Watch app or any tracker) into a local store, /.suunto-mcp/imported/ (SUUNTO_IMPORT_DIR moves it), apart from the Suunto archive. path is an ABSOLUTE path to one .fit, .gpx or .tcx file or a folder (only files directly in it; no subfolders, links, hidden files, .gz or .zip: unpack first). macOS-protected folders (/Downloads, ~/Desktop, ~/Documents) cannot be read: have the user copy the files to e.g. /tmp/workouts. Files are stored byte for byte plus a .json record (SHA-256, summary; files 0600); nothing is ever overwritten or deleted. The same file again is skipped; a DIFFERENT file starting within 60 s of a stored one and lasting within 5 % of it is NOT imported but listed in possibleDuplicate. A file that is not what its extension says, is truncated, over 50 MB or fails the checks (valid timestamps not in the future, positions on the globe, GPS jumps over 12 m/s dropped (30 for cycling or unknown sport), 2+ GPS points for GPX) is listed in refused and nothing is written. A call examines at most 200 files and imports at most limit new ones: CALL AGAIN with after = nextAfter until remaining is 0. Lists show their first 50 entries (*Count fields hold totals). No Suunto call, no network. estimate_route_time also uses imported walking, hiking or running workouts (sport from a FIT session, a GPX's first track (untyped files, likely including Apple Watch GPX, do not count; unverified) or a TCX Sport attribute (TCX walks and hikes do not count)). Only a FIT file's first session is read. Sleep, HRV and recovery are NOT imported; Apple Health's export.xml is not supported. Parsers verified on synthetic files only.
Inputs: path (required), after, limit, source.
list_approvalsList the approval queue (pending, expired, done)ARead-only
Lists the approval queue (filled by queue_adjustment) from the local file only: no Suunto call, writes nothing. Status: pending, expired (not decided before expiresAt: can no longer be approved, can still be rejected), approved, rejected. status filters; with id the item in full: payload, call (the DRY-RUN form, push_week_plan with dryRun true: never a ready real push) and howToPush.
Inputs: id, status.
list_daily_activityList daily activityARead-only
24/7 activity samples (rows as in get_daily_activity) for the local days [from, to]; days without data are absent. Daily totals: get_daily_activity_statistics. Needs the 24/7 Activity API subscription.
Inputs: to (required), from (required).
list_guidesList SuuntoPlus guidesARead-only
All SuuntoPlus Guides on the user's account (from the push_*guide tools), newest first: id, name, description, owner, localDate, usage. Use the id with delete_guide or a push*_guide's guideId.
Inputs: no named parameters.
list_recoveryList recoveryARead-only
Recovery-balance samples (rows as in get_recovery) for the local days [from, to]; days without data are absent. Needs the Recovery API subscription (404 without).
Inputs: to (required), from (required).
list_routesList routesARead-only
The user's saved Suunto routes, at most 5: Suunto's list endpoint ignores limit/offset, so an account with more routes is NOT fully listed. Look a route up by id with get_route (ids come from upload_route, the Suunto app or the route webhook). GPX: export_route.
Inputs: no named parameters.
list_sleepList sleepARead-only
The sleeps of the nights [from, to] from /247samples, by bedtime; night-dating rule and rows as in get_sleep (IsNap caveat applies). Nights without sleep are absent. Needs the Sleep API subscription (404 without).
Inputs: to (required), from (required).
list_workoutsList workoutsARead-only
Recent Suunto workouts, newest first (auto-paginated up to limit). Per item: workoutKey, activityId (numeric, no sport name; get_workout_fit has session.sport), startTime (epoch ms), totalTime (s), distance/ascent/descent (m), energyConsumption (kcal), hrdata {avg, max} (max is the account's overall max HR; hrdata.workoutMaxHR is this workout's), summary/intensity extensions. Laps: get_workout_laps.
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), optional note. Only intervention and control days can be logged, not future days, not after a stop. date defaults to today; id defaults to the one experiment running today (required when none or several run). Logging a day again with a different answer keeps the earlier one under earlier. analyze_experiment reports intention to treat and per protocol, so honest logging, including false, matters. Local file only.
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); never contacts Suunto. Immutable: it can only be voided (void_prediction, before its date). score_predictions scores it later; get_prediction_stats says whether the probabilities were any good. date: strictly AFTER today, at most 60 days ahead. kind: session_done (a workout exists on date); hrv_in_band (the night after date has an HRV within the user's p25..p75 band, get_baselines); recovery_morning_at_least (plus threshold: waking recovery after the night after date); reps_hit (plus exercise, sets, reps, optional kg: at least that many sets reached that many reps at that weight or more; scored from log_session entries, so 'unresolvable' until sets are logged). probability is the caller's honest judgement. An identical open prediction is refused with its id. Scored from the second day after date. Unknown or kind-foreign fields are refused. At most 2000. Not idempotent. Demo mode keeps the ledger 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 ~/.suunto-mcp/journal.json (SUUNTO_JOURNAL_PATH overrides it); never contacts Suunto. One entry per workoutKey: logging it again REPLACES the entry (the old one is returned as replaced). A call with no note, feeling, tags or exercises is refused (nothing to log). Unknown fields (e.g. weight) are refused (unknown field error naming it); use kg in a set. A call with ONLY tags keeps the entry's other fields. Only record what the user told you. Limits: reps 0-200, kg 0-1000, rpe 1-10, texts 500 characters, 40 exercises with 20 sets each, 8 tags of 1-24 characters (trimmed, no control characters, no case-insensitive duplicates). source 'draft' marks an entry made from a confirmed draft_session_log.
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 journal says the user ACTUALLY lifted (log_session) and how recovered they are. Writes and pushes NOTHING: show the proposal to the user; to queue it pass queuePayload to queue_adjustment (nothing reaches the watch until resolve_approval). predict: true also returns a log_prediction payload per increase (never logged here). Repeats the latest guided plan week one week on (weekStart: a Monday after today, default next Monday). Loads follow NAMED rules in rulesUsed (rules overrides some within stated ranges; unknown names refused): PROGRESS when the lift's latest logged session hit every planned rep at one weight (+ one step: at most incrementKg 2.5 kg, 5% of the load, at least 1.25 kg); HOLD on other evidence; DELOAD (deloadPct 10%) after stallSessions (2) logged misses in a row, or when today's TSB is below tsbDeloadBelow (-25), or when HRV and waking recovery are both below the user's band. NEVER raises a load without evidence: no log_session entry for the plan's sets x reps, HRV or recovery below the band, or an unread history means no increase; a lift whose detail has no kg or 'NxM' is untouched. status 'insufficient' (missing says why) with no plan, no guided session, under 2 logged sessions in 8 weeks or no usable lift. Result: sessions (for set_plan merge), guides (for push_week_plan), changes with reasons, forecast, risk (heuristic: forecast TSB below -30, or week TSS over 30% above the 4-week average), queuePayload. MODEL-BASED: projections and rule outputs, not predictions of how the user will respond.
Inputs: rules, predict, weekStart.
push_interval_guidePush interval guide to watchADestructive
Pushes an interval/cardio guide (warmup, timed or distance work intervals, recoveries, repeats; segments auto-advance, optional target HR range) to the user's Suunto account via the SuuntoPlus Guide Cloud API. Needs SUUNTO_APP_NAME to exactly match the app name registered on apizone.suunto.com. No live push: it appears after the phone's next Suunto app sync. Returns Suunto's response (guide id) plus check { verified, note? }: verified:false means the guide was not found in the guide list after the push; say so instead of reporting success. Queued one at a time. Write operation.
Inputs: date (required), title (required), blocks (required), guideId.
push_strength_guidePush strength guide to watchADestructive
Pushes a resistance-training guide to the user's Suunto account via the SuuntoPlus Guide Cloud API: the tool for gym sessions. Per exercise a self-paced prep step (a lap press starts it); with lapGranularity 'perSet' (default) each set is a step ended by a lap press, with a rest step between sets (restMode 'countdown' auto-advances after restSec; 'stopwatch' waits for a lap press); 'perExercise' gives one step per exercise, no between-set rests. Text lines are cut to the watch's 40 characters by shortening the exercise name (weight/plates line capped at 36); lap labels carry the shortened name (compare_workout_to_plan matches by prefix). The guide ends with an extra 'Session complete' step, so a perSet session records 2 x (total sets) + 1 laps (get_workout_laps). Needs SUUNTO_APP_NAME to exactly match the app name registered on apizone.suunto.com. Without guideId a NEW guide is created on every call (list_guides / delete_guide tidy up); with guideId that guide is overwritten. No live push: it appears after the phone's next Suunto app sync. Returns Suunto's response (guide id) plus check { verified, note? }: verified:false means the guide was not found in the guide list after the push; say so instead of reporting success. Queued one at a time. Titles and popups on a real watch are not yet verified. 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, built and sent like push_strength_guide (same arguments per guide, without guideId). dryRun defaults to TRUE: it only validates every guide and returns what it would push, without contacting Suunto; show that to the user and call again with dryRun: false only when they agree. With dryRun false everything is validated first, then the guides are pushed in date order (queued, each read back from the guide list); the first failure stops the push and the result lists failed and notPushed (say which days are missing). Pushing the same plan twice creates duplicates (list_guides / delete_guide tidy up; push_strength_guide with guideId overwrites one). At most 14 guides. Needs SUUNTO_APP_NAME for a real push; guides appear after the phone's next Suunto app sync. Write operation (dryRun false).
Inputs: guides (required), dryRun.
push_workout_guidePush workout guide to watchADestructive
Pushes a text-step workout guide (one step per exercise, advanced by a lap press) to the user's Suunto account via the SuuntoPlus Guide Cloud API. Needs SUUNTO_APP_NAME to exactly match the app name registered on apizone.suunto.com. No live push: it appears after the phone's next Suunto app sync. For gym sessions prefer push_strength_guide. Returns Suunto's response (guide id) plus check { verified, note? }: verified:false means the guide was not found in the guide list after the push; say so instead of reporting success. Queued one at a time. 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; 0600) so the user can decide later. Writes only that file, never contacts Suunto and NEVER pushes anything: nothing reaches the watch unless the user approves with resolve_approval (decision approve AND push: true in the same call). kind 'adjusted_guide': payload is push_strength_guide's exact arguments (adjust_guide's guide; a guideId is refused); 'week_plan': payload is { guides } (propose_next_week's guides). The payload is validated as the push tool does (schema, then each guide built as a dry run); one that would not pass is refused and nothing is stored. forDate is the guide's day (the earliest for a week_plan): omit it or pass exactly that date; a guide dated before today is refused. expiresAt (ISO 8601) defaults to the end of forDate in server local time; earlier is allowed, later never. A queuePayload from propose_next_week or adjust_guide goes in as it is. At most 1000 approvals; none is deleted automatically. Demo mode keeps the queue in memory.
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. 'reject': recorded, nothing is pushed. 'approve': recorded; the result carries the payload, a DRY-RUN call and howToPush; nothing is pushed unless push: true is passed in the SAME call, which pushes one new strength guide (adjusted_guide) or, for week_plan, does a DRY RUN unless dryRun: false is also passed (a real week push stops at the first failure and is never retried automatically: days already pushed would be duplicated). push: true with reject is refused. An EXPIRED item cannot be approved or pushed (it can be rejected), nor can a guide dated before today. Resolving a resolved item returns the first result (alreadyResolved) and never pushes twice; an item approved without push can still be pushed once, so this tool is NOT idempotent. A failed push records nothing and can be retried. Real pushes need SUUNTO_APP_NAME and credentials; guides appear after the phone's next Suunto app sync. Demo mode: push: true NEVER calls the push path. Writes the decision locally and may push; a push only 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 (log_prediction) as 'hit', 'miss' or 'unresolvable' and stores the outcome in ~/.suunto-mcp/predictions.json; toward Suunto it only reads. Rules: session_done = a workout exists on the date; hrv_in_band = HRV of the night after the date within the 28-day band, inclusive; recovery_morning_at_least = waking Balance after that night at least the threshold; reps_hit = the journal's logged sets decide (without them only fewer set laps than predicted in a reliable per-set guide proves a miss). Only workouts after the prediction was made count. A missing workout or night leaves the prediction PENDING (with the reason) until the watch has synced a LATER day: a missing sync is never scored. UNRESOLVABLE (no HRV that night, under 7 nights for a band, nothing logged) is never guessed and counts as neither hit nor miss. A failed request leaves it unscored (see errors), retried next call. Scored outcomes are final; unresolvable ones are re-read only with rescoreUnresolvable: true. At most 20 per call, oldest first: remaining says how many are left. Demo mode scores a synthetic ledger in memory. Annotated not read-only (writes outcomes locally), not idempotent; nothing changes at Suunto.
Inputs: rescoreUnresolvable.
set_planSet the training plan (local file, pushes nothing)ADestructiveIdempotent
Stores the training plan as LOCAL state (goal, optional start/end, phases, planned sessions per date) in ~/.suunto-mcp/plan.json (SUUNTO_PLAN_PATH overrides it). Writes only that file, never contacts Suunto and NEVER pushes anything to the watch: take a session's guide from get_plan and send it with push_strength_guide / push_week_plan. mode 'replace' (default) is DESTRUCTIVE: the call IS the whole plan (goal required; anything left out becomes empty); previous in the result holds the replaced plan, so setting it again undoes the call. mode 'merge': given goal/start/end/phases replace the stored ones, sessions merge by date; at least one field is needed, a first merge needs a goal, start and end cannot be cleared. A session is { date, title, guide? } (guide = a push_strength_guide spec dated like the session). Strict: unknown fields, bad dates, items outside start..end, duplicate dates, and over 20 phases / 200 sessions / 500 characters of text (100 for names and titles) / 8000 characters of guide JSON are refused and nothing is written. A damaged or other-version plan file is refused, never overwritten. Demo mode keeps the plan in memory.
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: its effect on Fitness (CTL), Fatigue (ATL) and Form (TSB) day by day before the user commits. READ-ONLY, keeps no state. sessions: [{ date, tss?, title?, guide? }], each after asOf (default today; at most 120 days ahead); several on a date add up. TSS is the given tss, else the median of the user's own sessions with the same title (or guide.title) in the last 90 days (2+ needed); 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 (TSB that day vs the fresh band 5-25) and compare (a second plan over the same days). Same model as forecast_training_load (CTL can be about 1 point off the watch). risks: a day with TSB below -30, or a full week whose CTL rises by over 8 or whose TSS is over 30% above the previous 28-day average (heuristics with contested evidence, not safe/unsafe lines). personalResponse is the user's OWN history (next-night HRV and recovery after high-load days vs others, by get_tag_effects' rule, 15+ nights each; else 'insufficient') and responseToPlan claims a shift ONLY where history differed beyond noise: an association, not a cause. EVERY number is MODEL-BASED, never a prediction of how the user will feel. An unreadable section is named in errors instead of failing the call.
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 analysis plan and draws the whole schedule up front: each day is an intervention day, a control day, a washout day (washout days after each intervention day, never analysed) or unassigned (weekday not in eligible). Eligible days are paired in order, each pair holding one intervention and one control day in random order from a stored seed (never redrawn); a last unpaired day is dropped. Starts tomorrow unless startDate (today or later, at most 60 days ahead) says otherwise; needs 6+ intervention and 6+ control days or it is refused. One active experiment per metric. metric is read for the night AFTER each assigned day. Then get_experiment, log_experiment_day, and analyze_experiment after the planned end. Local file ~/.suunto-mcp/experiments.json (SUUNTO_EXPERIMENTS_PATH overrides it); no Suunto call. Not idempotent (each call starts another experiment). Demo mode keeps it in memory.
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. Nothing is deleted: schedule, seed and log stay, and analyze_experiment still analyzes what was logged up to the stop date, flagged exploratory. A stop cannot be undone (destructive); a stopped experiment accepts no more day logs and 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.
Inputs: id (required), reason (required).
upload_routeImport GPX routeA
Imports a GPX file (absolute path) as a PRIVATE route in the user's Suunto account, which can then sync to the watch. Each or becomes its own route. Activities come from the activities argument, NOT the GPX (default [1] = running). Queued one at a time (about 3 s each) and read back: check.verified false with a note means the import went through but the read-back did not match; say so instead of reporting success. A route cannot be deleted through this server (use the Suunto app). Needs the Route API on the subscription. Write operation.
Inputs: filePath (required), activities.
upload_workoutUpload workout fileA
Uploads a workout file (absolute path) to the user's Suunto account. Waits up to about 20 s and returns { uploadId, status, check: { verified, note? } }: verified is true when status reaches 'Processed'; otherwise note says why (e.g. 'Error', or not finished: poll get_upload_status later). Queued one at a time. Suunto documents only .fit for this endpoint; .gpx is accepted but unverified. 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 its date (afterwards it is scored whatever the caller now thinks). It stays in the ledger with the reason and is never scored; get_prediction_stats counts voided ones apart, so voiding cannot hide one. A scored prediction cannot be voided. Voiding twice returns the first void. Local file only. Destructive: a void cannot be undone.
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
Despite the very large surface, most tools target distinct resource/action pairs: single-day vs range reads, workout summary vs FIT vs laps vs rest profile, three guide-push variants, and separate local plan, approval, prediction, and experiment workflows. A few clusters overlap conceptually (daily snapshot vs individual getters, daily activity totals vs 24/7 samples, training-load forecast vs plan simulation), though the descriptions explicitly guide selection.
All tools use snake_case and a predictable verb-first pattern such as get_*, list_*, upload_*, push_*, log_*, analyze_*, and queue_*. Even less common actions like simulate_plan, archive_workouts, and adjust_guide follow the same verb_noun convention, with no camelCase or arbitrary naming.
Sixty tools is far beyond a scoped MCP surface and exceeds the 50+ threshold for an extreme count mismatch. Even though the domain is broad and many tools are specialized, the sheer number makes discovery, selection, and maintenance costly for an agent.
The surface covers an unusually full lifecycle: Suunto workout, sleep, recovery, activity and route access; guide creation/push/deletion; uploads; local plans and approvals; experiments; predictions; archives; imports; reports; and local data inspection. The few unsupported actions, such as route deletion or direct watch push, are explicitly redirected to the Suunto app and are not realistic gaps.
Maintenance
Related MCP Connectors
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Garmin data in ChatGPT, Claude & other AI apps via the Garmin Health API. No password sharing.
Garmin watch data for AI assistants: activities, sleep, HRV, recovery. Never writes to Garmin.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
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.36 npm2MIT