recipe_random
Pack: spoonacular · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/recipe_random for the schema, then POST the same URL with its arguments for the data.
Fetch one or more random Spoonacular recipes, optionally filtered by comma-separated tags (e.g. “vegetarian,dessert”) and number of results. Returns full recipe details including ingredients and instructions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
tags | string | no | |
number | number | no |
Example call
Arguments
{
"number": 5
}
curl
curl -X POST https://gateway.pipeworx.io/spoonacular/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"recipe_random","arguments":{"number":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('recipe_random', {
"number": 5
});
More examples
{
"tags": "vegan,dessert",
"number": 3
}
Response shape
Full JSON Schema
{
"type": "object",
"description": "Random recipes"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the spoonacular pack
{
"mcpServers": {
"spoonacular": {
"url": "https://gateway.pipeworx.io/spoonacular/mcp"
}
}
}
See Getting Started for client-specific install steps.