WorkoutX Exercise API for LangChain
io.github.furkanuruk/workoutx
Exercise API MCP: 1,900+ exercises with video, workout generator, supplements, dev tools.
client:LangChain
transport:streamable-http
runtime:npm
tools:20
Install WorkoutX Exercise API in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"workoutx": {
"transport": "streamable_http",
"url": "https://api.workoutxapp.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- list_exercise_filters
- search_exercises
- get_exercise
- get_exercise_media
- find_exercise_alternatives
- find_similar_exercises
- estimate_calories
- map_v1_exercise
- generate_workout
- generate_program
- search_supplements
- get_supplement_stack
- export_exercise_seed
- get_usage_stats
- get_trending_exercises
- get_endpoint_reference
- generate_types
- get_code_example
- diagnose_request
- check_api_key