hevy-mcp
by chrisdoc·★ 230·综合分 51
健身应用 Hevy 的 MCP 服务器,允许 AI 管理训练、计划和锻炼模板。
概述
hevy-mcp 是一个基于 TypeScript 的 MCP 服务器,为 AI 助手提供 Hevy 健身跟踪平台的程序化访问权限。它允许 Claude Desktop 和 Cursor 用户通过一系列完善的 MCP 工具与其健身数据进行交互。该服务器支持训练管理、计划组织、锻炼模板浏览和 webhook 订阅,并包含适当的错误处理和内存缓存功能,以优化性能。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果您是 Hevy PRO 用户,希望通过 Claude Desktop 或 Cursor 等 AI 助手管理锻炼和训练计划,请选择 hevy-mcp。
什么时候不要选它
如果您没有 Hevy PRO 订阅,请避免使用,因为 API 需要此级别的权限才能访问。
此 server 暴露的工具
从 README 抽取出 12 个工具get-workoutsFetch all workouts from your Hevy account
get-workoutRetrieve a specific workout by its ID
create-workoutCreate a new workout session
update-workoutUpdate an existing workout with new data
get-workout-countGet the total count of workouts in your account
get-workout-eventsFetch workout events from your account
get-routinesRetrieve all workout routines from your account
get-routine-by-idGet a specific routine by its ID
create-routineCreate a new workout routine
update-routineUpdate an existing workout routine
get-exercise-templatesFetch available exercise templates
search-exercise-templatesSearch for exercise templates with specific criteria
可对比工具
安装
安装
通过 npx 安装(推荐)
HEVY_API_KEY=sk_live... npx -y hevy-mcp手动安装
git clone https://github.com/chrisdoc/hevy-mcp.git
cd hevy-mcp
npm install
cp .env.sample .env
# 编辑 .env 文件并添加你的 HEVY_API_KEYClaude Desktop 配置
在 claude_desktop_config.json 中添加:
{
"mcpServers": {
"hevy-mcp": {
"command": "npx",
"args": ["-y", "hevy-mcp"],
"env": {
"HEVY_API_KEY": "sk_live_your_key_here"
}
}
}
}FAQ
- 这个项目是否适用于 Hevy 的免费版?
- 不适用,需要 Hevy PRO 订阅才能访问 API。
- 哪些 AI 助手与 hevy-mcp 兼容?
- 设计用于 Claude Desktop 和 Cursor,但应该支持 stdio 传输的任何 MCP 客户端都能使用。
hevy-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。