mcp-drizly

mcp-drizly

An MCP server that enables AI assistants to search for alcohol products, manage shopping carts, and place orders on Drizly. It uses browser automation to check product availability, discover local stores, and track delivery status.

Category
Visit Server

README

@striderlabs/mcp-drizly

A Model Context Protocol (MCP) connector for Drizly alcohol delivery. Enables AI assistants to search products, manage carts, check availability, and place orders on Drizly (drizly.com).

Features

  • Product Search - Search beer, wine, spirits by name, type, or brand with price and ABV filters
  • Product Details - Get detailed info including ABV, origin, ratings, and descriptions
  • Category Browsing - Browse by category (wine type, spirit type, etc.)
  • Availability Check - Check if products are available for delivery to an address
  • Store Discovery - Find available stores/retailers for a delivery address
  • Cart Management - Add items, view cart, and update quantities
  • Order Placement - Complete checkout and place orders
  • Order History - View past and current orders
  • Order Tracking - Track real-time order status and delivery estimates
  • Recommendations - Get personalized product recommendations

Requirements

  • Node.js >= 18.0.0
  • Playwright (for browser automation)

Installation

npm install @striderlabs/mcp-drizly

Install Playwright browsers:

npx playwright install chromium

Configuration

Add to your MCP client configuration (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "drizly": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-drizly"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "drizly": {
      "command": "mcp-drizly"
    }
  }
}

Available Tools

search_products

Search for alcohol products by name, brand, or type.

Parameters:

  • query (required) - Search query string
  • category - Filter by category: beer, wine, spirits, cider, hard-seltzer
  • minPrice / maxPrice - Price range filter
  • minAbv / maxAbv - ABV percentage filter
  • address - Delivery address for availability filtering

Example:

{
  "query": "IPA beer",
  "category": "beer",
  "maxPrice": 20
}

get_product_details

Get detailed product information.

Parameters:

  • productId (required) - Product ID or URL slug from Drizly

Example:

{
  "productId": "dogfish-head-60-minute-ipa"
}

browse_categories

Browse products by category and subcategory.

Parameters:

  • category - Main category: beer, wine, spirits, cider, hard-seltzer, cocktails-mixers
  • subcategory - Subcategory (e.g., IPA, Chardonnay, Bourbon)

Example:

{
  "category": "wine",
  "subcategory": "Chardonnay"
}

check_availability

Check if a product is available for delivery.

Parameters:

  • productId (required) - Product to check
  • address (required) - Delivery address

Example:

{
  "productId": "corona-extra-beer",
  "address": "123 Main St, Boston, MA 02101"
}

add_to_cart

Add a product to the shopping cart.

Parameters:

  • productId (required) - Product ID
  • name (required) - Product name
  • quantity (required) - Quantity (minimum 1)
  • price (required) - Price per unit
  • imageUrl - Optional product image URL

Example:

{
  "productId": "corona-extra-12pk",
  "name": "Corona Extra 12-Pack",
  "quantity": 2,
  "price": 15.99
}

get_cart

View current cart contents and totals.

Returns: Cart items, subtotal, delivery fee, and total.

update_cart

Update item quantity or remove from cart.

Parameters:

  • productId (required) - Product to update
  • quantity (required) - New quantity (0 removes item)

Example:

{
  "productId": "corona-extra-12pk",
  "quantity": 3
}

get_stores

Find stores available for delivery to an address.

Parameters:

  • address (required) - Delivery address

Example:

{
  "address": "456 Park Ave, New York, NY 10022"
}

place_order

Place an order for cart items.

Parameters:

  • deliveryAddress (required) - Full delivery address
  • cardLastFour - Last 4 digits of payment card
  • savePayment - Whether to save payment method

Example:

{
  "deliveryAddress": "123 Main St, Apt 4B, Boston, MA 02101",
  "cardLastFour": "4242"
}

get_orders

View all past and current orders.

track_order

Track an order's current status.

Parameters:

  • orderId (required) - Order ID (format: DRZ-XXXXXXXXXX)

Example:

{
  "orderId": "DRZ-1234567890"
}

get_recommendations

Get personalized product recommendations.

Parameters:

  • categories - Preferred categories array
  • minPrice / maxPrice - Price range for recommendations
  • previousOrders - Previous order IDs for personalization

Example:

{
  "categories": ["wine"],
  "maxPrice": 30
}

Development

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run in development mode
npm run dev

Architecture

The connector uses two main components:

  • src/index.ts - MCP server that defines tools and handles requests
  • src/browser.ts - Browser automation layer using Playwright to interact with Drizly's website

The browser automation handles:

  • Age verification gates
  • Product search and navigation
  • Cart management (stored in memory)
  • Order simulation

Important Notes

  • Age Verification: Drizly requires users to be 21+. Ensure compliance with local laws.
  • Cart State: Cart data is stored in memory and will reset when the server restarts.
  • Availability: Product availability depends on your delivery location and connected retailers.
  • Playwright: Browser automation requires Playwright with Chromium installed.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured