GnistAI GnistAI
Log in

Cocktail Recipes

Curated cocktail recipe database — 60+ recipes with ingredients, instructions, and metadata. Search by name, ingredient, spirit, or category.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 7 tools tools 7 7 Food & Drink

Data source: In-memory curated collection

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/cocktails/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-cocktails": {
      "url": "https://context.gnist.ai/mcp/cocktails/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/cocktails/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "get_cocktail", "arguments": {"cocktail_id": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/cocktails/

7 endpoints available:

Shell
curl "https://context.gnist.ai/rest/cocktails/get_cocktail?cocktail_id=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/cocktails/get_cocktail",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "cocktail_id": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc cocktails

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (7)

get_cocktail
Get a specific cocktail recipe by its ID.
ParameterTypeRequiredDescription
cocktail_idstringrequiredCocktail slug ID (e.g. 'margarita', 'old-fashioned').
list_cocktails
List cocktail recipes with optional filters.
ParameterTypeRequiredDescription
categoryanyoptionalFilter by category (e.g. Classic, Tiki, Sour, Highball, Martini, Shot, Mocktail).
base_spiritanyoptionalFilter by base spirit (e.g. Vodka, Gin, Rum, Tequila, Whiskey).
alcoholicanyoptionalFilter by alcoholic (true) or non-alcoholic (false).
search_cocktails
Search for cocktail recipes by keyword.
ParameterTypeRequiredDescription
querystringrequiredSearch keyword — matches cocktail name, ingredients, or description.
max_resultsanyoptionalMaximum number of results (default: 20, max: 100).
get_random_cocktail
Get a random cocktail recipe.
ParameterTypeRequiredDescription
alcoholicanyoptionalFilter by alcoholic (true) or non-alcoholic (false). Omit for any.
search_cocktails_by_ingredient
Find cocktails containing a specific ingredient.
ParameterTypeRequiredDescription
ingredientstringrequiredIngredient name to search for (e.g. 'lime', 'bourbon', 'mint').
list_base_spirits
List all base spirits in the cocktail database.
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related