• DATA
  • STRUCTURE
  • LOGIC
  • HUMAN

How to build custom workout plans with your AI

Connect API Ninjas to your AI client to turn a simple prompt into a structured training program. Your agent pulls real exercise data to fill out your routine.

Ask AI about this page

Short answer

How can I make my AI build custom workout plans?

Your AI uses the get_exercises tool to pull specific movements from a database. It then organizes these exercises into a plan that matches your target muscles and skill level. You get a complete routine ready for your next session.

The results of your request

Where your training data lands

Once you give your AI a goal, it produces these specific outcomes.

DATA

Exercise selection

The AI pulls names, equipment needs, and instructions from the database. You get a list of movements that actually exist.

STRUCTURE

Formatted routines

Your agent organizes the movements into sets or circuits. This turns a list of exercises into a usable schedule.

LOGIC

Difficulty matching

The AI filters the database to ensure the movements match your requested skill level. It won't suggest advanced lifts if you ask for beginner moves.

HUMAN

Final review

You look over the generated plan to ensure the volume and intensity feel right for your body. The AI provides the data, but you make the final call.

The workflow

What your AI does when you ask for a plan.

The AI acts as the bridge between your training goals and the exercise database.

  1. Analyze goals

    Your agent reads your prompt to identify which muscle groups you want to hit and how hard you want to work.

    get_exercises
  2. Fetch exercises

    The AI queries the database to find movements that fit your specific criteria.

    get_exercises
  3. Filter results

    It narrows down the list to ensure every movement matches your requested difficulty level.

    get_exercises
  4. Draft routine

    The agent compiles the selected exercises into a cohesive, structured training session.

    get_exercises

Try it

Copy these to start.

Use these prompts to kick off your training plan.

Starting points

Swap out the muscle groups or difficulty levels to get different results.

API Ninjas Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_I0GNmqbM8wXLwEf1IZ3YPA7Iz4CYoKxUNBVoVVLM/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — API Ninjas capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "api-ninjas-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_I0GNmqbM8wXLwEf1IZ3YPA7Iz4CYoKxUNBVoVVLM/mcp"
    }
  }
}
Copy into chat04
  • Build me a beginner chest workout using only dumbbells.

  • Create a high-intensity leg routine focusing on quads.

  • Give me a 3-day split for full body strength training.

  • Find me some advanced core exercises for a gym setting.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect API Ninjas once, then ask.

One click connects the database to your AI client. Your credentials stay encrypted and secure.

Connect API Ninjas to your AI

FAQ

How this task behaves

  • 01

    Can the AI suggest exercises that aren't in the database?

    No. The AI only pulls exercises found through the get_exercises tool.

  • 02

    Will the AI track my workouts for me?

    No. This MCP is for retrieving exercise data, not for logging your personal progress or history.

  • 03

    Can I ask for routines based on specific equipment?

    Yes. You can specify equipment like dumbbells or barbells in your prompt.

  • 04

    Does the AI decide how much weight I should lift?

    No. The AI provides the exercise list, but you must decide on the specific weight and intensity.

  • 05

    Can it create a plan for a specific muscle group?

    Yes. You can tell the AI to focus on legs, arms, back, or any other group.

  • More questions about API Ninjas? The Connector page answers them. See everything the API Ninjas Connector can do

Connect API Ninjas to Claude, Cursor, ChatGPT & more