WorkoutX Exercise API

io.github.furkanuruk由 GitHub 账号 furkanuruk 发布v2.1.0更新于 Oct 29, 2026

Exercise API MCP: 1,900+ exercises with video, workout generator, supplements, dev tools.

已验证Streamable HTTP可网页运行位置与生活开发者工具数据与分析

概览

AI 生成的概览

WorkoutX 运动 API 让助手访问 1900 多个动作(含视频)、训练与计划生成、补剂资料以及开发者辅助工具。

可以做什么
  • 搜索、筛选并读取动作,含说明、肌肉、器械、热量与签名视频链接
  • 查找替代或相似动作、估算热量、把旧版 v1 编号映射到 v2
  • 生成单次训练或多周计划,并查询补剂与补剂组合
  • 以 JSON 或 CSV 导出动作种子数据,查看热门动作
  • 获取接口参考、生成的 TypeScript/Swift/Kotlin/Dart 模型、代码示例与请求诊断
  • 检查 API 密钥、套餐与用量统计
适用场景
适合在开发或原型制作健身应用、训练页面时使用,也适合助手需要带媒体的动作数据,或需要生成训练、计划与补剂建议时。调试 WorkoutX API 请求和生成类型模型时同样有用。
运行要求
需要 WorkoutX API 密钥:托管端点 api.workoutxapp.com 通过 X-WorkoutX-Key 请求头发送,npm stdio 桥接(npx workoutx-mcp)则设置 WORKOUTX_API_KEY。需要网络访问;免费套餐提供 500 次请求且无需信用卡。
安装前请注意
每次工具调用都计为一次 API 请求并受套餐限制,训练与计划生成、补剂等工具需要付费套餐。媒体链接为签名链接且会过期,应重新获取而非保存。API 密钥属于机密,不要放在网址或客户端设备中。

安装

在 SourceWeft 中

  1. 打开 控制台中的 WorkoutX Exercise API,将其添加到工作区。
  2. 连接 X-WorkoutX-Key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.furkanuruk%2Fworkoutx/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "workoutx-exercise-api": {
      "type": "http",
      "url": "https://api.workoutxapp.com/mcp",
      "headers": {
        "X-WorkoutX-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

WorkoutX MCP Server — Exercise & Fitness API for AI Agents

[npm] [MCP] [license]

Give Claude Code, Cursor, ChatGPT, Grok, VS Code and Claude Desktop the WorkoutX Exercise API: 1,900+ exercises with 720p MP4 animations (male and female models), a workout and multi-week program generator, an evidence-rated supplement database, and developer tools for building fitness apps: typed models, code examples, request debugging and usage stats.

"Add a workout screen to the app using a 45-minute dumbbell chest session from WorkoutX." "Generate Swift models for exercises and workouts." "Why are we getting 429s since yesterday?"

  • Hosted endpoint: https://api.workoutxapp.com/mcp (Streamable HTTP) — nothing to run
  • Auth: your WorkoutX API key in the X-WorkoutX-Key header (or Authorization: Bearer)
  • Free plan: 500 requests, no credit card — get a key
  • Every tool call counts as one API request, with the same plan limits as the REST API
  • Docs and setup guide: workoutxapp.com/mcp.html

Tools

Developer tools

ToolWhat it does
get_endpoint_referenceParameters, response shape, errors and a curl example for any v2 endpoint
generate_typesTypeScript, Swift (Codable), Kotlin (kotlinx.serialization) or Dart models
get_code_exampleSnippets for React Native, Swift, Flutter, Next.js, Node and Python: lists, video playback with link refresh, workouts, error handling, a backend proxy
diagnose_requestPaste a failing request (and status/body): the cause and the fix. Never sends it

Exercise data, workouts and supplements

ToolWhat it does
get_usage_statsYour requests, success rate, p95 latency, errors by status, top endpoints, quota and media limits
export_exercise_seedExercise ids, names, muscles and equipment as JSON or CSV, without media (no media limit used)
get_trending_exercisesMost requested exercises and filters across WorkoutX apps, anonymised
search_exercisesSearch and filter the catalog; fields and includeMedia for smaller answers
get_exerciseOne exercise: instructions, tips, muscles, calories, media links
get_exercise_mediaFresh signed MP4 and thumbnail links
list_exercise_filtersValid body parts, targets, equipment, categories and muscles
find_exercise_alternativesSwaps for the same muscles, with or without given equipment
find_similar_exercisesMost similar exercises, ranked
estimate_caloriesCalories from body weight and duration
map_v1_exercisev1 exercise id → v2 exercise
generate_workoutOne full session with warm-up, sets/reps/rest and cool-down (Growth+)
generate_programMulti-week program with periodisation and deloads (Scale)
search_supplementsSupplements with evidence, dosage and timing (Growth+)
get_supplement_stackRecommended stack for a goal (Scale)
check_api_keyPlan and remaining quota

All tools are read-only and need an API key; each call counts as one API request.

Connect

Claude Code

bash
claude mcp add --transport http workoutx https://api.workoutxapp.com/mcp --header "X-WorkoutX-Key: wx_your_key"

Cursor (~/.cursor/mcp.json) and VS Code

json
{  "mcpServers": {    "workoutx": {      "url": "https://api.workoutxapp.com/mcp",      "headers": { "X-WorkoutX-Key": "wx_your_key" }    }  }}

Claude Desktop (one click)

Download workoutx.mcpb (also on the releases page) and open it. Claude Desktop installs the extension and asks for your API key.

Claude Desktop (manual) and other stdio-only clients

This package bridges stdio to the hosted endpoint:

json
{  "mcpServers": {    "workoutx": {      "command": "npx",      "args": ["-y", "workoutx-mcp"],      "env": { "WORKOUTX_API_KEY": "wx_your_key" }    }  }}
VariableRequiredDefault
WORKOUTX_API_KEYyes—
WORKOUTX_MCP_URLnohttps://api.workoutxapp.com/mcp

Development

bash
npm install && npm run buildnpm run smoke                                            # against productionWORKOUTX_MCP_URL=http://localhost:3000/mcp npm run smoke # against a local API

Links

MIT licensed.

来源:README.md,提交 79b2619

工具

20

list_exercise_filters

List exercise filters

Every valid value (with counts) for body parts, target muscles, equipment, categories and muscles. Call this before search_exercises when unsure of a value.

输入参数lang

search_exercises

Search exercises

Search 1,900+ exercises. Filters are optional and case-insensitive; combining two or more filters needs the Starter plan or higher. Results include instructions, tips, muscles, equipment, difficulty, calories and signed MP4/thumbnail links.

输入参数langnameforcelimitmodelfieldsmuscleoffsettargetbodyPartcategorymechanic另有 3 个

get_exercise

Get an exercise

One exercise by v2 id: instructions, tips, muscles, equipment, sets/reps guidance, calories and signed media links.

输入参数id必填lang

get_exercise_media

Get exercise media

Fresh signed MP4 and thumbnail links for one exercise (links expire; call again rather than storing them).

输入参数id必填

find_exercise_alternatives

Find exercise alternatives

Ranked swaps that train the same muscles, e.g. when equipment is missing. Optionally require or exclude equipment.

输入参数id必填langlimitmodelequipmentexcludeEquipment

find_similar_exercises

Find similar exercises

Exercises most similar to the given one (same pattern, muscles and equipment), ranked by score.

输入参数id必填langlimitmodel

estimate_calories

Estimate calories

Calories burned for an exercise from its MET value, body weight and duration.

输入参数id必填minutesweightKg

map_v1_exercise

Map a v1 exercise id to v2

Find the v2 exercise for an old v1 id (e.g. "0025"), with the match quality: exact, equivalent, alternative, closest or none.

输入参数langv1Id必填

generate_workout

Generate a workout

One complete session built from movement patterns: warm-up, main work with sets/reps/rest, cool-down and swap suggestions. Needs the Growth plan or higher.

输入参数goallangseedlevelmodelsplitformatexcludedurationbodyFocusequipmentavoidJoints

generate_program

Generate a training program

A multi-week program with periodisation, deloads and weekly volume targets. Needs the Scale plan.

输入参数goallangseedlevelmodelweeksformatdurationequipmentavoidJointsdaysPerWeek

search_supplements

Search supplements

Supplements with evidence ratings, dosage and timing. Filter by category, goal, timing, evidence or free text. Needs the Growth plan or higher.

输入参数goallimitoffsetsearchtimingcategoryevidence

get_supplement_stack

Build a supplement stack

A recommended stack for a goal with dosages and timing. Needs the Scale plan.

输入参数goal必填level

export_exercise_seed

Export exercises for seeding

Exercise ids, names, muscles and equipment without media, as JSON or CSV, to seed your own database or fixtures. Does not use the distinct-exercise media limit. Page with offset; plan caps per call apply (Free 10, Starter 100, others 200).

输入参数langlimitmodelfieldsformatoffsettargetbodyPartcategoryequipment

get_usage_stats

Get usage statistics

Your account's API usage: requests, success rate, response times (avg and p95), errors by status code, top endpoints, daily counts, live quota, rate limit and media-limit usage. Use it to answer "why am I getting 429s?" or "when will my quota run out?". Uses one request.

输入参数days

get_endpoint_reference

Get endpoint reference

Parameters, response shape, errors and a curl example for any v2 endpoint, straight from the OpenAPI spec. Call with no endpoint to list them all. Uses one request.

输入参数endpoint

generate_types

Generate model types

Ready-to-paste TypeScript, Swift (Codable), Kotlin (kotlinx.serialization) or Dart models for v2 responses, generated from the OpenAPI spec. Uses one request.

输入参数modelslanguage必填

get_code_example

Get a code example

A working snippet for a platform and task: listing and paging exercises, playing the looping MP4 and refreshing its signed link, the workout generator, error and rate-limit handling, or a backend proxy that keeps your key off the device. Uses one request.

输入参数topic必填platform必填

diagnose_request

Diagnose a request

Paste a failing WorkoutX request (curl, URL or "GET /v2/...") and optionally the status and response body: explains what is wrong (wrong host, key in the URL, missing header, unknown or repeated parameter, invalid value, v1 id, plan gate, rate limit, quota, expired media link) and how to fix it. Only reads the text; never sends the request. Uses one request.

输入参数statusrequest必填response

check_api_key

Check API key

Confirm the configured API key works and show the plan and remaining quota. Uses one request.

无需输入参数。

版本历史

1
  1. v2.1.0最新Oct 29, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分