Stretching exercise data via API
exerciseapi.dev serves 171 stretching exercises out of 2198 total, as structured JSON over one REST API and a first-party MCP server. Each record carries muscles worked, equipment, mechanic, difficulty, and step-by-step instructions.
Flexibility and muscle lengthening
Sample stretching exercises
- 90/90 Hamstringbiceps femoris, semitendinosus, semimembranosus · body only · beginner
- 90/90 Hip Stretchiliopsoas, gluteus medius · body only · intermediate
- Adductoradductor magnus, adductor longus, gracilis · foam roller · intermediate
- Adductor/Groinadductor magnus, adductor longus, gracilis · intermediate
- All Fours Quad Stretchrectus femoris, vastus lateralis, vastus medialis, vastus intermedius · body only · intermediate
- Ankle Circlesgastrocnemius, soleus · beginner
Fetch stretching exercises
cURL
curl -H "X-API-Key: YOUR_API_KEY" \
"https://api.exerciseapi.dev/v1/exercises?category=stretching&limit=20"Use it from your AI coding agent
Add the MCP server to Claude Code or Cursor, then ask your agent for exercises directly. Paste the snippet into your MCP config, or paste it into the agent and ask it to install the server.
MCP config
{
"mcpServers": {
"exerciseapi": {
"command": "npx",
"args": ["-y", "@exerciseapi/mcp-server"],
"env": {
"EXERCISEAPI_KEY": "YOUR_API_KEY"
}
}
}
}Building a workout or fitness app? Get a free API key and start with the stretching catalog.