Skip to main content
Glama

Bar Assistant MCP Server

by zhdenny

Bar Assistant MCP Server

A high-performance Model Context Protocol (MCP) server that provides intelligent cocktail search and recipe retrieval from Bar Assistant instances.

Features

A high-performance Model Context Protocol (MCP) server that provides intelligent cocktail search and recipe retrieval with advanced batch processing capabilities.A Model Context Protocol (MCP) server that integrates with Bar Assistant, enabling natural language interactions with your cocktail database through AI assistants like GitHub Copilot.

  • ๐Ÿ” Smart Cocktail Search - Natural language queries with similarity matching

  • ๐Ÿ“– Complete Recipes - Detailed ingredients, instructions, and specifications

  • ๐ŸŽฏ Similarity Engine - Discover cocktails similar to your favorites## ๐Ÿš€ Features## Features

  • ๐Ÿงช Ingredient Analysis - Find cocktails by ingredients, flavors, and characteristics

  • โšก Batch Processing - Retrieve multiple recipes simultaneously (5-10x faster)

  • ๐Ÿ’พ Smart Caching - Intelligent caching with 70%+ hit rate

  • ๐Ÿ”ง Advanced Filtering - ABV ranges, glassware, preparation methods, and more### Intelligent Cocktail Discovery- ๐Ÿ” Search Cocktails - Find drinks by name, ingredient, base spirit, or ABV

Prerequisites

  • Node.js 18 or higher- ๐Ÿงช Ingredient Analysis: Find cocktails by ingredients, flavors, and characteristics - ๐ŸŽฏ Smart Recommendations - Find similar cocktails based on flavor profiles

  • Access to a Bar Assistant instance

  • Bar Assistant API token- ๐ŸŽฏ Advanced Filtering: ABV ranges, glassware, preparation methods, and more- ๐Ÿ“ฆ Inventory Management - Check what you can make with available ingredients

Installation

  1. Clone the repository:

git clone https://github.com/zhdenny/bar-assistant-mcp-server cd bar-assistant-mcp-server npm install npm run build

Environment Variables

Set the following environment variables or configure them in your MCP client:

export BAR_ASSISTANT_URL="https://saltrim.domain.com/bar" export BAR_ASSISTANT_TOKEN="token" export BAR_ASSISTANT_BAR_ID="1" # Set to the Bar Assistant Bar ID for the bar you want to query

Claude Desktop Configuration

Add to your Claude Desktop config file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{ "mcpServers": { "bar-assistant": { "command": "node", "args": [ "/root/path/to/bar-assistant-mcp-server/dist/src/bar-assistant-mcp-server.js" ], "env": { "BAR_ASSISTANT_URL": "https://saltrim.domain.com/bar", "BAR_ASSISTANT_TOKEN": "token", "BAR_ASSISTANT_BAR_ID": "1" } } } }

Getting Your Bar Assistant API Token

  1. Build and Start

  2. Log into your Bar Assistant instance

  3. Navigate to Settings โ†’ API```bashOnce configured in VS Code, you can ask natural language questions like:

  4. Generate a new API token

  5. Copy the token and use it in your configurationnpm run build

Usage

Once configured, you can interact with the server through your MCP client. Here are some example queries:

"What cocktails can I make with gin and vermouth?"

"Show me the recipe for a Manhattan"

"Give me recommendations on cocktails like a Negroni"

"What ingredients do I need to buy to make these 5 cocktails?"

"Show me how to make a Manhattan"

"What cocktails can I make with gin and vermouth?"

One-click Deploy
A
security โ€“ no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhdenny/bar-assistant-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server