random_meal

Pack: recipes · Endpoint: https://gateway.pipeworx.io/recipes/mcp

Get a random meal recipe with full ingredients and cooking instructions. Use when you need recipe inspiration without a specific search.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/recipes/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random_meal","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('random_meal', {});

Response shape

Always returns: id, name, category, area, instructions, thumbnail_url, youtube_url, source_url, tags, ingredients

FieldTypeDescription
idstringTheMealDB meal ID
namestringMeal name
categorystring | nullMeal category (e.g., dessert, seafood)
areastring | nullCuisine area/region (e.g., Italian, Indian)
instructionsstring | nullStep-by-step cooking instructions
thumbnail_urlstring | nullURL to meal thumbnail image
youtube_urlstring | nullYouTube video URL for recipe
source_urlstring | nullSource website URL
tagsarrayList of meal tags/keywords
ingredientsarrayList of ingredients with measurements
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "TheMealDB meal ID"
    },
    "name": {
      "type": "string",
      "description": "Meal name"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "description": "Meal category (e.g., dessert, seafood)"
    },
    "area": {
      "type": [
        "string",
        "null"
      ],
      "description": "Cuisine area/region (e.g., Italian, Indian)"
    },
    "instructions": {
      "type": [
        "string",
        "null"
      ],
      "description": "Step-by-step cooking instructions"
    },
    "thumbnail_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL to meal thumbnail image"
    },
    "youtube_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "YouTube video URL for recipe"
    },
    "source_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Source website URL"
    },
    "tags": {
      "type": "array",
      "description": "List of meal tags/keywords",
      "items": {
        "type": "string"
      }
    },
    "ingredients": {
      "type": "array",
      "description": "List of ingredients with measurements",
      "items": {
        "type": "object",
        "properties": {
          "ingredient": {
            "type": "string",
            "description": "Ingredient name"
          },
          "measure": {
            "type": "string",
            "description": "Measurement quantity and unit"
          }
        },
        "required": [
          "ingredient",
          "measure"
        ]
      }
    }
  },
  "required": [
    "id",
    "name",
    "category",
    "area",
    "instructions",
    "thumbnail_url",
    "youtube_url",
    "source_url",
    "tags",
    "ingredients"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "recipes": {
      "url": "https://gateway.pipeworx.io/recipes/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026