Recipes

liveFood

Meal recipes searchable by name, ingredient, or category from TheMealDB

4tools
0msauth
free tier50 calls/day

Tools

search_mealsrequired: query

Search TheMealDB for recipes by meal name. Returns full recipe details — category, cuisine area, ingredients with measurements, step-by-step instructions, tags, thumbnail, and YouTube/source URLs.

Parameters
NameTypeDescription
queryreqstringMeal name to search
▶Try it
get_mealrequired: id

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
NameTypeDescription
idreqstringMeal ID
▶Try it
random_meal

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

No parameters required.

▶Try it
meals_by_ingredientrequired: ingredient

Find all recipes using a specific ingredient (e.g., "chicken", "garlic", "pasta"). Returns meal names and IDs to pass to get_meal.

Parameters
NameTypeDescription
ingredientreqstringIngredient name (e.g., chicken, rice)
▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/recipes/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/recipes/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_meals","arguments":{"query": "hello"}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_meals", {"query":"example"});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("meal recipes searchable by name, ingredient, or category from themealdb");