exerciseapi

v1.0.5
io.github.westvegh/exerciseapi Checked 11 hours ago Published 2 hours ago

Search a library of 2,200 exercises across 12 categories from your AI coding agent.

Values you need

VariableWhat it is
EXERCISEAPI_KEYrequired secret Your API key from exerciseapi.dev/dashboard

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add exerciseapi -e 'EXERCISEAPI_KEY=<EXERCISEAPI_KEY>' -- npx -y --package=@exerciseapi/mcp-server@1.0.3 exerciseapi-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "exerciseapi": {
      "args": [
        "-y",
        "--package=@exerciseapi/mcp-server@1.0.3",
        "exerciseapi-mcp"
      ],
      "command": "npx",
      "env": {
        "EXERCISEAPI_KEY": "<EXERCISEAPI_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "exerciseapi": {
      "args": [
        "-y",
        "--package=@exerciseapi/mcp-server@1.0.3",
        "exerciseapi-mcp"
      ],
      "command": "npx",
      "env": {
        "EXERCISEAPI_KEY": "<EXERCISEAPI_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "EXERCISEAPI_KEY",
      "id": "exerciseapi-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "exerciseapi": {
      "args": [
        "-y",
        "--package=@exerciseapi/mcp-server@1.0.3",
        "exerciseapi-mcp"
      ],
      "command": "npx",
      "env": {
        "EXERCISEAPI_KEY": "${input:exerciseapi-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.exerciseapi]
command = "npx"
args = ["-y", "--package=@exerciseapi/mcp-server@1.0.3", "exerciseapi-mcp"]
env = { "EXERCISEAPI_KEY" = "<EXERCISEAPI_KEY>" }

For AI agents

  1. Ask the user for: EXERCISEAPI_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: search_exercises, get_exercise, list_categories, list_muscles, list_equipment, get_stats.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json