Rate Card

io.github.theluckystrike由 GitHub 账号 theluckystrike 发布v0.22.6更新于 Oct 24, 2026

Hourly rates by role and date, priced into invoice and quote lines without retyping.

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

本地价目表服务器,按日期保存 SKU 价格与角色时薪,并据此为发票和报价单行项目计价。

可以做什么
按币种、价格层级和生效日期设置、调价、查询、列出和删除 SKU 价格(以最小货币单位计),未知编码或早于所有价格的日期会被拒绝。设置和读取角色时薪卡,可绑定到某个 SKU。一次调用把 SKU 与角色行项目计价为可直接用于发票和报价单的载荷,并按各自要求的单位刻度生成。将价目表导出为纯文本,Pro 版可导出 A4 PDF,并生成目录报告(生效行、被替换行、缺少价格的行)。查询或激活 Pro 许可证。
适用场景
适合助手协助制作发票或报价单、且价格必须来自持续维护且带生效日期的价目表而非重新输入或猜测的场景。适用于有固定价目表和随时间调整人工费率的小型企业。
运行要求
作为本地进程在用户机器上运行(仅桌面端)。README 说明 npm 包尚未发布,目前可用 .mcpb 一键包或克隆后构建安装。数据保存在本地用户数据目录。可选的 MCP_LICENSE_KEY 用于启用 Pro 功能;无需网络访问。
安装前请注意
Pro 功能(额外价格层级、PDF 价目表、目录报告)需要以 MCP_LICENSE_KEY 输入付费的一次性许可证密钥。工具会在本地写入、调价和删除价目数据;对已存在的键设置价格行会覆盖原行。该服务器本身不创建发票或报价单,并以只读方式读取共享业务配置文件。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-catalogue

In the official MCP Registry (io.github.theluckystrike/catalogue). One price list and one rate card, kept where the invoice and the quote can both read them. Give a product a code, a name, a unit and a price in minor units, with the day that price comes into force. Give a role an hourly rate the same way. Then hand the catalogue a list of what a customer had, and it hands back the line items already priced: the quantity, the description, the unit price and the VAT rate, in the exact argument shape invoice_create takes and in the exact argument shape quote_create takes.

Nothing is invented and nothing is stored twice. A SKU holds its price ROWS, each with a valid-from date; the price on a date is worked out on the call, so raising a price in July does not rewrite what June's job was quoted at. An unknown code comes back as a refusal naming the code, never as a guessed price.

npm publish for @theluckystrike/mcp-catalogue is pending, so npx -y @theluckystrike/mcp-catalogue returns 404 today. Until then, the .mcpb one-click bundle or a clone+build is the working path.

Install

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "catalogue": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-catalogue"]    }  }}

Claude Code

sh
claude mcp add catalogue -- npx -y @theluckystrike/mcp-catalogue

Cursor

~/.cursor/mcp.json (global) or .cursor/mcp.json (project), same entry as Claude Desktop.

Tools

ToolWhat it does
sku_setAdd a catalogue line or reprice one: code, name, unit, optional VAT rate, and a price in minor units for one currency, tier and valid-from date
sku_getThe price of one SKU as of a date, naming the row it came from and any later price already booked
sku_listThe catalogue with the price in force, filtered by code prefix, currency and tier
sku_deleteDelete a line raised by mistake. Only one nothing depends on. Free on every tier
rate_setSet an hourly rate on a role's rate card, from the day it applies, optionally bound to a SKU
rate_getThe hourly rate for a role as of a date, or every rate card
lines_resolvePrice a list of sku and role lines into invoice_create-ready and quote_create-ready items
price_list_textThe price list as plain text: prices in force, valid-from dates, then the labour rates
price_list_pdfThe price list as an A4 PDF, per currency and tier
catalogue_reportSKUs, rows in force, rows a later row already replaces, rows with no price in the default currency
license_status / license_activateFree or Pro, and where to upgrade

Free vs Pro

FreePro
SKUs in the catalogue25unlimited
Price rows per SKU100100
Rate cardsunlimitedunlimited
Set, price, list, resolve linesyesyes
Price list (text)yesyes
Delete an unused SKUyesyes
Price tiers beyond standardnoyes
Price list (PDF)noyes
Catalogue reportnoyes

Get Pro: https://mcp.zovo.one/buy/catalogue ($19 one-time for this server, $39 for all of them, lifetime). Keys are verified offline; nothing is sent anywhere.

Where the price comes from

A price row is (currency, tier, valid_from, amount). The price on a date is the latest valid_from at or before that date, for that currency and that tier. Setting a row on a key that already exists REPLACES it, so two rows can never share one key and "the price that day" is never a coin toss. A date before every row has no price and is refused; a price that did not exist yet is not a price.

Nothing here converts a currency. A EUR price shown under a PLN heading would be an invented number, so a SKU with no price in the currency you asked for is listed as having none, and catalogue_report counts them.

The measured insight

The two servers this catalogue feeds take the same price in different scales, and the gap is exactly 100x. invoice_create's item carries unit_price in MAJOR units ("Price per unit in major units, e.g. 90 for 90 EUR", servers/invoice/src/index.ts); quote_create's item carries unit_price_minor in MINOR units ("9000 = 90.00 EUR, 90 = JPY 90. Never a decimal", servers/quotes/src/index.ts). Both fields are called the unit price, both take a plain number, and neither tool can tell that the number it was handed was scaled for the other one: 45000 passed as unit_price is a valid invoice line for EUR 45,000.00.

Measured on the worked resolution in test/unit.test.mjs: the correct payload nets EUR 2,613.63, and the same items with the quote server's field fed into the invoice server's engine net EUR 261,363.00, which the suite asserts is exactly 100x. In a 3-decimal currency such as KWD it is 1000x. So the catalogue stores minor units, which is the only lossless form, and builds BOTH payloads itself in one call, printing the scale against each. That is the whole reason lines_resolve returns two payloads instead of one "price" the caller reshapes.

The second half of that: every stored price is a whole number of minor units, so invoice_create's own computeTotals rounds the major-unit form straight back to the integer it came from. rounding_drift_minor on a resolution is zero by construction and the suite asserts it, which is the machine-checkable form of "the invoice will show the figure the price list showed".

Privacy

All data stays local: ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/catalogue/. No network call is made by any tool. The only file outside that directory this server touches is the shared business profile, read-only, for the default currency, the default VAT rate and the name at the top of the price list. It creates no invoice and no quote.

Built by theluckystrike.

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

来源:servers/catalogue/README.md,提交 6535b33

工具

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

版本历史

3
  1. v0.22.6最新Oct 14, 2026
  2. v0.22.3Sep 23, 2026
  3. v0.21.0Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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