Ingredients in view
Get a list of the ingredients Claude spots in your fridge photo.
From your photo
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
How it works
Layer 01 · Setup
Install the anthropic Python package with pip install anthropic. Set ANTHROPIC_API_KEY to your own key from the Claude Console.
Layer 02 · Photo
Save your fridge photo as a local image file. The script reads the image and prepares it for the Anthropic API.
Layer 03 · Run
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.
Layer 04 · Dinner
The JSON response contains ingredients seen, a recipe name, steps, missing items and a rough estimate of food value rescued in pounds.
What's inside
From the ingredients in view to the steps for dinner, the script asks for a practical plan in structured JSON.
Get a list of the ingredients Claude spots in your fridge photo.
From your photo
Get a recipe name based on the food in your fridge.
Photo to recipe
The response includes cooking steps for the suggested recipe.
Part of the JSON response
See which ingredients the suggested dinner needs beyond those spotted in the photo.
Missing items listed
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
The prompt asks Claude to prefer ingredients that look closest to going off.
Built into the prompt
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.
From photo to plan

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.

Pricing
For home cooks using Python and their own Anthropic API key.
For home cooks comfortable running a small Python script.
Questions
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.
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.
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.
This is a script download, not a subscription plan. You supply your own Anthropic API key; API usage is separate from the download.
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.
Dinner starts here
Get the Python script, bring your own Anthropic API key, and turn a fridge photo into a plan for dinner.
Blocks placed 04