hevy-mcp
hevy-mcp
一个用于 Hevy 健身应用 API 的 Python 模型上下文协议 (MCP) 服务器。让 Claude(或任何兼容 MCP 的 AI)能够完全访问您的 Hevy 锻炼数据——记录锻炼、管理例程、追踪身体测量数据等。
功能
25 个工具,涵盖 Hevy API 的每一个端点
无需构建步骤——纯 Python,安装即可运行
完整的 CRUD——创建、读取、更新锻炼、例程、练习模板、文件夹、测量数据和 Webhook
Related MCP server: Hevy MCP Pro
工具
分类 | 工具 |
用户 |
|
锻炼 |
|
例程 |
|
例程文件夹 |
|
练习模板 |
|
练习历史 |
|
身体测量 |
|
Webhooks |
|
要求
Python 3.10+
Hevy Pro 账户(API 访问必需)
来自 hevy.com/settings?developer 的 API 密钥
安装
git clone https://github.com/YOUR_USERNAME/hevy-mcp
cd hevy-mcp
pip install -r requirements.txt配置
Claude Desktop
添加到 claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hevy": {
"command": "python",
"args": ["/absolute/path/to/hevy-mcp/server.py"],
"env": {
"HEVY_API_KEY": "your-api-key-here"
}
}
}
}重启 Claude Desktop。您应该能在聊天界面的工具图标下看到 Hevy 服务器。
环境变量
或者,在您的环境中设置 HEVY_API_KEY 并直接运行:
export HEVY_API_KEY=your-api-key-here
python server.py使用示例
连接后,您可以询问 Claude 诸如:
“显示我最近 5 次的锻炼记录”
“记录我今天做的胸部锻炼——卧推 3 组 8 次,重量 100kg;上斜哑铃推举 3 组 10 次,重量 30kg”
“创建一个推/拉/腿例程”
“我过去一个月的体重趋势如何?”
“查找罗马尼亚硬拉的练习模板 ID”
“显示我过去 3 个月所有的卧推组数”
技术栈
许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.
Talk to your own gym log. Reps is a free workout tracker for iPhone and Android; connect it to Claude, ChatGPT or any MCP client and ask about your workout history, personal records, exercise progression, weekly summaries, routines and training plan. The assistant can also save a new routine, edit one, save a whole plan, add custom exercises and exercise notes, always after you confirm in the chat. It cannot log a workout or delete your history. Requires a free Reps account created in the app; you sign in with a one-time email code.
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Model Context Protocol (MCP) server implementation that interfaces with the Hevy fitness tracking app and its API. This server enables AI assistants to access and manage workout data, routines, exercise templates, and more through the Hevy API (requires PRO subscription).232,128 npm530MIT
- AlicenseBqualityDmaintenanceA production-ready MCP server for the Hevy fitness API that exposes 27 tools for reading, writing, and analyzing workout data, enabling LLM-driven personal trainer workflows.276 npmMIT
- AlicenseAqualityCmaintenanceAn MCP server that interfaces with the Hevy fitness tracking API, enabling AI assistants to manage workouts, routines, exercise templates, and more via natural language.262,128 npmMIT
- AlicenseNot gradedqualityCmaintenanceA Model Context Protocol (MCP) server that provides AI assistants with access to the Hevy fitness tracking API. This allows you to log workouts, manage routines, browse exercises, and track your fitness progress directly through AI chat interfaces.10 npmMIT