
Hevy Coach
io.github.gCuadros由 GitHub 帳號 gCuadros 發布v0.4.2更新於 Oct 25, 2026
Training analytics over your Hevy log: e1RM, PRs, volume, consistency, bodyweight.
概覽
針對 Hevy 健身記錄 App 的 MCP 伺服器,即時取得訓練資料並計算 e1RM、個人紀錄、訓練量與持續度等分析指標。
- 可以做什麼
- 檢查連線狀態,並即時讀取 Hevy 中的訓練、訓練計畫與計畫資料夾,不需本機快取或同步。依名稱查找動作並檢視其歷史紀錄。計算進度分析:估算 1RM 趨勢、1/3/5/8RM 個人紀錄、依肌群統計的每週訓練量、訓練持續度,以及兩個期間之間的比較。讀取體重與身體測量紀錄,以及某段期間的體重變化趨勢。建立訓練計畫與計畫資料夾、編輯既有計畫、記錄體重或測量資料。以資源形式提供即時快照,並提供每週回顧、計畫審查、減量檢查與訓練準備等引導提示。
- 適用情境
- 適合在 Hevy 記錄訓練、希望助理依據真實數據進行進度回顧、計畫審查、減量決策或安排訓練,而非憑記憶估算的使用者。
- 執行需求
- 需要 Hevy 帳號(PRO 訂閱)與 Hevy API 金鑰,本機 npm 套件(透過 npx 執行,需 Node.js)以環境變數 HEVY_API_KEY 提供。也可連線至託管的 Streamable HTTP 端點,採用 OAuth 驗證。需要能存取 Hevy API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hevy Coach,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.gCuadros%2Fhevy-coach-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"hevy-coach": {
"type": "http",
"url": "https://hevy-mcp-alpha.vercel.app/mcp"
}
}
}README
hevy-coach-mcp
An MCP server for Hevy (the workout tracking app). It fetches your workouts, routines and exercise templates live from Hevy — no local cache or database — then does the analytics math (e1RM, PRs, volume, consistency, period comparisons) so your MCP client can reason over real numbers instead of guessing. It writes back what you ask it to — routines, folders, a bodyweight — and never touches your workout history.
Requires Hevy PRO and a Hevy API key (Hevy app → Settings → API).
Install
Or add it manually to your client's MCP config:
This works in Claude Desktop (claude_desktop_config.json), Claude Code (.mcp.json or the command above), Cursor (.cursor/mcp.json), and Windsurf (~/.codeium/windsurf/mcp_config.json) — same shape everywhere.
Your API key stays local: it's read from the HEVY_API_KEY environment variable and never leaves your machine except in calls to Hevy's own API.
There's also a hosted mode over Streamable HTTP with OAuth, for clients that can't spawn a
local process (Claude.ai, ChatGPT). Point them at https://hevy-mcp-alpha.vercel.app/mcp
and they'll run the OAuth flow themselves. docs/CONNECTOR.md covers
both setups client by client, plus self-hosting, example questions and privacy details.
First use
Run health-check any time to confirm the connection. Every other tool fetches live from Hevy — there's nothing to sync or warm up first.
Tools
Fifteen read tools, all marked readOnlyHint:
health-check— connection statusget-workouts,get-workout— list/inspect workoutslist-routines,get-routine— list/inspect routineslist-routine-folders— the folders routines are organised into, with their IDssearch-exercises,get-exercise-history— resolve an exercise by name and see its logged historyget-progress,get-records— estimated-1RM trend and PRs (1/3/5/8RM) per exercise;get-progresscan also report each session against the bodyweight you were carryingget-volume-report— effective sets and tonnage per muscle group per weekget-consistency— training frequency, streak, longest gapcompare-periods— volume/workout-count diff between two date rangesget-body-measurements— logged bodyweight and measurements, newest firstget-bodyweight-trend— weight change over a range: total, percentage and rate per week
Four write tools, declared as writes so your client asks first:
create-routine— build a new routine from exercise names, optionally into a folder named rather than numberedupdate-routine— edit an existing routine; passing an exercise list replaces the old one outright (destructiveHint)create-routine-folder— add a folder; a title that already exists is never created twicelog-body-measurement— record a bodyweight or measurement for a date you give it; re-logging a date keeps whatever else was stored that day
Resources
hevy://profile, hevy://routines, hevy://exercises, hevy://stats/summary, hevy://workouts/recent — cheap live snapshots for a client to read without a tool call.
Prompts
weekly-review, program-audit, deload-check, prepare-session — guide the client through calling the right tools for common training questions.
For the layer above those — a standing system prompt that turns the numbers into decisions — see docs/COACH-PROMPT.md.
Privacy
Nothing about your account is stored — every tool call fetches fresh from Hevy's API using your own key, and nothing about your account is sent anywhere else.
Four tools write to Hevy: create-routine, update-routine, create-routine-folder and log-body-measurement, all declared as writes so your client asks before running them. Nothing writes to your workout history — that is the line, and it does not move: a logged workout is what every number here is computed from, so it can only be changed by you, in the app. Hevy's API has no delete endpoint, so nothing this server creates can be removed from here either. Note that a Hevy API key has no scopes — it grants full account access no matter what this server chooses to do with it.
Contributing
Clone, yarn install, and copy .env.example to .env.local. Validate any change with
yarn typecheck && yarn test && yarn build — the same three commands CI runs.
AGENTS.md is the full guide to the architecture, conventions and the
decisions worth knowing before changing anything. It is written for AI coding agents, but
it is the fastest way for a human to get oriented too.
License
MIT
來源:README.md,提交 c3a2326
工具
0版本歷史
1- v0.4.2最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分