liftoff-mcp
Click on "Deploy 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., "@liftoff-mcp add my Push Day routine to next Monday's schedule"
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.
liftoff-mcp
An MCP server for Liftoff (gymbros.com) that reads and writes
your training data — unlike the upstream liftoff-export CLI, which is export-only.
Weights are kilograms at the tool boundary. Liftoff stores pounds, so the server
converts on the way out and on the way back in (weight_lb is included for reference).
What it can do
Tool | Access | Notes |
| read | Auth check, API host, routine/workout counts |
| read | Names, ids, exercise and set counts, volume (kg) |
| read | Every set decoded to kg/reps/seconds |
| read | Resolves names to Liftoff exercise ids |
| write | Adds a custom exercise (dry-run unless |
| write | Removes a custom exercise by id (dry-run unless confirmed) |
| read | Newest first, windowed, filtered by exercise |
| read | Recorded bodyweights in kg |
| write | Creates a routine (dry-run unless |
| write | Full replacement (Liftoff has no partial edit) |
| write | Deletes by name or id (dry-run unless |
| read | Concrete scheduled workouts between two dates |
| read | Recurring weekday template (Mon A / Tue B / ...) |
| write | Puts a saved routine on a date (dry-run unless confirmed) |
| write | Adds an ad-hoc workout to a date without saving a routine |
| write | Moves a scheduled workout to another date |
| write | Removes a scheduled workout by id |
| write | Sets the weekday template (USER_PRESET / REST / GENERATED) |
| write | Edits exercises inside a scheduled session |
| write | Generates a Liftoff training plan (dry-run unless confirmed) |
| write | Edits or deletes a generated plan |
Every write tool returns the exact payload it would send and writes nothing until
called again with confirm=true. Destructive changes are always previewed first.
Related MCP server: Caliverse MCP
Why writing is possible
The Liftoff app speaks tRPC at /api/trpc/<procedure>. The export CLI only uses the
two read procedures (post.getMyPosts, fitnessService.fetchUserPresetsWithFolders).
The same router exposes mutations that the app itself uses:
fitnessService.createPresetfitnessService.editPresetfitnessService.deletePresetfitnessService.createExercise/fitnessService.deleteExerciseschedule.getSchedule/schedule.editSchedule(recurring weekday template)workoutSchedule.get/addWorkout/moveWorkout/removeWorkout/updateWorkout(concrete scheduled sessions)workoutSchedule.addOneOff(an ad-hoc workout with no saved routine)workoutSchedule.startPlan/editPlan/deletePlan(generated plan)post.create/post.remove(logged workouts — not wired up yet)
createExercise needs name, exerciseTypes, muscle, primaryMuscles[],
secondaryMuscles[], equipment[], difficulty, instructions, imageURI
and avatarURI. equipment is an enum of app codes (MEDICINE_BALL,
CROSSOVER_CABLE, HANDLE_BANDS, OTHER, ...), so exercise_create passes
the codes through unchanged. The returned user exercise carries the generated
id that routines need.
The required input shapes were derived from the API's own Zod validation errors
(see scripts/discover.py) and verified with a create → read → delete round trip.
Auth
It reuses the liftoff-export login, so there is nothing extra to sign in to:
liftoff-export auth login # onceTokens live in ~/.config/liftoff-export/auth.json. The server refreshes them when
they expire and writes the rotated tokens back, so the CLI stays logged in too.
Environment overrides:
LIFTOFF_REFRESH_TOKEN— headless refresh token (never persisted)LIFTOFF_API_BASE— override the version-pinned host if Liftoff retires it
Install
git clone https://github.com/mpvii/liftoff-mcp.git
cd liftoff-mcp
uv syncVersions are tagged; see Releases. To pin one, clone its tag:
git clone --branch v0.1.0 https://github.com/mpvii/liftoff-mcp.gitRegister it with OpenCode (local stdio server). Replace /path/to/liftoff-mcp
with the directory you cloned into:
{
"mcp": {
"servers": {
"liftoff": {
"type": "local",
"command": ["/path/to/liftoff-mcp/.venv/bin/liftoff-mcp"],
"environment": { "PATH": "/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin" }
}
}
}
}You can also run it straight from the repo with uv run liftoff-mcp.
Then the tools appear as liftoff_status, liftoff_routines_list,
liftoff_routine_create, and so on.
Example
"Create a push routine: bench press 3×8 at 80 kg, incline dumbbell press 3×10 at 30 kg, dips 3×10 bodyweight."
The agent calls routine_create without confirm, gets a preview, then repeats the
call with confirm=true. The routine appears in the Liftoff app immediately.
Development
uv run pytest # unit tests, no network
uv run ruff check .
uv run liftoff-mcp # stdio
uv run liftoff-mcp --transport streamable-http --port 8766scripts/discover.py is the safe probe used to find procedure names and input
schemas: a GET to a mutation returns 405 (METHOD_NOT_SUPPORTED) rather than
executing it, and an invalid POST returns the Zod field list without side effects.
Caveats
Liftoff is unofficial and version-pinned. If calls fail with "server is deprecated", set
LIFTOFF_API_BASEto the host the current app uses.routine_updatereplaces the whole routine; there is no partial edit procedure.Exercise names resolve against your own history and routines. A brand-new exercise that you have never logged is not in the catalogue — create it first with
exercise_create(or it will fail to resolve).Writing to Liftoff changes your real account. Preview, then confirm.
Available Tools
22 toolsbodyweights_listA
List recorded bodyweights in kg, oldest first.
Read-only. Liftoff only records a bodyweight on days you logged a workout, so gaps are rest days, not missing data.
Inputs: since, until. Returns: object
exercise_createA
Create a custom exercise in Liftoff (dry-run unless confirm=true).
Use this for movements that are not in your history yet — mobility drills,
med-ball throws, speed-stick swings. exercise_type is one of:
WR (weight & reps), BR (bodyweight & reps), DD (distance & duration),
WD (weight & distance), ND (no data — duration only; use duration_s when
adding it to a routine).
muscle is the broad group (Core, Hips, Shoulders, Full Body, ...);
primary_muscles is a non-empty list. The mutation returns the new
exercise with the id the routine tools need. Nothing is written until the
call is repeated with confirm=true.
Inputs: name (required), muscle (required), exercise_type (required), primary_muscles (required), +5 more. Returns: object
exercise_deleteA
Delete a custom exercise by id (dry-run unless confirm=true).
Only custom exercises can be deleted; built-in catalogue entries are not yours to remove. Deleting one that is still used by a routine may leave that routine pointing at a missing id, so check first.
Inputs: exercise_id (required), confirm. Returns: object
exercises_searchA
Find exercises you have logged or saved, returning their Liftoff ids.
Read-only. Matching is loose: "bench" finds "Incline Dumbbell Bench Press".
Use exercise_id in routine tools when a name is ambiguous.
Inputs: query (required), limit. Returns: object
plan_deleteB
Delete a generated plan by id (dry-run unless confirm=true).
Inputs: plan_id (required), confirm. Returns: object
plan_editB
Edit an existing generated plan (dry-run unless confirm=true).
Inputs: changes (required), plan_id (required), unit, confirm. Returns: object
plan_startA
Generate a Liftoff training plan (dry-run unless confirm=true).
goal: BECOME_STRONGER | BUILD_MUSCLE | LOSE_WEIGHT | GET_TONED. styles: BODYBUILDING | POWERLIFTING | CALISTHENICS | CIRCUIT_TRAINING | HIIT | STRETCHING. available_days: 0-6 (0 = Sunday). This creates new workouts and a schedule; it does not use your saved routines.
Inputs: goal (required), styles (required), available_days (required), workouts_per_week (required), +7 more. Returns: object
routine_createA
Create a routine in Liftoff (dry-run unless confirm=true).
exercises is a list like:
[{"exercise": "Bench Press",
"sets": [{"weight_kg": 80, "reps": 8}, {"weight_kg": 80, "reps": 8}]},
{"exercise": "Dips", "sets": [{"weight_kg": 0, "reps": 10}]}]
Each exercise needs exercise (a name) or exercise_id (from
exercises_search). Each set takes weight_kg and reps (or duration_s,
distance_km for cardio), an optional type (normal/warmup/dropset), and an
optional exercise-level notes. Weights are kilograms.
Nothing is written until you call this again with confirm=true; the first call returns the exact preview, including any duplicate routine names.
Inputs: name (required), exercises (required), confirm, is_public. Returns: object
routine_deleteA
Delete a routine by name or id (dry-run unless confirm=true).
Deletion cannot be undone in this tool. The preview names exactly which routine would go, so check it before confirming.
Inputs: name_or_id (required), confirm. Returns: object
routine_showA
Show one routine by name (case-insensitive) or id, with every set in kg.
Read-only. Use this before routine_update, which replaces the whole
routine and therefore needs the complete exercise list back.
Inputs: name_or_id (required), include_sets. Returns: object
routines_listA
List your saved routines (names, ids, exercise and set counts, volume).
Read-only. Volume is the sum of weight x reps for weighted exercises, in kg.
Inputs: no named parameters. Returns: object
routine_updateA
Replace a routine's contents (dry-run unless confirm=true).
Liftoff's edit has no partial mode: this replaces the WHOLE exercise list.
Call routine_show first, modify that list, and pass all of it back.
Set inputs are the same shape as routine_create (kilograms).
Inputs: exercises (required), name_or_id (required), name, confirm, +1 more. Returns: object
schedule_add_one_offA
Add a one-off workout to the calendar without saving a routine.
exercises is a list like::
{"name": "Hex Bar Deadlift",
"sets": [{"weight_kg": 150, "reps": 3}, ...]}Bodyweight work can omit the weight (it is sent as 0 kg). Mobility work
uses {"duration_s": 60}. This is the right tool for an ad-hoc session;
it does not appear in the routine list. Nothing is written until the call
is repeated with confirm=true.
Inputs: date (required), exercises (required), workout_name (required), tags, +5 more. Returns: object
schedule_add_workoutA
Put a saved routine on a date (dry-run unless confirm=true).
routine is a routine name or id; date is yyyy-MM-dd. This creates a
concrete scheduled workout, which is what the calendar shows. Nothing is
written until the call is repeated with confirm=true.
Inputs: date (required), routine (required), confirm. Returns: object
schedule_getA
Scheduled workouts between two dates, grouped by day.
Read-only. Dates are yyyy-MM-dd. Each workout carries the id used by
schedule_move_workout / schedule_remove_workout, the routine name and
whether it is completed or skipped.
Inputs: to_date (required), from_date (required), unit. Returns: object
schedule_move_workoutB
Move a scheduled workout to another date (dry-run unless confirm=true).
Inputs: date (required), scheduled_workout_id (required), confirm. Returns: object
schedule_remove_workoutA
Remove a scheduled workout by id (dry-run unless confirm=true).
Inputs: scheduled_workout_id (required), confirm. Returns: object
schedule_set_weekA
Set the recurring weekly template (dry-run unless confirm=true).
days is a list of entries like::
{"day_index": 1, "type": "USER_PRESET", "routine": "Full Body A"}
{"day_index": 4, "type": "REST"}day_index is 0-6 with 0 = Sunday. type is USER_PRESET, REST or
GENERATED_WORKOUT. A USER_PRESET needs routine (name or id). The app
reads the latest entry per weekday, so send one entry per day you change.
Nothing is written until the call is repeated with confirm=true.
Inputs: days (required), confirm, time_zone. Returns: object
schedule_update_workoutB
Edit the exercises inside a scheduled workout (dry-run unless confirmed).
This is the low-level session editor. Each entry uses the app's own shape:
removed: {sectionIndex, exerciseIndex}; swapped: {sectionIndex,
exerciseIndex, exerciseId}; edits: {sectionIndex, exerciseIndex,
exerciseId, sets[]}; added: {sectionIndex, exerciseId}. Sets use
{setIndex, setType, inputOne, inputTwo}.
Inputs: scheduled_workout_id (required), unit, added, edits, +3 more. Returns: object
schedule_weekA
The recurring weekly template: what each weekday is set to.
Read-only. A day is REST, a USER_PRESET (with the routine id the app will run) or GENERATED_WORKOUT (from a Liftoff plan).
Inputs: no named parameters. Returns: object
statusA
Check auth and show a one-line summary of your Liftoff data.
Read-only. Confirms the CLI login is still valid and reports the API host, routine count, workout count and latest workout date.
Inputs: no named parameters. Returns: object
workouts_listA
List workouts, newest first, with sets in kg.
Read-only. Dates: today | yesterday | YYYY-MM-DD | 30d | 4w | 6m | 1y.
Workout dates are local. exercise filters with word-prefix matching
("bench" matches "Bench Press"). volume_kg sums weight x reps.
Inputs: limit, since, until, exercise, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool has a recognizable resource+action target, and the descriptions actively disambiguate the risky pairs (routine_create vs. schedule_add_workout vs. schedule_add_one_off, schedule_get vs. workouts_list vs. schedule_week). A couple of boundaries still require careful reading — notably routine_create + schedule_add_workout versus schedule_add_one_off, and exercises_search versus exercise_create for naming resolution — but nothing is truly duplicated.
The convention is uniformly resource_verb (exercises_search, routine_create, schedule_move_workout, plan_delete), with schedule_* and plan_* families clearly grouped. Minor deviations exist: the bare 'status' tool breaks the pattern, and list tools use plural nouns (workouts_list, routines_list) while mutation tools use singular (exercise_create, routine_create).
22 tools spanning six sub-domains (exercises, workouts, bodyweight, routines, schedule, plans) is defensible, but the schedule family alone has eight entries including the low-level schedule_update_workout, which pushes the surface toward heavy. The set is cohesive rather than bloated, though the upward creep is noticeable.
Routines and schedule have near-full lifecycle coverage, but the workout surface is read-only (workouts_list, no get/detail or logging of a completed session), custom exercises can be created and deleted but never updated, and plans can be started/edited/deleted but not listed or shown. These are meaningful gaps for a fitness-logging domain that will force agents to route around them.
Maintenance
Related MCP Connectors
Agent-first strength-training platform across iOS, Web & MCP: read & write workouts, PRs & plans.
Read your workouts, history, and stats; create and schedule new workouts. Writes are additive only.
Your strength-training data for any AI assistant: workouts, progress, muscle volume, routines.
Read-only access to your Kit gym app workouts, exercise history, progress and current routine.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to access and manage fitness programs, exercise catalog, workout resources, activity metrics, journaled plan edits, and change tracking through authenticated tools.81 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to plan, build, and log calisthenics workouts in a user's own account, including searching exercises, managing custom workouts and plans, reading progress and coaching data, and logging completed sessions. Account mutations require explicit confirmation, and workouts can be displayed as interactive cards in the chat.MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to read, log, edit, and analyze workouts, routines, body weight, media, and personal records on a self-hosted openGym instance through its own HTTP API. Writes are scoped to requested changes with automatic backups and conflict detection, and tools are grouped into read, write, delete, and admin permission tiers.74160 npm1AGPL 3.0
- AlicenseCqualityBmaintenanceEnables reading training history and planning complete workouts on a personal calendar, including exercises with videos, sets, reps, per-set weights, supersets, notes, and block instructions. It also supports searching the exercise library, copying or moving sessions, and retrieving performance stats, personal records, and feedback.29MIT