CellarTracker
v0.5.5Read-only access to your CellarTracker wine cellar: inventory, drinking windows, purchases, notes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search-cellar
Search your wine cellar by name, color, region, varietal, location, or vintage range. The region parameter searches across Country, Region, SubRegion, Appellation, and Locale fields. Returns matching wines with details, up to 25 per page — pass offset to page through more.
| Parameter | Type | Description |
|---|---|---|
color | string | Filter by color (Red, White, Rosé) |
location | string | Storage location |
offset | number | Result offset for pagination (default 0) |
query | string | Wine name search term |
region | string | Region, country, or appellation |
varietal | string | Grape varietal |
vintage_max | number | Maximum vintage year |
vintage_min | number | Minimum vintage year |
drinking-recommendations
Get wine drinking recommendations sorted by urgency. Orders wines by their listed drinking window: past the window first, then in the final year, then the rest of the window (earliest end first), then not yet open. Status describes the listed window only; CellarTracker's drinkability index (a bottle-count pacing number, not a maturity measure) is reported separately and only breaks ties. Optionally filter by color.
| Parameter | Type | Description |
|---|---|---|
color | string | Filter by color |
max_results | number | Maximum results (default 10) |
occasion | string | Occasion description |
cellar-stats
Get cellar statistics: total bottles, value, unique wines, and optional breakdowns. Valid group_by options: color, country, region, varietal, location, bin, category.
| Parameter | Type | Description |
|---|---|---|
group_by | string | Breakdown dimension |
purchase-history
Search purchase history with spending summary. Filter by wine name, store, or date range (YYYY-MM-DD format). Shows total spent, average price, per-store breakdown, and recent purchases.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Start date (YYYY-MM-DD) |
date_to | string | End date (YYYY-MM-DD) |
query | string | Wine name search |
store | string | Store name filter |
recent-deliveries
List wines actually delivered (received) in a date range, keyed on DeliveryDate. Defaults to the last 30 days. Use this for 'what just landed', unlike purchase-history which keys on order date.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Start delivery date (YYYY-MM-DD). Defaults to 30 days ago. |
date_to | string | End delivery date (YYYY-MM-DD). Defaults to today. |
store | string | Store name filter |
incoming-orders
List wines ordered but not yet received, from the Pending table. Sorted oldest order first. Use this for 'what's on the way', unlike recent-deliveries which shows what has already arrived.
| Parameter | Type | Description |
|---|---|---|
store | string | Store name filter |
bottle-details
Look up individual bottles from the Bottles table — the per-bottle view spanning both in-cellar and consumed bottles, with barcode, exact location/bin, and size. Filter by wine name, location, bin, size, or barcode; set state to 'cellar' (default 'all' includes consumed). If the user attaches a photo of a bottle or its barcode, read the barcode digits from the image and pass them as the barcode filter. Location and Bin are account-specific labels, not physical descriptions — if a location/bin filter finds nothing, use cellar-stats with group_by=location or group_by=bin to see the actual va…
| Parameter | Type | Description |
|---|---|---|
barcode | string | Bottle barcode — e.g. read from a photo |
bin | string | Specific bin/position (e.g. 'Drawer 2', '1-3') |
location | string | Storage location (e.g. 'Wine Fridge') |
max_results | number | Maximum results (default 25) |
offset | number | Result offset for pagination (default 0) |
query | string | Wine name search term |
size | string | Bottle format (e.g. '750ml', '1500ml') |
state | string | Which bottles: 'cellar', 'consumed', or 'all' (default) |
get-wishlist
View your CellarTracker wishlist wines. Optionally search by wine name, region, or varietal.
| Parameter | Type | Description |
|---|---|---|
query | string | Search term |
consumption-history
Search your consumption history — wines you've opened and drunk. Filter by wine name, color, or date range. Returns most recent consumptions first with tasting context, up to max_results per page (default 25) — pass offset to page through more.
| Parameter | Type | Description |
|---|---|---|
color | string | Filter by color (Red, White, Rosé) |
date_from | string | Start date (YYYY-MM-DD) |
date_to | string | End date (YYYY-MM-DD) |
max_results | number | Maximum results (default 25) |
offset | number | Result offset for pagination (default 0) |
query | string | Wine name search term |
tasting-notes
Search your tasting notes and reviews. Filter by wine name, color, or minimum rating. Returns notes with ratings, scores, and tasting details, up to max_results per page (default 25) — pass offset to page through more.
| Parameter | Type | Description |
|---|---|---|
color | string | Filter by color (Red, White, Rosé) |
max_results | number | Maximum results (default 25) |
min_rating | number | Minimum rating filter |
offset | number | Result offset for pagination (default 0) |
query | string | Wine name search term |
refresh-data
Force refresh all CellarTracker data from the server. Downloads fresh CSV exports for all 8 tables regardless of cache age.
setup-credentials
Set up or update your CellarTracker login credentials. Validates credentials against CellarTracker before saving. Use this if you just installed the plugin or need to change your login.
| Parameter | Type | Description |
|---|---|---|
password * | string | Your CellarTracker password |
username * | string | Your CellarTracker username |
clear-user-data
Remove stored CellarTracker credentials and cached wine data from this machine. Use this to fully disconnect your account or free up disk space.
| Parameter | Type | Description |
|---|---|---|
clear_cache | boolean | Delete cached CSV exports (default true) |
clear_credentials | boolean | Delete saved credentials (default true) |