Exerciseapi

io.github.westveghPublished by GitHub account westveghv1.0.1Updated Oct 24, 2026

Give your AI coding agent direct access to 2,198+ exercises via exerciseapi.dev

VerifiedSTDIODesktop onlyLocation & LifestyleDeveloper Tools

Overview

AI-generated overview

Official exerciseapi.dev MCP server that lets an AI assistant search and read 2,198+ structured exercises with muscle data, form tips and safety notes.

What you can do
Search the exercise library by name, category, muscle, equipment or difficulty, returning up to 100 exercises per query, and fetch full details for one exercise by ID, including instructions, form tips, safety notes, variations and video. List the 12 exercise categories with counts, the anatomical muscles and the equipment types available as filters. Read library-wide stats such as total count, category breakdown and video coverage.
When to use it
Useful when building fitness, workout, training, rehab or wellness apps and you want the assistant to pull real, library-sourced exercise data instead of inventing exercises, muscle groups or form cues.
Requirements
Runs locally via npx from the npm package @exerciseapi/mcp-server, so Node.js is needed. Requires an API key in the EXERCISEAPI_KEY environment variable, obtained from the exerciseapi.dev dashboard; the server exits on startup without it. Network access to the exerciseapi.dev API is required, and the base URL can be overridden with EXERCISEAPI_BASE_URL.
Before you install
The EXERCISEAPI_KEY secret is stored in the MCP client config file, so keep that file out of version control. Requests go to the third-party exerciseapi.dev service. The free tier allows 100 requests per day and resets at midnight UTC; paid plans start at $5 per month. The tools only read data.

Installation

In SourceWeft

  1. Open Exerciseapi in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@exerciseapi/mcp-server

Official MCP server for exerciseapi.dev — give your AI coding agent direct access to 2,198+ vetted exercises across 12 categories.

[npm version] [License: MIT] [MCP]

Building a fitness, workout, training, rehab, or wellness app with Claude Code, Cursor, Windsurf, or Cline? Stop asking your agent to make up exercise data. Install this MCP server and your agent gets six tools that pull real, structured exercises directly from the exerciseapi.dev library.

Why this exists

LLMs hallucinate exercise instructions. They invent muscle groups. They mix up form cues. They'll happily tell you to do a "reverse-grip incline cable fly" with safety tips that could hurt someone.

This server gives your agent access to:

  • 2,198+ exercises across strength, calisthenics, yoga, pilates, mobility, physical therapy, plyometrics, stretching, and more
  • Real anatomical muscle data — primary and secondary, specific muscles not just "chest" or "legs"
  • Form tips and safety notes written by humans, not generated
  • Equipment, difficulty, and category filters so the agent can build accurate workouts
  • Demonstration videos for a growing subset of exercises (and counting)

It's a thin wrapper around the exerciseapi.dev REST API. All filtering and search runs server-side — the MCP layer just makes it callable as tools.

Install

1. Get a free API key

Sign up at exerciseapi.dev/dashboard. The free tier gives you 100 requests/day, which is plenty for development. No credit card required.

2. Add to your MCP client

Claude Desktop / Claude Code — add to ~/.config/claude/claude_desktop_config.json (or your project's .mcp.json):

json
{  "mcpServers": {    "exerciseapi": {      "command": "npx",      "args": ["-y", "@exerciseapi/mcp-server"],      "env": {        "EXERCISEAPI_KEY": "exlib_your_key_here"      }    }  }}

Cursor — add to .cursor/mcp.json in your project:

json
{  "mcpServers": {    "exerciseapi": {      "command": "npx",      "args": ["-y", "@exerciseapi/mcp-server"],      "env": {        "EXERCISEAPI_KEY": "exlib_your_key_here"      }    }  }}

Windsurf, Cline, Zed — same shape, paste into your client's MCP config.

3. Restart your agent

Restart Claude Desktop / Cursor / Windsurf so it picks up the new server. You're done.

Try it

After install, ask your agent something like:

Find me five chest exercises I can do with just dumbbells, intermediate level. For each one, show me the form tips.

Your agent will call search_exercises with the right filters, get real data back, and respond with accurate, library-sourced exercises. No hallucination.

Or:

I'm building a beginner full-body workout app. Pull 8 exercises across push, pull, and legs that don't need any equipment.

Or:

What's the difference between a barbell bench press and a dumbbell bench press in terms of muscle activation?

Tools

This server exposes six tools:

ToolWhat it does
search_exercisesSearch the library by name, category, muscle, equipment, or difficulty. Returns up to 100 exercises.
get_exerciseFetch full details for a single exercise by ID — instructions, form tips, safety notes, variations, video.
list_categoriesList all 12 exercise categories with counts.
list_musclesList anatomical muscles available as filters.
list_equipmentList equipment types available as filters.
get_statsLibrary-wide stats: total count, breakdown by category, video coverage.

The full tool reference is in the MCP docs page.

Why exerciseapi.dev?

exerciseapi.devExerciseDBfree-exercise-dbAPI Ninjas
Exercise count2,198 (10,000+ target)~1,300~800~3,000
Categories12 (strength, yoga, PT, mobility, pilates, etc.)Strength onlyStrength only7 types
Search keywords✅ 5–10 per exercise❌❌❌
Form tips✅ 3–4 per exercise❌❌❌
Safety notes✅ Detailed❌❌Basic
Specific anatomical muscles✅✅❌❌
Variations✅ 3–5 per exercise❌❌❌
Demonstration videos✅ Growing✅ GIFs❌❌
MCP server✅ This package❌❌❌
Free tier100 req/dayNoneN/A (static)100 req/mo
Paid tier starts at$5/mo$10/mo—$10/mo

Built specifically for developers using AI coding agents. The schema, the tool descriptions, the docs format — all designed so an LLM can pick this up and use it correctly the first time.

Configuration

Required env vars

VarDescription
EXERCISEAPI_KEYYour API key from exerciseapi.dev/dashboard. Required. The server will exit on startup if it's missing.

Optional env vars

VarDefaultDescription
EXERCISEAPI_BASE_URLhttps://api.exerciseapi.devOverride the API base URL. Useful for self-hosting or testing against staging.

Troubleshooting

"EXERCISEAPI_KEY environment variable not set" You forgot to add the key to your MCP client config, or you didn't restart the client after adding it. Double-check the JSON in your config file and restart.

"API key is invalid" The key was rejected. Generate a new one at exerciseapi.dev/dashboard and update your config.

"Daily quota reached" You've hit the free tier's 100 req/day limit. Either wait until tomorrow (resets at midnight UTC) or upgrade at exerciseapi.dev/pricing.

The agent isn't using the tools Two common causes: (1) the server didn't start — check your client's MCP server logs, usually in the developer console or a log file. (2) The agent doesn't think the tools are relevant. Try asking more explicitly: "Use the exerciseapi tools to find me…"

Cold start is slow on first run npx -y @exerciseapi/mcp-server downloads the package the first time you use it. To skip the download on every restart, install globally: npm install -g @exerciseapi/mcp-server, then change command to exerciseapi-mcp in your config.

Direct API access (no MCP)

If you'd rather hit the REST API directly instead of using MCP — for example, you're building a server-side integration or you're not on a supported MCP client — see exerciseapi.dev/docs. The same API key works for both.

There's also a universal copy-paste prompt on the landing page you can drop into any AI coding tool to get a working integration in one shot, no MCP required.

Contributing

Issues and PRs welcome. This server is intentionally a thin wrapper — if there's logic you want to change, it probably belongs in the REST API (private repo). Open an issue first if you're not sure.

License

MIT © Vegh Labs LLC


Built by West Vegh. If this saves you a weekend of building exercise data infrastructure, say hi on the dashboard or shoot me a note at [email protected].

Source: Readme.md at commit 57c2dd6

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts