Barkeeper
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Barkeeper What cocktails can I make with what's on my shelf?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Barkeeper
An MCP server that tracks a home bar: what's on the shelf, and the cocktail recipes you want to keep.
It is deliberately small — 7 tools, roughly 900 tokens of tool schema and instructions combined — so it stays cheap to run against local models.
Design
Inventory is presence-only. An item is either on the shelf or it isn't — there are no quantities or units to keep up to date. Each item carries a category so the listing can be grouped.
Recipes are a name, ingredient lines, and a method. Ingredients are plain
text ("2 oz bourbon"), so there is no per-ingredient schema for a model to
get wrong.
The model does the cross-referencing. There is no what_can_i_make tool.
To answer that, the model calls list_inventory and list_recipes and compares
the two — it already knows that a recipe calling for bourbon is satisfied by a
bottle named "Buffalo Trace". The server's instructions tell it to match
generously.
Related MCP server: bar-assistant-mcp
Tools
Tool | Arguments | Purpose |
| — | Everything on the shelf |
|
| Put one item on the shelf |
|
| Take one item off |
| — | Every recipe with ingredients, without methods |
|
| One recipe in full |
|
| Save or replace a recipe |
|
| Delete a recipe |
list_recipes omits the method so the common "what can I make?" question stays
cheap; get_recipe fills in the detail for the one drink you settle on.
Categories
list_inventory groups by category, in shelf order, skipping any that are empty:
spirit: Buffalo Trace bourbon, Tanqueray gin
liqueur: Campari
bitters: Angostura
mixer: Fever-Tree tonic waterCategory | What belongs there |
| Base liquor — gin, vodka, whiskey, rum, tequila, brandy |
| Sweetened or fortified — Campari, Cointreau, amaro, vermouth, sherry |
| Still or sparkling — prosecco, Champagne |
| Cocktail bitters, dashed rather than poured — Angostura, Peychaud's |
| Non-alcoholic liquids — tonic, soda, juice, cola |
| Sweeteners — simple, orgeat, grenadine, honey |
| Citrus, herbs, olives, cherries |
| Anything else |
Bitters gets its own category because it fits neither of the obvious two: it's alcoholic, so it isn't a mixer, but it's measured in dashes rather than poured, so grouping it with the spirits misrepresents the shelf.
The enum says spirit rather than liquor deliberately — liquor and
liqueur differ by one letter, and asking a small model to choose between two
near-identical strings invites silent miscategorisation.
Re-adding an item that's already on the shelf updates its category, so a wrong guess is corrected by just adding it again.
Names are matched case- and punctuation-insensitively, and partial names work
when they're unambiguous — get_recipe("old fash") finds "Old Fashioned".
An ambiguous partial returns an error listing the candidates rather than
guessing.
Run it
The server speaks two transports. HTTP is the default in Docker: one port, plugged in by URL. stdio is the default for a local install, since that's how a client spawns it as a subprocess.
Docker (HTTP)
docker run -d --name barkeeper -p 8000:8000 -v barkeeper-data:/data \
ghcr.io/nickmowen/mcp-barkeeperThen point any MCP client at http://localhost:8000/mcp:
{
"mcpServers": {
"barkeeper": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}Or with Claude Code:
claude mcp add --transport http barkeeper http://localhost:8000/mcpCompose is included — docker compose up -d gives the same thing with the
volume and port already wired.
The image runs as a non-root user (uid 1000), exposes 8000, and keeps its
database in the /data volume. Prefer a named volume, as above: a bind
mount to a host directory has to be writable by uid 1000 or the server can't
create its database. A healthcheck confirms the port is bound.
Local (stdio)
uv syncclaude mcp add barkeeper -- uv --directory /path/to/mcp-barkeeper run barkeeperWhich HTTP transport?
--transport http serves Streamable HTTP at /mcp — the current MCP
transport, which POSTs requests and streams replies back over SSE. This is what
you want.
--transport sse serves the older HTTP+SSE transport, a separate /sse
stream plus a /messages/ endpoint. It was deprecated in MCP 2025-03-26 and is
here only for clients that haven't moved yet.
Configuration
Flags beat environment variables, which beat defaults.
Variable | Flag | Default | Purpose |
|
|
|
|
|
|
| Interface to bind |
|
|
| Port to bind |
| — | platform data dir | SQLite file; |
| — | unset | Comma-separated; enables DNS-rebinding protection |
| — | unset | Comma-separated; enables DNS-rebinding protection |
Binding to 0.0.0.0 puts the server on every interface the container can reach,
with no authentication — keep it on a private network or bound to 127.0.0.1.
Setting either allow-list switches on DNS-rebinding protection, which rejects
requests whose Host or Origin header isn't named:
BARKEEPER_ALLOWED_HOSTS="localhost:*,127.0.0.1:*"Both are left unset by default because enabling protection with an empty allow-list rejects every request.
Storage
A single SQLite file. In Docker it lives at /data/barkeeper.db; locally it is
created on first use at:
macOS:
~/Library/Application Support/barkeeper/barkeeper.dbLinux:
~/.local/share/barkeeper/barkeeper.dbWindows:
%APPDATA%\barkeeper\barkeeper.db
Override with BARKEEPER_DB_PATH. Use :memory: for a throwaway session.
Development
uv run pytestcreate_server(conn) accepts a connection, so tests run against an in-memory
database with no global state.
Available Tools
7 toolsadd_itemAdd itemA
Add one bottle, mixer, or garnish to the bar.
Call this when the user buys or acquires something, once per item. Adding something already on the shelf just updates its category.
Inputs: name (required), category (required). Returns: result
delete_recipeDelete recipeBDestructive
Delete a saved recipe.
Inputs: name (required). Returns: result
get_recipeGet recipeARead-only
Get one recipe in full, with ingredients and the method.
Inputs: name (required). Returns: result
list_inventoryList inventoryARead-only
List everything on the bar shelf, grouped by category.
Inputs: no named parameters. Returns: result
list_recipesList recipesARead-only
List every saved recipe with its ingredients, but without the method.
This is the cheap overview — use get_recipe for the full instructions of one drink.
Inputs: no named parameters. Returns: result
remove_itemRemove itemADestructive
Remove an item from the bar, because it ran out or was thrown away.
Inputs: name (required). Returns: result
save_recipeSave recipeB
Save a cocktail recipe worth keeping, or update one already saved.
Inputs: name (required), ingredients (required), instructions. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource and action: inventory items (add, remove, list) and recipes (list, get, save, delete). There is no overlap or confusion between tools.
All tools follow a consistent verb_noun pattern using snake_case (remove_item, list_recipes, get_recipe, etc.). The verb clearly indicates the operation and the noun the target resource.
Seven tools is well-scoped for a bar management server covering both inventory and recipe management. Each tool has a clear purpose and none are redundant.
The surface covers full CRUD for recipes (list, get, save, delete) and essential operations for inventory (add, remove, list). The add_item tool also handles updates via category refresh, so no major gaps exist.
Maintenance
Related MCP Connectors
MCP server for the Émile wine cellar — list, add, recommend, scan and search 100k+ wines.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA small MCP server that manages a product inventory using SQLite, providing CRUD operations through exposed MCP tools.-
- AlicenseBqualityCmaintenanceMCP server for Bar Assistant that enables searching cocktails, managing ingredients, shelves, shopping lists, and collections via natural language.41MIT
- AlicenseBqualityDmaintenanceMCP server for meal planning and grocery list generation, enabling recipe storage, meal plan creation, and automated grocery lists with ignored ingredients.82MIT
- FlicenseNot gradedqualityCmaintenanceA Dockerized Python MCP server that provides tools to manage cocktail recipes, ingredients, and related operations via the Aephir/cocktail-recipes REST API, with dry-run safety defaults and automatic re-authentication.-