• DATA
  • IDEAS
  • PLANNING
  • HUMAN

How to discover random recipes with your AI

Connect TheMealDB to your AI client once. After that, you can ask for a surprise meal whenever you're staring at an empty fridge.

Ask AI about this page

Short answer

How can I get random recipe ideas from my AI?

Your AI uses the get_random_meal tool to pull a single, unexpected recipe from TheMealDB. You'll get the meal name, ingredients, and cooking steps immediately. This breakdown shows what you'll get.

The results

What you get from a random search

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

DATA

Instant meal details

The AI pulls a specific recipe from the database. You get the name, the list of ingredients, and the step-by-step instructions.

IDEAS

Cooking inspiration

Instead of scrolling through recipe blogs, your AI picks something you wouldn't normally choose. It breaks your mealtime monotony.

PLANNING

Grocery list prep

Once a meal is picked, your AI can list exactly what you need to buy. This makes heading to the store much faster.

HUMAN

Your final decision

The AI suggests the meal, but you decide if it actually sounds good. You remain in total control of what ends up on your plate.

The workflow

What your AI does when you ask for a surprise.

The AI acts as your personal chef by querying the database directly.

  1. Fetch a surprise

    The AI reaches into TheMealDB to grab a single, random entry.

    get_random_meal
  2. Parse the recipe

    The AI reads the raw data to find the meal name and the cooking steps.

    get_random_meal
  3. Format instructions

    The AI turns the database text into a clean, readable list for you.

    get_random_meal
  4. Present the meal

    The AI shows you the final recipe in your chat window.

    get_random_meal

Try it

Copy these to start.

Use these prompts to trigger the recipe search.

Starting points

These are basic ways to start. You can swap out specific meal types or dietary needs in your own words.

TheMealDB Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_XatQFlCvsJKi0rAMn46oESfjKOkg0fOCAN4kwgn6/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-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_XatQFlCvsJKi0rAMn46oESfjKOkg0fOCAN4kwgn6/mcp"
    }
  }
}
Copy into chat04
  • Get me a random recipe from TheMealDB.

  • I'm bored with my cooking. Pull a surprise meal for me.

  • Find a random recipe and then give me a shopping list for it.

  • Pick a random meal that sounds like something I'd enjoy for dinner.

  • 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 you can start asking for recipes immediately.

Connect TheMealDB to your AI

FAQ

How the recipe search behaves

  • 01

    Can the AI pick a recipe based on what's in my fridge?

    No. The AI can only pull random recipes from the database using the available tool.

  • 02

    Does the AI choose the ingredients for me?

    The AI retrieves the ingredients listed in the recipe, but you still have to buy them.

  • 03

    Can the AI change the recipe instructions?

    No. The AI only reads the instructions provided by TheMealDB.

  • 04

    Can I ask for a specific type of cuisine?

    The current tool only supports pulling a completely random meal.

  • 05

    Will the AI save these recipes to a file?

    No. The AI provides the recipe in the chat, but it doesn't write files to your computer.

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

Connect TheMealDB to Claude, Cursor, ChatGPT & more