hevy-mcp
hevy-mcp
一个用于 Hevy 健身应用 API 的 Python 模型上下文协议 (MCP) 服务器。让 Claude(或任何兼容 MCP 的 AI)能够完全访问您的 Hevy 锻炼数据——记录锻炼、管理例程、追踪身体测量数据等。
功能
25 个工具,涵盖 Hevy API 的每一个端点
无需构建步骤——纯 Python,安装即可运行
完整的 CRUD——创建、读取、更新锻炼、例程、练习模板、文件夹、测量数据和 Webhook
Related MCP server: hevy-mcp
工具
分类 | 工具 |
用户 |
|
锻炼 |
|
例程 |
|
例程文件夹 |
|
练习模板 |
|
练习历史 |
|
身体测量 |
|
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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).236,107433MIT
- AlicenseAqualityBmaintenanceAn MCP server that interfaces with the Hevy fitness tracking API, enabling AI assistants to manage workouts, routines, exercise templates, and more via natural language.266,107MIT
- 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.17MIT
- AlicenseAqualityCmaintenanceAn MCP server that exposes the Hevy fitness API as 22 tools, enabling AI agents to manage workouts, routines, exercise templates, and body measurements through natural language.2373MIT
Related MCP Connectors
Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SrdjanCodes/hevy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server