CellarTracker

io.github.slavins-co由 GitHub 账号 slavins-co 发布v0.5.4更新于 Oct 28, 2026

Read-only access to your CellarTracker wine cellar: inventory, drinking windows, purchases, notes.

概览

AI 生成的概览

只读的 MCP 服务器,让助手查询你自己的 CellarTracker 酒窖:库存、适饮期、购买记录、品酒笔记和心愿单。

可以做什么
  • 搜索与查看酒窖:按名称、颜色、产区、葡萄品种、存放位置或年份查找酒款,并按酒柜、瓶型或条码定位单瓶
  • 获取按适饮期紧迫度排序的开瓶建议,以及藏品统计与多维度分类汇总
  • 查看购买与历史:按商店或日期统计花费、近期到货、在途订单、饮用记录和品酒笔记
  • 读取心愿单(含添加理由与最高价),强制刷新数据,并设置或清除已保存的登录凭据
  • 以资源形式读取缓存的表格导出,便于不受单次结果上限限制地做批量分析
适用场景
适合在 CellarTracker 中管理酒窖、希望用对话方式了解该开哪瓶、花了多少钱、哪些还在路上或喝过什么的人,无需手动导出 CSV。
运行要求
以 npm 包 cellartracker-mcp 通过 stdio 在本机运行(需要 Node.js)。需要 CellarTracker 用户名和密码,可通过环境变量 CT_USERNAME 与 CT_PASSWORD 提供,或用 setup-credentials 工具保存;桌面扩展在安装时提示输入并存入系统钥匙串。需要能访问 CellarTracker 的网络。
安装前请注意
CellarTracker 没有 OAuth 或受限令牌,服务器使用你的完整账户密码认证,密码以 URL 查询参数发送,可能被 CellarTracker 服务器端访问日志记录,请使用独立密码。Claude Code 插件把凭据以明文保存在本地 .env 文件中;通过 setup 工具输入的凭据会作为对话内容经过 Anthropic 的服务器。它只做读取操作,但会在本地缓存你的酒窖数据,并可清除该缓存与凭据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CellarTracker,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

CellarTracker MCP

Disclaimer: This is a community-maintained project with no affiliation to, or endorsement by, CellarTracker! LLC. It uses CellarTracker's self-serve data export on your own account's behalf.

Connect Claude to your CellarTracker wine cellar. Query your inventory, get drinking recommendations, and analyze purchases and drinking history, all through natural conversation. No need to refresh your inventory, or share your tasting notes. Claude pulls them directly from your CellarTracker account.

Install

Two install methods for different Claude interfaces. You may need one or both:

Desktop Extension (.mcpb)Claude Code Plugin
Works inChat (Desktop), CoworkCowork, Code
Tools11 cellar toolsAll 13 tools (includes setup-credentials and clear-user-data)
SkillsNoYes
SetupOne-click downloadMarketplace or CLI
CredentialsPrompted on install, stored in OS keychainRun setup-credentials after install

Which do I need?

  • Chat (Desktop) only → Desktop Extension
  • Code only → Claude Code Plugin
  • Cowork only → Either works (plugin adds skills)
  • Full coverage → Install both

Installing both is safe. The extension covers Chat (Desktop); the plugin covers Cowork and Code. In Cowork, both are accessible without conflict. Note, there is no coverage for claude.ai web chat sessions.

Desktop Extension (Chat & Cowork)

One-click install. No terminal needed.

  1. Download cellartracker-mcp.mcpb from the latest release
  2. Double-click the file to install in Claude Desktop
  3. Enter your CellarTracker username and password when prompted
  4. Start chatting (e.g. "What wines should I open this month?")

Credentials are stored in your OS keychain (macOS Keychain / Windows Credential Manager). To update them later, go to Customize > Connectors > CellarTracker.

Claude Code Plugin (Cowork & Code)

Full experience with tools and skills.

Via Desktop app
  1. Open the Code tab > Customize > Browse plugins > Personal > + > Add marketplace from GitHub > enter slavins-co/cellartracker-mcp
  2. Find "CellarTracker MCP" in the plugin browser and click Install
  3. Set up credentials immediately: In a new Code or Cowork session, say "Set up my CellarTracker credentials"
Via terminal

Step 1: Add the marketplace

/plugin marketplace add slavins-co/cellartracker-mcp

Step 2: Install the plugin

/plugin install cellartracker-mcp@cellartracker-mcp

Step 3: Set up credentials immediately — say:

"Set up my CellarTracker credentials"

Claude will verify and save them. No restart needed. Without credentials, tools will return errors and skills won't have data to work with.

Alternative: Set CT_USERNAME and CT_PASSWORD as environment variables in your shell profile.

Credentials are stored only on your machine. When using the setup tool, they pass through Anthropic's servers as part of the conversation. They are sent to CellarTracker's servers for authentication.

What you can do

ToolWhat it does
setup-credentialsConnect your CellarTracker account (Claude Code plugin only — Desktop Extension handles credentials during install)
search-cellarFind wines by name, color, region, varietal, location, or vintage
drinking-recommendationsWines to open now, sorted by drinking window urgency
cellar-statsCollection overview — totals and breakdowns by any dimension
purchase-historySpending analysis by store, date range, or wine
recent-deliveriesWines actually received in a date range, by delivery date (not order date)
incoming-ordersWines ordered but not yet received — what's on the way
get-wishlistYour wishlist with notes on why each wine was added and a max price
consumption-historyWines you've opened — by name, color, or date range
tasting-notesYour tasting notes and reviews with ratings and scores
bottle-detailsFind individual bottles by name, location, bin, size, or barcode — cellar and consumed
refresh-dataForce a fresh pull (auto-refreshes every 24 hours)
clear-user-dataRemove stored credentials and cached data from this machine (Claude Code plugin only)

Every tool returns structured JSON alongside its readable text, so clients can compute over results directly. List tools support offset pagination past the 25-per-page cap.

Resources

For bulk analysis without per-tool result caps, the server also exposes the cached table exports as MCP resources: cellartracker://tables/<Table> (raw CSV, one per table — List, Notes, Purchase, Consumed, Availability, Tag, Bottles, Pending) and cellartracker://meta/cache (JSON freshness timestamps per table plus the server version, readable without credentials).

Included skills

Note: Skills are available in Cowork and Code modes via the Claude Code plugin. Chat mode (Desktop Extension) provides tools only.

cellartracker-data — Teaches Claude to interpret CellarTracker data: table relationships, score abbreviations, drinking windows, and query routing.

wine-purchase-evaluator — Framework for evaluating wine purchases. Two-score system (Quality + Personal Fit) with BUY/CONSIDER/PASS verdicts. Checks your cellar for redundancy, verifies pricing, and applies drinking window discipline.

To customize the evaluator for your preferences, copy skills/wine-purchase-evaluator/references/preferences-example.md to preferences.md in the same directory and edit it.

How it works

CellarTracker has no official API. This server uses their CSV export endpoint, which authenticates with your username and password over HTTPS. Data is cached locally and auto-refreshes every 24 hours.

The server can only access your data — inventory, purchases, notes, and wishlist. It cannot search CellarTracker's full wine database.

Security & credentials

CellarTracker API limitations

CellarTracker has no OAuth, API keys, or scoped tokens. Authentication requires your actual account username and password, sent as URL query parameters over HTTPS. While encrypted on the wire, query parameters are routinely logged in server-side access logs on CellarTracker's infrastructure. There is no way to create read-only or limited-access credentials, therefore, this MCP only performs read operations, but it authenticates with your full account.

How this server protects your credentials

ProtectionDetails
File permissionsConfig directory 0700, .env file 0600 — only your OS user can read
Error strippingNetwork errors are caught and re-thrown without the URL, which contains credentials
No loggingCredentials never appear in stdout, stderr, or error messages
OS keychainDesktop Extension (.mcpb) stores credentials in macOS Keychain / Windows Credential Manager
Env var supportSet CT_USERNAME / CT_PASSWORD environment variables to avoid storing credentials on disk

The Claude Code plugin stores credentials as plaintext in ~/.config/cellartracker-mcp/.env. We evaluated OS keychain integration (#22) and decided against it. The native dependency cost (node-gyp / keytar) outweighs the security benefit for wine cellar data, and the Desktop Extension path already uses the OS keychain.

Recommendations

  • Use a unique password for CellarTracker. Do not reuse a password from other services.
  • Prefer environment variables over the setup-credentials tool if you want to avoid persisting credentials to disk.
  • Pin to a specific version in your MCP config (e.g., [email protected]) rather than relying on @latest.

Development

For contributors or anyone who wants to run from source:

bash
git clone https://github.com/slavins-co/cellartracker-mcp.gitcd cellartracker-mcpnpm installnpm run build
# Set credentialscp .env.example .env# Edit .env with your CT login
# Test as Claude Code pluginclaude --plugin-dir .

npx local-resolution footgun

If you run npx -y cellartracker-mcp (e.g. via an MCP client config) with your working directory inside a local checkout of this repo, npm can resolve the bare package name to that local folder instead of downloading it from the registry — so whatever is on disk in dist/ gets served, not the published version. npm install/npm ci now runs a prepare script that rebuilds dist/ automatically, so a fresh clone is always current. But if you edit src/ directly and don't run npm install or npm run build again, dist/ will silently go stale — the server keeps running the old compiled code with no error. If output looks wrong while developing, rebuild (npm run build) before assuming the bug is in src/.

AI Disclosure

This project was developed with AI assistance.

Trademark Disclosure

This project is in no way affiliated or connected to CellarTracker! LLC. "CellarTracker" is a trademark of CellarTracker! LLC.

License

MIT

来源:README.md,提交 d80f131

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

4
  1. v0.5.4最新Oct 13, 2026
  2. v0.5.2Oct 7, 2026
  3. v0.5.1Sep 30, 2026
  4. v0.5.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分