Fridge photo in.Dinner plan out.

A downloadable Python tool for home cooks comfortable running a script. Turn a photo into a recipe, cooking steps and a list of anything missing.

Leftover League Script$19per download · run it yourself

Not available right now
See how it works
Python scriptYour own Anthropic API keyJSON recipe output
Hover to explore the layers
02

How it works

Start with what's already in your fridge.

Layer 01 · Setup

Give the script its tools

Install the anthropic Python package with pip install anthropic. Set ANTHROPIC_API_KEY to your own key from the Claude Console.

Pythonanthropic packageAPI key

Layer 02 · Photo

Choose a photo of your fridge

Save your fridge photo as a local image file. The script reads the image and prepares it for the Anthropic API.

Fridge photoLocal fileImage input

Layer 03 · Run

Send your photo to Claude

Run python fridge_to_recipe.py fridge.jpg, replacing fridge.jpg with your image path. The prompt asks Claude to prefer ingredients closest to going off.

Command lineClaudeUse food first

Layer 04 · Dinner

Read your plan and get cooking

The JSON response contains ingredients seen, a recipe name, steps, missing items and a rough estimate of food value rescued in pounds.

Recipe stepsMissing itemsRough GBP estimate
03

What's inside

A little help using what you have

From the ingredients in view to the steps for dinner, the script asks for a practical plan in structured JSON.

Ingredients in view

Get a list of the ingredients Claude spots in your fridge photo.

From your photo

A dinner idea

Get a recipe name based on the food in your fridge.

Photo to recipe

Steps to follow

The response includes cooking steps for the suggested recipe.

Part of the JSON response

Know what's missing

See which ingredients the suggested dinner needs beyond those spotted in the photo.

Missing items listed

Food value rescued

Get a rough guess, in pounds, of the food value rescued by cooking rather than binning it. It isn't a measured saving.

Estimate, not a guarantee

Older ingredients first

The prompt asks Claude to prefer ingredients that look closest to going off.

Built into the prompt

04

Why this

Dinner can start with the food you already have. This script asks Claude to look at your fridge photo, favour ingredients that seem closest to going off, and return a recipe with steps. The aim is simple: help home cooks use food instead of binning it.

07

From photo to plan

The maker, mascot or product at work on a plain light ground, positioned to one side.

Give the script a fridge photo. It asks Claude to identify ingredients and suggest dinner, favouring food that looks closest to going off. The response includes cooking steps, missing items and an estimated food value rescued.

A centered head-and-shoulders portrait on a plain ground.
Leftover League ScriptFridge-to-recipe Python tool
1 photoInput to the script
5 fieldsRequested JSON output
GBPFood value estimate currency
08

Pricing

Start with the food you have.

Like Michelin from your Fridge Items!
$5per download

For home cooks using Python and their own Anthropic API key.

Coming soon
  • Fridge-photo Python script
  • Ingredients spotted and recipe name
  • Cooking steps and missing items
  • Rough food value rescued estimate
Leftover League ScriptMain download
$19per download

For home cooks comfortable running a small Python script.

Not available right now
  • Downloadable Python script
  • Ingredients seen and recipe
  • Steps and missing items
  • Rough food value estimate
  • Uses your Anthropic API key

    09

    Questions

    Before you get cooking

    Do I need to know Python?

    You'll need to be comfortable running a small Python script. Install the anthropic package and set your own Anthropic API key before running it.

    What happens to my fridge photo?

    The script reads your local image and sends it to Anthropic's API for analysis. Check Anthropic's data policies before using a photo you consider private.

    Does it work with my tools?

    It runs with Python and the anthropic package, using your own Anthropic API key. Pass a local image path on the command line; the requested response is JSON.

    Is this a subscription I need to cancel?

    This is a script download, not a subscription plan. You supply your own Anthropic API key; API usage is separate from the download.

    Are the savings exact?

    No. The GBP figure is a rough guess of the food value rescued by cooking instead of binning it, not a measured saving or guarantee.

    10

    Dinner starts here

    Good things bring us together.

    Get the Python script, bring your own Anthropic API key, and turn a fridge photo into a plan for dinner.

    Not available right now
    Read the questions

    Blocks placed 04

    Made with MadeThis