Hevy MCP Server
Lets your AI agent read and update your Hevy workouts, routines, exercises and body measurements.
532 stars on GitHubby chrisdocLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add hevy -e HEVY_API_KEY="<your value>" -- npx -y hevy-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
HEVY_API_KEY | API key for authenticating with the Hevy API | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Analyze my training over the last six weeks and show workouts per week
Find my push-day routine and show its exercises and sets
What it is
This server connects your AI agent to Hevy, a workout tracking app, through the Hevy API. You can ask about your training history, find routines, and get progress summaries. It can also create or update workouts, routines, folders, custom exercises and body measurements.
What it can do
- Training summary for 1 to 12 weeks of workouts and measurements
- Search and read workouts, routines and routine folders
- Search exercise templates with short results
- Create and update workouts and routines
- Create custom exercises
- Log and read body measurements
- 23 tools in total
When to use
- βΊWhen you want a plain-language review of your last few weeks of training
- βΊWhen you want to build a workout from a saved routine and log it
- βΊWhen you want to find an exercise or routine without scrolling in the app
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
fitness-analyzerLets your agent analyze exercise data. It identifies patterns, assesses progress, and suggests personalized workouts, even linking with chronic disease data.fitness-nutritionActs as a fitness and nutrition helper, looking up exercises and foods and calculating BMI, calorie needs, macros, and one-rep max.hugging-face-trackioLets the agent track and visualize ML training experiments. It logs metrics, fires alerts, and analyzes training data.Frequently asked questions
Is it free and open source?
The server is open source. You need a Hevy API key, and the readme says API access currently requires Hevy PRO.
How do I connect?
Use the hosted endpoint https://mcp.hevy-mcp.dev/mcp with your key as a bearer token, or run it locally with npx -y hevy-mcp.
Is my API key stored?
The readme says the hosted Worker validates the key with Hevy and does not store it for direct bearer use. With OAuth, the key is stored encrypted in a grant.
Can it change my data?
Yes. It has tools that create and update records, so the readme says your assistant should ask for approval first when the client supports it.
Is there a command line version?
Yes. A separate package, @chrisdoc/hevy-cli, reads data from the Hevy API. It does not support deleting.
Which clients work?
Codex, Claude Desktop, Cursor, Claude Code and other MCP clients, plus Google Antigravity.
If it does not work
- βΊCheck that
HEVY_API_KEYis set in the environment that starts your client - βΊCheck that Node.js 20 or newer is installed if you use
npx - βΊRestart or reconnect the client after saving its config
5 new skills a week. 1 minute to read.