How to Build Fitness Apps with Exercise Data Using Copilot
Build fitness and workout apps using exercise data with Copilot and ToolRouter.
ToolWorkout PlannerCopilot makes the full exercise database available in your IDE for building workout planning applications, fitness tracking tools, and training programme generators. The structured exercise data includes muscle activation, equipment requirements, and form descriptions needed for a feature-complete fitness app.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Workout Planner tool:
- In Copilot Chat: "Search exercises for chest using workout-planner"
- Copilot returns structured exercise data with muscle and equipment fields
- Ask: "Generate a TypeScript interface for the exercise data response"
- Request: "Write a function that builds a workout day from a target muscle group and equipment list"
Example Prompt
Try this with Copilot using the Workout Planner tool
Search exercises for back muscles using workout-planner and return as JSON with exercise name, target muscle, secondary muscles, required equipment, and difficulty level.
Tips
- Use target muscle and secondary muscle fields to build comprehensive muscle coverage logic
- Build an equipment filter function to personalise exercise lists per user's available gear
- Combine with a volume tracker to build progressive overload recommendations in your app