Minimal Hevy MCP
Minimal Hevy MCP
一个本地的小型 Model Context Protocol 服务器,能让智能体读取 Hevy 的锻炼数据,并通过 Hevy 的公开 API 创建训练计划。
包含的工具
hevy_list_workoutshevy_get_workouthevy_list_routineshevy_get_routinehevy_search_exerciseshevy_get_exercise_historyhevy_create_workouthevy_create_routine
前六个工具是只读的。hevy_create_workout 和 hevy_create_routine 会写入所连接的 Hevy 账户,并被标记为非幂等变更操作。
hevy_create_routine 为未来的训练会话创建可复用的计划。hevy_create_workout 使用实际的开始/结束时间和每组的结果记录一次已完成的训练会话。它会把已完成的训练默认设为私密,并拒绝没有记录训练表现指标的组。
Related MCP server: hevy-mcp-server
要求
Node.js 20 或更高版本
一个 Hevy Pro 账户,以及从 https://hevy.com/settings?developer 获取的 API 密钥
安装与验证
npm install
npm run check
npm run build
npm run smoke本地运行
export HEVY_API_KEY="your-key"
npm start该服务器通过 stdin/stdout 进行通信,所以直接运行时会显示为静默等待。它需要由一个 MCP 宿主机启动并与之通信。
添加到 Codex
先构建服务器,让 HEVY_API_KEY 对启动 Codex 的环境可用,然后运行:
codex mcp add hevy -- node /absolute/path/to/hevy-mcp/dist/index.js添加服务器后重启 Codex。使用以下命令验证配置:
codex mcp list不要提交 API 密钥,也不要将其作为工具参数传递。MCP 仅从 HEVY_API_KEY 中读取该密钥,并通过必需的 api-key 请求头将其发送给 Hevy。
建议的第一个请求
读取我最近的五次锻炼,总结锻炼频率、动作选择以及明显的进步规律。不要创建或更新任何内容。
当要求智能体创建训练计划时,应要求它先展示完整的训练计划,并在调用 hevy_create_routine 之前征得你的批准。
在记录一次已完成的锻炼时,应向智能体提供真实的训练动作、每组结果和训练时间。应要求它先展示完整的锻炼记录,并在调用 hevy_create_workout 之前征得你的批准。智能体绝不能编造已完成的结果。
This server cannot be installed
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
- AlicenseNot gradedqualityCmaintenanceEnables interaction with the Hevy fitness tracking platform through their API. Supports managing workouts, routines, exercise templates, and webhook subscriptions for comprehensive fitness data management.9ISC
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to interact with the Hevy fitness tracking API for logging workouts, managing routines, and tracking fitness progress.1328MIT
- AlicenseBqualityDmaintenanceEnables AI agents to interact with the Hevy Workout Tracker API to manage workouts, routines, exercises, and user data.2313MIT
Related MCP Connectors
Create Hevy routines and analyze your training from chat. Unofficial; BYO Hevy PRO API key.
Training analytics over your Hevy log: e1RM, PRs, volume, consistency, bodyweight.
Wger MCP — wraps wger Workout Manager REST API (free, no auth for read)
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/nihal2001/HevyMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server