Leftover Chef

Turn leftovers and fridge odds and ends into 5 recipe ideas, using what expires first.

One per line, e.g. "2 eggs", "leftover rice", "half a courgette".

More options

Items close to expiry get priority (added to the ingredients automatically).

Diet
Equipment available
min

Try an example: ·

More about this tool

Part of Hearth Home, travel & daily life

How it works

List what is in your fridge and cupboard, mark what must be used soon, and set diet, equipment and time. Leftover Chef matches your ingredients against 37 flexible recipe templates (frittata, fried rice, soup, curry…) and ranks the five that use the most of what you have with the fewest missing items.

  • Each ingredient line is normalised: lower-cased, quantities/units and words like "leftover", "fresh", "chopped" removed, plurals singularised, synonyms mapped (courgette → zucchini, garbanzo → chickpea…), then classified (vegetable, protein, grain, dairy…) with diet flags. "Vegan …", "dairy-free …", "gluten-free …" prefixes clear the matching flags.
  • Templates are editorial: each has core requirements (one of several alternatives), flexible slots (e.g. 1–4 vegetables, optional cheese), equipment alternatives and a total time. Salt, pepper, cooking oil, water and dried spices are assumed available.
  • A template is eligible if its time ≤ your maximum, you have one of its equipment options, every unmet core requirement still has a diet-compatible alternative, at least one of your ingredients is used and at most 3 items are missing.
  • Core requirements are filled first, then slots; use-soon items are always tried first and each ingredient is used once per recipe.
  • Score = 50 × share of core requirements you have + 30 × share of your use-soon items used + 3 × core requirements you have + 4 × number of your ingredients used (max 8) − 12 × missing items. Ties: fewer missing, shorter time, then template id.

Generic cooking templates, not tested recipes. Check that leftovers are still safe to eat and cook meat, fish and eggs thoroughly.

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • Hearth Home & travel planner

    Plan meals, chores, home care, moves, trips and good days for your household in one place.

    Open Hearth

Related tools

How to use Leftover Chef

Turn what is left in your fridge into five ranked meal ideas that use up the items expiring first, and learn how to get better matches.

What it is for

It's Thursday evening, there is half a courgette going soft, a bag of spinach and some rice from Tuesday. You don't need a 40-ingredient recipe — you need an idea for what those things become in the next half hour. Leftover Chef matches your list against 37 flexible dish templates (omelette, fried rice, soup, curry, grain bowl…) and ranks the five that use the most of what you have, prioritising anything you mark as "must use soon".

The templates are deliberately loose: "1–4 vegetables plus egg" rather than exact grams. These are cooking outlines without quantities, not tested recipes, and only you can judge whether leftovers are still safe to eat.

Worked example

Ingredients: 4 eggs, leftover rice, half a courgette, spinach, cheddar, spring onions, soy sauce. Must use soon: spinach and courgette. Equipment: stove and oven. Maximum time: 30 minutes.

All 7 of 7 lines were recognised — "half a courgette" became zucchini, "leftover rice" became rice. 25 templates fitted the constraints, and the top five were:

Worked example
#RecipeTimeMissingScore
1Omelette10 min—103
2Big salad10 min—103
3Fried rice15 min—103
4Grain bowl20 min—103
5Stir-fry20 min—103

All five use both use-soon items and need nothing extra, so they tie on score; ties go to the shorter cooking time. The omelette wins and uses egg, zucchini, spinach, spring onion and cheddar. Each idea comes with short steps — for the fried rice, for example, cold cooked rice into a very hot pan after the vegetables and egg, seasoned with your soy sauce.

How to read the result

  • Ingredients recognised (here 7 / 7): if fewer lines were recognised, check the "How your ingredients were understood" table and the warning. Unknown items only match a template by their exact name.
  • Uses lists your ingredients the dish puts to work; Use-soon covered shows which urgent items it rescues.
  • Missing lists what you would need to buy or borrow. Up to three missing items are allowed; each one costs points.
  • Nice to add in a recipe title are optional extras (lemon, garlic, herbs), not requirements.
  • Score is only a ranking aid; a gap of a few points means "about equally good".

Tips and common mistakes

  • Put urgent items in "Must use soon" — they are added to your ingredients automatically, and recipes that use them climb the list.
  • Salt, pepper, oil, water and dried spices are assumed, so don't waste lines on them.
  • Write plain food names. Quantities and words like "leftover" or "chopped" are stripped anyway, and British and American names (courgette/zucchini, chickpeas/garbanzo) are both understood.
  • The time limit is a hard filter. At 30 minutes you will never see vegetable soup or risotto (35 min) or the bakes (40–50 min); raise it on a slow evening.
  • For "vegan cheese" or "gluten-free pasta", keep the prefix so the diet filter treats them correctly.
  • With a diet filter set, optional suggestions follow it too: in the vegan pantry example the burrito bowl offers "protein (tofu or beans)" and "vegan cheese" as optional toppings, and the chili skips the minced-meat step. Still check labels of ready-made products yourself.

FAQ

Why did it suggest a dish that needs something I don't have?

Templates with up to three missing items are still shown if they use your ingredients well. They rank lower, and the Missing column tells you exactly what to buy.

Can it plan meals for a whole week?

No — it answers "what can I cook now". For a week of dinners and a shopping list, use a meal planner instead.

Are the recipes safe for allergies?

The diet options cover vegetarian, vegan, gluten-free and dairy-free based on ingredient names only. Always check labels for allergens yourself.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://leftoverchef.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://leftoverchef.usefulweb.site/mcp · tool name leftover_chef
Example request
curl -s -X POST https://leftoverchef.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"ingredients":["4 eggs","leftover rice","half a courgette","spinach","cheddar","spring onions","soy sauce"],"useSoon":["spinach","courgette"],"equipment":["stove","oven"],"maxMinutes":30}'
Feedback · ideas & bug reports welcome