Exerciseapi

io.github.westvegh由 GitHub 账号 westvegh 发布v1.0.1更新于 Oct 24, 2026

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

已验证STDIO仅桌面位置与生活开发者工具

概览

AI 生成的概览

exerciseapi.dev 官方 MCP 服务器,让 AI 助手搜索并读取 2,198+ 条结构化动作数据,含肌肉、动作要点与安全提示。

可以做什么
按名称、类别、肌肉、器械或难度搜索动作库,每次最多返回 100 条;按 ID 获取单个动作的完整详情,包括说明、动作要点、安全提示、变式和视频。列出 12 个动作类别及数量,以及可作为筛选条件的解剖学肌肉和器械类型。读取动作库整体统计,如总数、类别分布和视频覆盖情况。
适用场景
适合在开发健身、训练、康复或健康类应用时使用,让助手获取来自动作库的真实数据,而不是编造动作、肌肉群或动作要领。
运行要求
通过 npx 从 npm 包 @exerciseapi/mcp-server 在本地运行,需要 Node.js。需要在 EXERCISEAPI_KEY 环境变量中提供 API 密钥,可从 exerciseapi.dev 控制台获取;缺少时服务器会在启动时退出。需要访问 exerciseapi.dev API 的网络连接,可用 EXERCISEAPI_BASE_URL 覆盖基础地址。
安装前请注意
EXERCISEAPI_KEY 密钥会保存在 MCP 客户端配置文件中,请勿将该文件提交到版本控制。请求会发送到第三方服务 exerciseapi.dev。免费额度为每天 100 次请求,按 UTC 午夜重置;付费方案每月 5 美元起。这些工具只读取数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Exerciseapi,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

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].

来源:Readme.md,提交 57c2dd6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分