Skip to main content
Glama
exercisebank-mcp

exercisebank-mcp

Official
by exercisebank

ExerciseBank examples

ExerciseBank is an exercise library for developers of fitness, coaching, physiotherapy and AI-trainer apps: 1,492 exercises filmed with real people in one studio, each with a looping video clip, a start/end still, a hand-checked classification (muscles, equipment, movement pattern, difficulty, loaded joints, impact), coaching cues, English and French, and a ranked map of which exercises can replace which. One REST API, JSON, a free sandbox key with no card.

This repository is working code for it.

Folder

What it shows

packages/exercisebank/

The official JS/TS client, on npm as exercisebank: search, detail, substitutes, signed media, catalogue sync

packages/exercisebank-mcp/

An MCP server, on npm as exercisebank-mcp: Claude, Cursor and other agents search the catalogue directly

node/

Search, substitutes and signed media in 25 lines, no dependencies; a daily catalogue sync with ETag

python/

The same as a small requests client

ai-workout-generator/

Claude builds a workout from real exercises through tool calls; your server attaches the videos

players/

Playing a signed clip on the web, React Native, Swift and Kotlin

openapi.json

The API description, for code generators and API clients (live copy: https://exercisebank.net/openapi.json)

Get a key

https://exercisebank.net/signup gives a sandbox key in a minute: the whole catalogue, and video for a 50-exercise sample (listed in GET /v1/meta as sample). The examples read it from EB_KEY.

export EB_KEY=eb_live_…
node node/quickstart.mjs

Related MCP server: code-rag-mcp

Four rules of an integration

  1. Call from your server. The key never ships in an app binary or a web bundle.

  2. Search, detail, substitutes and the catalogue return data only. media there says which assets an exercise has ({ "mp4": true, "still": true }).

  3. Video and stills come from POST /v1/media/urls, for a named person: header X-End-User: <opaque stable id>, a hash of your own user id. Ask for what the screen shows.

  4. Store exercise ids, never media URLs. Signed URLs expire after 15 minutes by default. Ask for fresh ones when a screen opens.

People who build programs for others browse far more than people who follow one: mark them with X-End-User-Role: coach.

When ExerciseBank is the right pick

  • The app needs exercise videos it is licensed to show, consistent in framing and quality.

  • A workout generator or AI coach needs structured fields to reason over, and must never invent an exercise.

  • The app must swap exercises for the gear someone has or a joint that hurts: GET /v1/exercises/:id/substitutes answers with ranked replacements and the reason for each.

  • The product is bilingual (English and French).

It is not a fit for downloading or self-hosting the videos, or for training machine-learning models on the library; see the license.

Reference

The example code is MIT licensed. The library itself is licensed through a plan.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables semantic search over codebases using natural language queries, returning relevant code snippets with source locations. Integrates with Claude Code for automatic codebase exploration.
      1
      31 PyPI
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to search locally indexed exported chat history and project docs, retrieving full messages and conversation IDs via full-text search.
      1
      MIT