recipe_random
Pack: spoonacular · Endpoint: https://gateway.pipeworx.io/spoonacular/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"spoonacular": {
"url": "https://gateway.pipeworx.io/spoonacular/mcp"
}
}
}
See Getting Started for client-specific install steps.