Skip to main content
Glama
nihal2001

Minimal Hevy MCP

by nihal2001

Minimal Hevy MCP

A small local Model Context Protocol server that lets an agent read Hevy workout data and create workout routines through Hevy's public API.

Included tools

  • hevy_list_workouts

  • hevy_get_workout

  • hevy_list_routines

  • hevy_get_routine

  • hevy_search_exercises

  • hevy_get_exercise_history

  • hevy_create_workout

  • hevy_create_routine

The first six tools are read-only. hevy_create_workout and hevy_create_routine write to the connected Hevy account and are annotated as non-idempotent mutations.

hevy_create_routine creates a reusable plan for a future session. hevy_create_workout logs an already-completed session using actual start/end times and set results. It defaults completed workouts to private and rejects sets without a recorded performance metric.

Related MCP server: hevy-mcp-server

Requirements

Install and validate

npm install
npm run check
npm run build
npm run smoke

Run locally

export HEVY_API_KEY="your-key"
npm start

The server communicates over stdin/stdout, so it will appear to wait silently when run directly. An MCP host is expected to start it and communicate with it.

Add it to Codex

Build the server first, make HEVY_API_KEY available to the environment that starts Codex, then run:

codex mcp add hevy -- node /absolute/path/to/hevy-mcp/dist/index.js

Restart Codex after adding the server. Verify the configuration with:

codex mcp list

Do not commit the API key or pass it as a tool argument. The MCP reads it only from HEVY_API_KEY and sends it to Hevy in the required api-key header.

Suggested first request

Read my five most recent workouts and summarize frequency, exercise selection, and obvious progression patterns. Do not create or update anything.

When asking the agent to create a routine, require it to show the full routine and get your approval before calling hevy_create_routine.

When logging a completed workout, give the agent the actual exercises, set results, and times. Require it to show the complete workout and get your approval before calling hevy_create_workout. The agent must never invent completed results.

F
license - not found
Not graded
quality - not tested
C
maintenance

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

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables interaction with the Hevy fitness tracking platform through their API. Supports managing workouts, routines, exercise templates, and webhook subscriptions for comprehensive fitness data management.
    9
    ISC
  • F
    license
    Not graded
    quality
    D
    maintenance
    Access your Hevy workout data through natural language. Query workout history, exercise details, routines, and track progress.

View all related MCP servers

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)

View all MCP Connectors

Latest Blog Posts

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