search_cocktails

Pack: cocktails · Endpoint: https://gateway.pipeworx.io/cocktails/mcp

Search for cocktails by name. Returns matching recipes with ingredients, measurements, instructions, and drink category.

Parameters

NameTypeRequiredDescription
querystringyesCocktail name or partial name to search for

Example call

Arguments

{
  "query": "margarita"
}

curl

curl -X POST https://gateway.pipeworx.io/cocktails/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_cocktails","arguments":{"query":"margarita"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('search_cocktails', {
  "query": "margarita"
});

More examples

{
  "query": "mojito"
}

Response shape

Always returns: count, cocktails

FieldTypeDescription
countintegerNumber of cocktails found
cocktailsarrayList of matching cocktails
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of cocktails found"
    },
    "cocktails": {
      "type": "array",
      "description": "List of matching cocktails",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Cocktail ID"
          },
          "name": {
            "type": "string",
            "description": "Cocktail name"
          },
          "category": {
            "type": "string",
            "description": "Drink category"
          },
          "alcoholic": {
            "type": "string",
            "description": "Alcoholic status"
          },
          "glass": {
            "type": "string",
            "description": "Glassware type"
          },
          "thumbnail": {
            "type": "string",
            "description": "Thumbnail image URL"
          },
          "ingredients": {
            "type": "array",
            "description": "List of ingredients",
            "items": {
              "type": "object",
              "properties": {
                "ingredient": {
                  "type": "string",
                  "description": "Ingredient name"
                },
                "measure": {
                  "type": "string",
                  "description": "Measurement/quantity"
                }
              },
              "required": [
                "ingredient",
                "measure"
              ]
            }
          }
        },
        "required": [
          "id",
          "name",
          "category",
          "alcoholic",
          "glass",
          "thumbnail",
          "ingredients"
        ]
      }
    }
  },
  "required": [
    "count",
    "cocktails"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "cocktails": {
      "url": "https://gateway.pipeworx.io/cocktails/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026