meal_plan_generate

Pack: spoonacular · Endpoint: https://gateway.pipeworx.io/spoonacular/mcp

Generate a Spoonacular meal plan for a given timeFrame (“day” or “week”) matching targetCalories, diet (e.g. vegetarian/vegan/paleo), and comma-separated exclude ingredients. Returns meals with recipe ids, titles, images, and nutrition summary.

Parameters

NameTypeRequiredDescription
timeFramestringno
targetCaloriesnumberno
dietstringno
excludestringno

Example call

Arguments

{
  "timeFrame": "week",
  "targetCalories": 2000
}

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":"meal_plan_generate","arguments":{"timeFrame":"week","targetCalories":2000}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('meal_plan_generate', {
  "timeFrame": "week",
  "targetCalories": 2000
});

More examples

{
  "timeFrame": "day",
  "targetCalories": 2500,
  "diet": "paleo",
  "exclude": "gluten"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Generated meal plan"
}

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.

Regenerated from source · build July 6, 2026