
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
概覽
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 覆寫基礎位址。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Exerciseapi,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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):
Cursor — add to .cursor/mcp.json in your project:
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:
The full tool reference is in the MCP docs page.
Why exerciseapi.dev?
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
Optional env vars
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版本歷史
1- v1.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分