• MATCHES
  • DETAILS
  • OPTIONS
  • HUMAN

How to generate recipes from ingredients with your AI

Connect TheMealDB to your AI client to turn a list of ingredients into a dinner plan. Once connected, your agent handles the database lookups for you.

Ask AI about this page

Short answer

How can I find recipes using what I have?

Tell your AI which ingredients are in your kitchen, and it will search TheMealDB for matching meals. You'll get specific recipes and cooking steps for each dish.

The results you get

What your AI delivers

The AI does the searching so you can focus on the cooking.

MATCHES

Ingredient-based lists

The AI finds recipes that use your specific food items. You get a list of dishes that actually work with your current inventory.

DETAILS

Full cooking instructions

Your agent pulls the exact steps and measurements for a chosen meal. You'll have everything you need to start cooking immediately.

OPTIONS

Meal variety

The AI suggests different ways to use your ingredients. This gives you multiple paths for dinner based on what's in the pantry.

HUMAN

Final cooking decisions

The AI provides the data, but you decide if a recipe looks good or if you need to skip a step. You make the final call on the meal.

The workflow

What your AI does when you ask for a recipe.

Your agent acts as the bridge between your chat and the recipe database.

  1. Find matches

    The AI searches the database for every meal that contains the ingredients you listed.

    filter_by_ingredient
  2. Identify meal

    Once you pick a dish, the AI identifies the specific meal ID needed to get the full details.

    get_meal_by_id
  3. Get instructions

    The AI pulls the complete recipe, including the ingredient list and the step-by-step guide.

    get_meal_by_id
  4. Display recipe

    Your agent presents the final cooking instructions directly in your chat window.

    get_meal_by_id

Try it

Copy these to start.

Use these prompts to get your AI moving.

Starting points

Swap out the food items in these prompts with the actual ingredients in your kitchen.

TheMealDB Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_dhRtKcxtyaCQHzizhcQD8PboSErXP3PYFbLIO6nR/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 — TheMealDB capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "themealdb-extended-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_dhRtKcxtyaCQHzizhcQD8PboSErXP3PYFbLIO6nR/mcp"
    }
  }
}
Copy into chat04
  • Find me recipes that use chicken and spinach.

  • I have eggs, flour, and milk. What can I make?

  • Give me the instructions for the beef stew recipe.

  • What can I cook with garlic, onions, and pasta?

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

Start here

Connect TheMealDB once, then ask.

Click the link to connect the MCP. Your credentials stay encrypted, and the full walkthrough is on the Connector page.

Connect TheMealDB to your AI

FAQ

How this task behaves

  • 01

    Can the AI buy ingredients for me?

    No. The AI only finds recipes based on the ingredients you already have.

  • 02

    Can the AI change the recipe instructions?

    No. The AI retrieves existing recipes from the database; it doesn't rewrite the cooking steps.

  • 03

    Can I ask for nutritional information?

    No. The AI can only provide information that is returned by the recipe tools.

  • 04

    Does it work with any ingredient?

    It works with any ingredient that exists in TheMealDB's database.

  • 05

    Can the AI save recipes to my personal files?

    No. The AI can only find and display the recipes in your chat.

  • More questions about TheMealDB? See everything the TheMealDB Connector can do

Connect TheMealDB to Claude, Cursor, ChatGPT & more