{
  "title": "Meal cost comparison",
  "human_url": "https://happytails.ai/en/calculators/meal-cost-comparison/",
  "agent_url": "https://happytails.ai/agents/en/calculators/meal-cost-comparison/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/meal-cost-comparison.md",
  "content": "Meal cost comparison\nRank two to twenty recipes by cost per serving using ingredient package prices, sizes and amounts you enter.\nHow to use Meal cost comparison\nEnter two to twenty recipes with serving counts and ingredient rows.\nFor each ingredient, enter package price and size plus the quantity used.\nReview each exact-cost ranking, per-serving display and top cost drivers; download the CSV comparison.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nUseful next steps\nRecipe cost calculator\nFreezer meal planner\nCompare the same cost basis\nEnter the full price and quantity of each package, then the amount used in the recipe. The tool prorates package cost by the used amount and divides the recipe total by servings.\nRanks do not use rounded displays\nRecipes rank by exact cost per serving, then exact total cost and recipe name. Changing display decimal places does not change rank.\nEntered prices and adjustments\nAll prices and servings come from your input. No exchange rates are applied. No tax, labour or waste adjustments are added; the entered package price may already include retail tax.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Recipe cost calculator",
      "url": "https://happytails.ai/en/calculators/recipe-cost-calculator/"
    },
    {
      "name": "Freezer meal planner",
      "url": "https://happytails.ai/en/calculators/freezer-meal-planner/"
    }
  ],
  "tool": {
    "id": "meal-cost-comparison",
    "category": "calculators",
    "built": true,
    "requirements": "Enter two to twenty unique recipes and up to 1,000 ingredient rows. Use supported compatible units and one currency code. Rankings use exact values before display rounding. No prices are looked up, and no tax, labour or waste adjustments are added. User-entered prices may already include retail tax. Nutrition and ingredient suitability are not calculated.",
    "implementation": {
      "fields": [
        {
          "key": "recipesCsv",
          "label": "Recipes and ingredient costs",
          "value": "recipe,servings,ingredient,pack_price,pack_quantity,pack_unit,used_quantity,used_unit\nRice bowl,2,Rice,4.00,2,kg,500,g\nLentil bowl,2,Lentils,3.00,1,kg,500,g",
          "type": "textarea",
          "maxLength": 200000,
          "help": "Use exact headers: recipe,servings,ingredient,pack_price,pack_quantity,pack_unit,used_quantity,used_unit. Enter two to twenty uniquely named recipes. Supported package units: kg, g, mg, lb, oz, L, mL, US gallon, Imperial gallon, US fl oz and item."
        },
        {
          "key": "currency",
          "label": "Currency code",
          "value": "EUR",
          "type": "text",
          "maxLength": 3,
          "help": "Three uppercase letters. All prices use this currency; no exchange rate is applied."
        },
        {
          "key": "precision",
          "label": "Currency decimal places",
          "value": "2",
          "type": "select",
          "values": [
            "0",
            "2",
            "3",
            "4"
          ]
        }
      ],
      "input": false,
      "presentation": "metrics",
      "inputMaxLength": 200000,
      "note": "Compare two to twenty recipes using package prices, quantities used and servings. Prices and portions are supplied by you; no tax, labour or waste adjustments are added. Runs on your device.",
      "experience": {
        "automatic": false,
        "single": false,
        "inputMaxLength": 200000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Up to 200,000 characters. Review the settings before running.",
        "action": null
      },
      "mode": "explicit",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Meal cost comparison\n\n- Human page: https://happytails.ai/en/calculators/meal-cost-comparison/\n- Markdown: https://happytails.ai/en/calculators/meal-cost-comparison.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/meal-cost-comparison/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `meal-cost-comparison` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Use the visible action or interactive controls. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nCompare two to twenty recipes using package prices, quantities used and servings. Prices and portions are supplied by you; no tax, labour or waste adjustments are added. Runs on your device.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `recipesCsv` | Recipes and ingredient costs | textarea | \"recipe,servings,ingredient,pack_price,pack_quantity,pack_unit,used_quantity,used_unit\\nRice bowl,2,Rice,4.00,2,kg,500,g\\nLentil bowl,2,Lentils,3.00,1,kg,500,g\" |  |\n| `currency` | Currency code | text | \"EUR\" |  |\n| `precision` | Currency decimal places | select | \"2\" | Allowed: 0, 2, 3, 4 |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nEnter two to twenty unique recipes and up to 1,000 ingredient rows. Use supported compatible units and one currency code. Rankings use exact values before display rounding. No prices are looked up, and no tax, labour or waste adjustments are added. User-entered prices may already include retail tax. Nutrition and ingredient suitability are not calculated.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"meal-cost-comparison\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Enter two to twenty unique recipes and up to 1,000 ingredient rows. Use supported compatible units and one currency code. Rankings use exact values before display rounding. No prices are looked up, and no tax, labour or waste adjustments are added. User-entered prices may already include retail tax. Nutrition and ingredient suitability are not calculated.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"recipesCsv\",\n        \"label\": \"Recipes and ingredient costs\",\n        \"value\": \"recipe,servings,ingredient,pack_price,pack_quantity,pack_unit,used_quantity,used_unit\\nRice bowl,2,Rice,4.00,2,kg,500,g\\nLentil bowl,2,Lentils,3.00,1,kg,500,g\",\n        \"type\": \"textarea\",\n        \"maxLength\": 200000,\n        \"help\": \"Use exact headers: recipe,servings,ingredient,pack_price,pack_quantity,pack_unit,used_quantity,used_unit. Enter two to twenty uniquely named recipes. Supported package units: kg, g, mg, lb, oz, L, mL, US gallon, Imperial gallon, US fl oz and item.\"\n      },\n      {\n        \"key\": \"currency\",\n        \"label\": \"Currency code\",\n        \"value\": \"EUR\",\n        \"type\": \"text\",\n        \"maxLength\": 3,\n        \"help\": \"Three uppercase letters. All prices use this currency; no exchange rate is applied.\"\n      },\n      {\n        \"key\": \"precision\",\n        \"label\": \"Currency decimal places\",\n        \"value\": \"2\",\n        \"type\": \"select\",\n        \"values\": [\n          \"0\",\n          \"2\",\n          \"3\",\n          \"4\"\n        ]\n      }\n    ],\n    \"input\": false,\n    \"presentation\": \"metrics\",\n    \"inputMaxLength\": 200000,\n    \"note\": \"Compare two to twenty recipes using package prices, quantities used and servings. Prices and portions are supplied by you; no tax, labour or waste adjustments are added. Runs on your device.\",\n    \"experience\": {\n      \"automatic\": false,\n      \"single\": false,\n      \"inputMaxLength\": 200000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Up to 200,000 characters. Review the settings before running.\",\n      \"action\": null\n    },\n    \"mode\": \"explicit\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nRank two to twenty recipes by cost per serving using ingredient package prices, sizes and amounts you enter.\n\n### How to use Meal cost comparison\n\n1. Enter two to twenty recipes with serving counts and ingredient rows.\n2. For each ingredient, enter package price and size plus the quantity used.\n3. Review each exact-cost ranking, per-serving display and top cost drivers; download the CSV comparison.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n## Useful next steps\n\n- [Recipe cost calculator](https://happytails.ai/en/calculators/recipe-cost-calculator/) ([Markdown](https://happytails.ai/en/calculators/recipe-cost-calculator.md))\n\n- [Freezer meal planner](https://happytails.ai/en/calculators/freezer-meal-planner/) ([Markdown](https://happytails.ai/en/calculators/freezer-meal-planner.md))\n\n## Compare the same cost basis\n\nEnter the full price and quantity of each package, then the amount used in the recipe. The tool prorates package cost by the used amount and divides the recipe total by servings.\n\n### Ranks do not use rounded displays\n\nRecipes rank by exact cost per serving, then exact total cost and recipe name. Changing display decimal places does not change rank.\n\n### Entered prices and adjustments\n\nAll prices and servings come from your input. No exchange rates are applied. No tax, labour or waste adjustments are added; the entered package price may already include retail tax.\n"
}