the-cocktail-db
3.4
The Cocktail DB MCP Server is a comprehensive resource for cocktail and alcohol data, offering tools for exploring and retrieving information about various cocktails and ingredients.
The Cocktail DB MCP Server offers a freemium service with a wide range of features designed to meet your cocktail-related needs. Whether you're looking to discover new drinks, find details on specific cocktails, or explore ingredients, this server has you covered.
Features
- {'name': 'Search', 'description': "Easily search for cocktails or ingredients by name. Whether you're looking for a specific drink or ingredient, the search tools make it simple to find what you need."}
- {'name': 'Lookup', 'description': 'Get detailed information on cocktails and ingredients. You can look up a random cocktail, retrieve full details by ID, or even explore a selection of 10 random cocktails.'}
- {'name': 'Filter', 'description': 'Narrow down your choices by filtering cocktails based on category, alcoholic content, glass type, or multiple ingredients.'}
- {'name': 'List', 'description': 'Access comprehensive lists of ingredients, glasses, categories, and popular cocktails. Stay updated with the latest additions to the cocktail world.'}
Usage with Different Platforms
python
python
import requests
url = 'https://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita'
response = requests.get(url)
data = response.json()
print(data)
javascript
javascript
fetch('https://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita')
.then(response => response.json())
.then(data => console.log(data));