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
访问服务器

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选