hevy-mcp
Provides tools for interacting with the Hevy Workout Tracker API, allowing management of workouts, routines, exercises, and user information.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hevy-mcpshow my last 5 workouts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hevy MCP Server
This is a Model Context Protocol (MCP) server that provides an interface to the Hevy Workout Tracker API. It allows AI agents and other MCP clients to interact with your Hevy data, including workouts, routines, exercises, and user information.
Prerequisites
Node.js (v18 or higher recommended)
NPM
A Hevy Pro account.
A Hevy API Key. You can obtain your key by visiting the Hevy web app developer settings.
Related MCP server: Hevy MCP Server
Installation
Navigate to the project directory:
cd hevy-mcpInstall dependencies:
npm installBuild the project:
npm run build
Configuration
The server requires a Hevy API key to function. This key must be provided as an environment variable HEVY_API_KEY.
Environment Variables
Variable | Description | Required |
| Your personal Hevy API Key. | Yes |
Usage
Running the Server
To start the server directly:
export HEVY_API_KEY=your_api_key_here
npm startUsing with an MCP Client (e.g., Claude Desktop, Gemini)
Add the server configuration to your MCP client's configuration file (e.g., claude_desktop_config.json or similar).
Example Configuration:
{
"mcpServers": {
"hevy": {
"command": "node",
"args": [
"/absolute/path/to/hevy-mcp-server/dist/index.js"
],
"env": {
"HEVY_API_KEY": "your_api_key_here"
}
}
}
}Note: Replace /absolute/path/to/... with the actual full path to the dist/index.js file on your system.
Available Tools
This server exposes the following tools to MCP clients:
Workouts
get_workouts: Get a paginated list of workouts.get_single_workout: Get complete details of a single workout by UUID.get_workout_count: Get the total number of workouts.create_workout: Create a new workout.update_workout: Update an existing workout.delete_workout: Delete a workout by UUID.get_workout_events: Retrieve workout events (updates/deletes) since a specific date.
Routines
get_routines: Get a paginated list of routines.get_single_routine: Get details of a single routine by UUID.create_routine: Create a new routine.update_routine: Update an existing routine.delete_routine: Delete a routine by UUID.
Routine Folders
get_routine_folders: Get a paginated list of routine folders.get_single_routine_folder: Get details of a routine folder.create_routine_folder: Create a new routine folder.update_routine_folder: Update a routine folder's title.delete_routine_folder: Delete a routine folder.
Exercises
get_exercise_templates: Get a paginated list of exercise templates (built-in and custom).get_single_exercise_template: Get details of a specific exercise template.create_exercise_template: Create a new custom exercise template.delete_exercise_template: Delete a custom exercise template.get_exercise_history: Get history for a specific exercise template.
User
get_user_info: Get information about the authenticated user.
Development
Build:
npm run build- Compiles TypeScript to JavaScript in thedistfolder.Start:
npm start- Runs the compiled server fromdist/index.js.
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.
Latest Blog Posts
- 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/jamoski3112/hevy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server