
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 健身记录应用的 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 分