Quickstart
Get up and running with Hevy HTTP MCP in minutes. This guide walks you through starting the server and making your first request.Make sure you’ve completed the installation steps before proceeding.
Start the server
Verify your environment configuration
Ensure your You should see:
.env file has both required keys set:Use the MCP inspector
The MCP Inspector is a web UI that lets you explore and test all available tools interactively.Open a new terminal
Keep your server running in the first terminal, and open a new terminal window or tab.
Launch the inspector
http://localhost:3000/mcp.Explore available tools
In the inspector, you’ll see all registered tools organized by category:
- Workouts -
get-workouts,get-workout,create-workout,update-workout,get-workout-count,get-workout-events - Routines -
get-routines,get-routine-by-id,create-routine,update-routine - Exercise Templates -
get-exercise-templates,get-exercise-template - Routine Folders -
get-routine-folders,create-routine-folder,get-routine-folder
Connect an MCP client
Connect Hevy HTTP MCP to an MCP-compatible client like Claude Desktop or Cursor.Claude Desktop / Cursor
Add the following configuration to your MCP settings:Authentication
All requests to the MCP server must include theAuthorization header with your MCP_API_KEY:
Example: Query your workouts
Once connected, you can query your workout data through the MCP client.Using the inspector
- Select the
get-workoutstool - Set parameters (optional):
page: 0pageSize: 10
- Click “Execute”
- View your workout history in the response
Using an AI client
In Claude Desktop or another MCP-compatible AI client, you can ask natural language questions:Example: Get workout count
Test the connection with a simple API call using curl:This follows the MCP protocol specification for tool invocation over HTTP.
Common issues
401 Unauthorized
You’re missing theAuthorization header. Ensure your MCP client configuration includes:
403 Forbidden
TheMCP_API_KEY in your request doesn’t match the one in your server’s .env file. Verify both values are identical.
Connection refused
The server isn’t running. Start it with:Hevy API errors
If you receive errors from the Hevy API:- Verify your
HEVY_API_KEYis correct - Ensure your Hevy Pro subscription is active
- Check the API key hasn’t been revoked at Hevy settings
Next steps
Available tools
Explore all available Hevy API tools and their parameters
Configuration
Learn about advanced configuration options
Client setup
Detailed setup guides for different MCP clients
Architecture
Learn about the architecture and design patterns
Development workflow
For active development:src/.