Cocktailline
Cocktail recipes and an exact ingredient finder: what can I mix with what I have at home?
我该使用它吗
质量与安全性
发现(3)
- LOW在 get_recipe 中
- LOW在 missing_ingredients 中
- LOW在 fetch 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"cocktailline": {
"url": "https://cocktailline.de/mcp"
}
}
}远程端点
https://cocktailline.de/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢find_cocktails(ingredients, max_missing, alcohol_free, language, limit)
Finds cocktails that can be made with the ingredients the user has at home (exact matching against a curated recipe database: staples like ice and sugar count as available, garnishes are ignored). Optionally also returns drinks missing only 1–2 ingredients. Ingredient names may be given in English, German, French or Spanish.
输入模式
{
"type": "object",
"properties": {
"ingredients": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ingredients the user has, e.g. [\"gin\", \"tonic water\", \"lime\"]"
},
"max_missing": {
"type": "integer",
"minimum": 0,
"maximum": 2,
"default": 0,
"description": "Also include drinks missing up to this many ingredients"
},
"alcohol_free": {
"type": "boolean",
"description": "Only non-alcoholic drinks"
},
"language": {
"type": "string",
"enum": [
"de",
"en",
"fr",
"es"
],
"default": "en"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"default": 12
}
},
"required": [
"ingredients"
]
}🟢get_recipe(cocktail, language)
Returns a full cocktail recipe (ingredients with amounts, steps, glass, history) as Markdown, plus the link to the recipe page with photo, party calculator and ratings.
输入模式
{
"type": "object",
"properties": {
"cocktail": {
"type": "string",
"description": "Cocktail name or slug, e.g. \"Mojito\""
},
"language": {
"type": "string",
"enum": [
"de",
"en",
"fr",
"es"
],
"default": "en"
}
},
"required": [
"cocktail"
]
}🟢missing_ingredients(cocktail, ingredients, language)
Tells which ingredients are still missing to make a given cocktail with what the user has.
输入模式
{
"type": "object",
"properties": {
"cocktail": {
"type": "string",
"description": "Cocktail name or slug"
},
"ingredients": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ingredients the user has"
},
"language": {
"type": "string",
"enum": [
"de",
"en",
"fr",
"es"
],
"default": "en"
}
},
"required": [
"cocktail",
"ingredients"
]
}🟢search_cocktails(query, taste, alcohol_free, language, limit)
Searches cocktails by name, ingredient or taste (fruity, sour, sweet, bitter, fresh, creamy, spicy, smoky, sparkling), optionally only non-alcoholic.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Free text, e.g. \"gin\", \"summer\", \"Margarita\""
},
"taste": {
"type": "string",
"enum": [
"fruchtig",
"sauer",
"süß",
"bitter",
"herb",
"frisch",
"cremig",
"würzig",
"rauchig",
"prickelnd"
]
},
"alcohol_free": {
"type": "boolean"
},
"language": {
"type": "string",
"enum": [
"de",
"en",
"fr",
"es"
],
"default": "en"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"default": 12
}
}
}🟢search(query)
Search Cocktailline recipes. Returns ids, titles and URLs; use fetch for the full recipe.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string"
}
},
"required": [
"query"
]
}🟢fetch(id)
Fetch a Cocktailline recipe by id (as returned by search).
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
]
}社区
证据