get_meal
Pack: recipes · Endpoint: https://gateway.pipeworx.io/recipes/mcp
Get complete recipe details including ingredients with measurements and step-by-step cooking instructions. Pass a meal ID from search_meals or random_meal.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | TheMealDB meal ID (e.g., “52772”) |
Example call
Arguments
{
"id": "52772"
}
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":"get_meal","arguments":{"id":"52772"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_meal', {
"id": "52772"
});
More examples
{
"id": "52804"
}
Response shape
Always returns: id, name, category, area, instructions, thumbnail_url, youtube_url, source_url, tags, ingredients
| Field | Type | Description |
|---|---|---|
id | string | TheMealDB meal ID |
name | string | Meal name |
category | string | null | Meal category (e.g., dessert, seafood) |
area | string | null | Cuisine area/region (e.g., Italian, Indian) |
instructions | string | null | Step-by-step cooking instructions |
thumbnail_url | string | null | URL to meal thumbnail image |
youtube_url | string | null | YouTube video URL for recipe |
source_url | string | null | Source website URL |
tags | array | List of meal tags/keywords |
ingredients | array | List 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.