Recipes
liveFoodMeal recipes searchable by name, ingredient, or category from TheMealDB
Tools
search_mealsrequired: querySearch 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.
queryreqstringMeal name to searchTry it
get_mealrequired: idGet complete recipe details including ingredients with measurements and step-by-step cooking instructions. Pass a meal ID from search_meals or random_meal.
idreqstringMeal IDTry it
random_mealGet 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: ingredientFind all recipes using a specific ingredient (e.g., "chicken", "garlic", "pasta"). Returns meal names and IDs to pass to get_meal.
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.
curl -X POST https://gateway.pipeworx.io/recipes/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'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.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_meals", {"query":"example"});// Or ask in plain English:
const answer = await px.ask("meal recipes searchable by name, ingredient, or category from themealdb");