Connect Hevy to the AI assistant you already use

Talk to your Hevy data from your AI assistant.

Hevy MCP is the connector that lets Claude, Cursor, Codex, and other AI assistants use your workouts, routines, exercise history, and measurements. Analyze progress, find what you need, and log changes in plain language.

Independent, open-source connector for the Hevy API.

View source on GitHub Hevy PRO API access is required.
25 focused tools3 connection methods18-second demoMIT licensed open source
6-week training analysis

Analyze my training during the last six weeks. Show workouts per week, my most frequently trained exercises, exercises where performance improved, and any obvious gaps or inconsistencies. Use only retrieved Hevy data and cite specific workout evidence.

Assistant

I’ll pull this from Hevy directly and keep the analysis evidence-based: first the workouts from the last six weeks, then exercise details as needed so I can cite concrete sessions instead of guessing.

Hevy MCP·get-training-summary·6 weeks

Summary: 24 workouts, 411 logged sets, 104 exercise entries.

Weekly volume: 2 · 4 · 4 · 5 · 4 · 5 workouts.

Most trained: Incline bench press and lat pulldown (9 each); cable fly (8).

Progress: Pendulum squat: 35 kg × 7 @ RPE 10 → 47.5 kg × 7 @ RPE 8. Romanian deadlift: 80 kg × 11 @ RPE 10 → 92.5 kg × 8 @ RPE 9.

24 workouts411 logged sets104 exercise entries
Facts, trends, and caveats separated
Anonymized example based on a real Hevy MCP analysis.

The problem

Your Hevy data is useful. Getting answers from it should be easier.

Your training history contains the evidence, but answering a multi-part question still means opening old sessions, comparing numbers, and searching through routines manually.

Understand your progress

You want to know what improved over the last six weeks—not just view another workout list.

Find what you saved

You remember a routine or exercise but cannot remember where it lives in Hevy.

Log without guessing

You want to create or update a workout without inventing missing training details.

Instead of opening and comparing individual workouts, ask multi-week questions and receive an answer grounded in specific sessions.

What you can do

Turn your training log into a useful conversation.

01

Understand your progress

Summarize 1–12 weeks of workouts and measurements to see progression, consistency gaps, and the sessions behind the trend.

Pendulum squat6 weeks
Load ↑Effort ↓Evidence: 5 sessions
02

Find routines and exercises faster

Search your Hevy history, routines, folders, and exercise catalog in plain language. Get compact results instead of oversized responses.

03

Plan and log training

Create or update workouts, routines, custom exercises, and measurements from a conversation. Compatible clients can request confirmation before writing changes.

Completed workoutReview before creating
ExerciseSetsTop set
Incline bench press355 kg × 10
Chest press machine365 kg × 9
Cable lateral raise412.5 kg × 14
Mutation requires confirmationReady
25 focused toolsExplore the complete MCP tool manifestView tools

Analysis

  • get-training-summary

Workouts

  • get-workouts
  • get-workout
  • get-workout-count
  • get-workout-events
  • create-workout
  • update-workout

Routines

  • search-routines
  • get-routines
  • get-routine
  • create-routine
  • update-routine
  • get-routine-folders
  • get-routine-folder
  • create-routine-folder

Exercises

  • get-exercise-templates
  • get-exercise-template
  • search-exercise-templates
  • create-exercise-template
  • get-exercise-history

Measurements

  • get-body-measurements
  • get-body-measurement
  • create-body-measurement
  • update-body-measurement

Account

  • get-user-info

Recorded demo · 18 seconds

Watch the evidence-gathering flow at full size.

  • Retrieves real Hevy workout history
  • Grounds answers in specific sessions

Setup

Connect Hevy.
Ask your first question.

Start with browser sign-in for the shortest path to all 25 tools. Prefer a fixed API key or local control? Direct HTTPS and local mode are available.

Choose how your assistant connects. You can switch methods without losing the instructions below.

Browser sign-in is recommended for most people. Use direct HTTPS when your client accepts a fixed API key, or local mode when you want the process on your machine.

01

Get and verify your Hevy API key

Create a Hevy API key and keep it handy. Browser sign-in asks for it once and stores it encrypted in your OAuth grant; direct HTTPS sends it as a bearer credential; local mode passes it through your client's environment.

Open Hevy API settings Hevy PRO is required for API access.
Check the key before configuring your clientThis makes a read-only account request directly to Hevy.

For this check only, your browser sends the key directly to Hevy. This site never receives or stores it.

02

Choose your AI assistant

Add the hosted endpoint and your assistant opens a secure browser flow. There are no environment variables, JSON files, or local server processes to manage.

url
https://hevy.chrisdoc.dev/mcp

NextAdd this URL as a custom connector. Continue in the browser, paste your Hevy API key once, and approve access.

url
https://hevy.chrisdoc.dev/mcp

NextAdd this as a remote MCP server. Compatible OAuth 2.1 clients discover the authorization flow and open it in your browser.

02

Choose your AI assistant

Nothing to install or keep running. Connect your client to the hosted endpoint and provide your Hevy key as a bearer credential.

shell
export HEVY_API_KEY=your-hevy-api-key
codex mcp add hevy \
  --url https://hevy.chrisdoc.dev/mcp \
  --bearer-token-env-var HEVY_API_KEY

Before you save: replace your-hevy-api-key and never commit or screenshot the real value.

After savingRestart Codex or begin a new session, then run codex mcp list to verify the server is configured.

json
{
  "mcpServers": {
    "hevy": {
      "url": "https://hevy.chrisdoc.dev/mcp",
      "headers": {
        "Authorization": "Bearer your-hevy-api-key"
      }
    }
  }
}

Before you save: replace your-hevy-api-key and never commit or screenshot the real value.

After savingRestart or reconnect the client. It must support Streamable HTTP and a fixed Authorization header.

02

Choose your AI assistant

Run the same server locally when your client cannot send a fixed authorization header or you prefer to control the process on your machine.

shell
codex mcp add hevy \
  --env HEVY_API_KEY=your-hevy-api-key \
  -- npx -y hevy-mcp

Before you save: replace your-hevy-api-key and never commit or screenshot the real value.

After savingRestart Codex or begin a new session, then run codex mcp list. Local npx usage requires Node.js 20 or newer.

json
{
  "mcpServers": {
    "hevy": {
      "command": "npx",
      "args": ["-y", "hevy-mcp"],
      "env": {
        "HEVY_API_KEY": "your-hevy-api-key"
      }
    }
  }
}

Before you save: replace your-hevy-api-key and never commit or screenshot the real value.

After savingSave the client configuration, then restart or reconnect the client. Local npx usage requires Node.js 20 or newer.

command
npx -y hevy-mcp

After savingConfigure the client to launch this command with HEVY_API_KEY in the child-process environment, then reconnect.

03

Ask your first question

After reconnecting your client, start with this read-only question:

“Which Hevy account is connected?”

If your assistant returns your Hevy profile, the connection is working. Then try: “Give me a training summary for the last four weeks.”

More setup options

Run with Bun or Docker

Run the local server with bunx or the official multi-architecture Docker image.

Understand OAuth security

The key check goes directly from your browser to Hevy. Browser sign-in stores the validated key encrypted inside the OAuth grant; rotating the key invalidates that grant.

Troubleshoot a connection

Find client configuration locations, key checks, and exact recovery steps in the README.

Read the complete setup guide

Questions, answered

Know what you are connecting before you start.

The short version: browser sign-in is the fastest path, Hevy PRO is required for API access, and you can run the open-source server locally when you prefer.

What is Hevy MCP?

Hevy MCP is an open-source connector that lets Claude, Cursor, Codex, and other MCP clients read, analyze, create, and update data in your Hevy account.

Do I need Hevy PRO?

Yes. A Hevy API key is required, and API access currently requires a Hevy PRO subscription.

Do I need to install anything?

No for browser sign-in. The hosted endpoint requires no Node.js, Bun, Docker, environment variables, or local server process. Local mode uses npx, Bun, or Docker; local npx usage requires Node.js 20 or newer.

Which assistants work with Hevy MCP?

The setup includes paths for Claude.ai, Codex, Claude Desktop, Cursor, and other compatible MCP clients. The available connection method depends on whether your client supports browser OAuth, Streamable HTTP, or local stdio.

Is my Hevy API key stored?

The optional browser key check sends your key directly to Hevy and does not send it to this landing site. Browser sign-in validates the key and stores it encrypted inside the OAuth grant. Direct HTTPS validates the key per request without storing it. Local mode passes the key through your local process environment.

Can Hevy MCP change my workouts?

Yes. It can create and update workouts, routines, custom exercises, and body measurements. Compatible clients can request confirmation before mutation tools run, so review the proposed change before approving it.

Is this an official Hevy product?

No. Hevy MCP is an independent open-source project and is not affiliated with or endorsed by Hevy.

Start with one useful question

Put your Hevy data to work.

Connect in the browser for the shortest path—no local install required. Prefer local control? Run the same open-source server on your machine. Hevy PRO API access is required. Inspect the source on GitHub and choose the connection method that fits your workflow.