Cocktails from my bar
Given a photo of someone's liquor cabinet — or a typed list of what they own — work out which cocktails they can make right now, and which they are one bottle short of.
Steps
Inventory the bottles. From the photo or list, identify every spirit, liqueur, mixer, juice, and bitters. Read labels carefully.
Normalise to generic ingredients. cocktail.glass recipes use generic ingredient names, not brands. Map each bottle to its base type:
- "Bombay Sapphire" →
gin - "Cointreau" →
triple sec - "Martini Rosso" →
sweet vermouth - "Tanqueray No. Ten" →
gin
Keep distinct products distinct:
sloe ginis notgin, andorange bittersis notorange.- "Bombay Sapphire" →
Ask cocktail.glass what is makeable. Call the
find_makeable_cocktailstool on the MCP server athttps://cocktail.glass/mcp, passing the full list of normalised ingredients in a single call. If you cannot reach the MCP server, fetch the whole catalogue fromhttps://cocktail.glass/cocktails.jsonand match locally: a cocktail is makeable when every one of itsingredientsis covered by the list. Garnishes are optional and plain water is assumed on hand.Report two lists. "Make now" — drinks they have every ingredient for. "One bottle away" — drinks missing exactly one ingredient, naming the missing ingredient for each. Order each list simplest drink first.
Always link the recipe. Every cocktail on cocktail.glass has a page at
https://cocktail.glass/<slug>/. Link each suggestion so a person can open the full recipe.
Notes
- The catalogue is 500 cocktails, read-only and public — no key, no login.
find_makeable_cocktailsalready returns both lists (makeableandalmostMakeable), so prefer it over matching ingredients by hand.