hevy-mcp-server
v1.0.0
Published
Model Context Protocol (MCP) server for Hevy workout tracking app integration
Downloads
96
Maintainers
Readme
Hevy MCP Server
A Model Context Protocol (MCP) server for integrating with the Hevy workout tracking app API. This server provides tools and resources for managing workouts, routines, and exercise data through the MCP protocol.
Features
- Workout Management: Create, read, and analyze workouts
- Routine Management: Manage workout templates and routines
- Exercise Templates: Access and search exercise databases
- Progress Tracking: Analyze workout trends and progression
- Data Resources: Access workout and fitness data as MCP resources
Installation
Global Installation (Recommended)
npm install -g hevy-mcp-serverLocal Installation
npm install hevy-mcp-serverQuick Start
Set your Hevy API key
export HEVY_API_KEY=your_hevy_api_key_hereRun the server
hevy-mcp-server
MCP Configuration
Claude Desktop App
Add this to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hevy": {
"command": "npx",
"args": ["hevy-mcp-server"],
"env": {
"HEVY_API_KEY": "your_hevy_api_key_here"
}
}
}
}Other MCP Clients
For other MCP clients, use:
HEVY_API_KEY=your_key hevy-mcp-serverMCP Tools Available
Workout Tools
get_workouts- Get paginated list of workoutsget_workout- Get specific workout detailsget_all_workouts- Get all workouts automaticallycreate_workout- Create a new workoutget_workout_count- Get total workout countanalyze_workout_trends- Analyze workout patterns and progress
Routine Tools
get_routines- Get paginated list of routinesget_routine- Get specific routine detailsget_all_routines- Get all routines automaticallycreate_routine- Create a new routineget_routine_folders- Get routine organization folderscreate_routine_folder- Create new routine folder
Exercise Tools
get_exercise_templates- Get all available exercisessearch_exercise_templates- Search exercises by name/muscle groupget_exercise_history- Get exercise performance history
MCP Resources Available
hevy://workouts- Complete workout data with statisticshevy://routines- All workout routines and templateshevy://exercise-templates- Exercise database with muscle groupshevy://routine-folders- Routine organization foldershevy://account-summary- High-level account statisticshevy://recent-workouts- Last 10 workouts with key metricshevy://exercise-list- Simple exercise reference list
API Documentation
This server interfaces with the Hevy API v1. You'll need a valid Hevy API key to use this server.
Development
Setup
npm installBuild
npm run buildTest
npm testDevelopment Mode
npm run devLicense
MIT
Repository
https://github.com/noah-vh/hevy-mcp-server
