Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Math & Numbers

Recipe Ingredient Scaler

Rescale any recipe's ingredient list to a new serving count, converting cups/tbsp/tsp ⇄ grams/ml with per-ingredient densities and kitchen-friendly fraction output.

html· HTML resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/recipe-ingredient-scaler' \
  -H 'Content-Type: application/json' \
  -d '{"recipe":"2 1/4 cups all-purpose flour\n1 tsp baking soda\n1 tsp salt\n1 cup butter, softened\n3/4 cup granulated sugar\n3/4 cup packed brown sugar\n2 large eggs\n2 cups chocolate chips\n1 tsp vanilla extract","originalServings":24,"targetServings":48,"outputUnits":"metric","smartSeasoning":true}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/recipe-ingredient-scaler

Parameters

NameTypeRequiredDescription
recipetextareaYes—
originalServingsnumberNo—
targetServingsnumberNo—
outputUnitsselectNo—
smartSeasoningcheckboxNo—

Response format

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-recipe-ingredient-scaler": {
      "name": "recipe-ingredient-scaler",
      "description": "Rescale any recipe's ingredient list to a new serving count, converting cups/tbsp/tsp ⇄ grams/ml with per-ingredient densities and kitchen-friendly fraction output.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=recipe-ingredient-scaler",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "recipe-ingredient-scaler",
    "arguments": {
  "recipe": "2 1/4 cups all-purpose flour\n1 tsp baking soda\n1 tsp salt\n1 cup butter, softened\n3/4 cup granulated sugar\n3/4 cup packed brown sugar\n2 large eggs\n2 cups chocolate chips\n1 tsp vanilla extract",
  "originalServings": 24,
  "targetServings": 48,
  "outputUnits": "metric",
  "smartSeasoning": true
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).
Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools

HTML result

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

Questions or issues? Contact [email protected]