Price List

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

Keep one price list: a price per SKU, per currency, per tier, from the day it applies.

发布方自己的服务:PriceWin

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

概览

AI 生成的概览

本地价目表服务器,按币种、价格层级和生效日期保存 SKU 价格与角色费率,并为发票和报价行项目计价。

可以做什么
新增、改价、查询、列出和删除 SKU 目录行,价格以最小货币单位记录,可按币种、层级和生效日期区分,并查看后续已登记价格与按代码前缀筛选。设置和读取角色费率卡上的小时费率,可绑定到某个 SKU。把一组 SKU 与角色行解析为可直接用于创建发票和创建报价的参数,并分别标明数值刻度。按币种和层级把价目表导出为纯文本或 A4 PDF,并生成目录报告,统计生效行、已被替换的行和缺少价格的项。查询或激活免费版与 Pro 版许可证。
适用场景
当助手需要一份带生效日期的统一商品价格与人工费率来源,并要把客户清单转成已计价的发票或报价行项目、且不能猜测价格或换算币种时使用。
运行要求
作为本地进程在用户机器上运行,仅限桌面端。npm 包尚未发布,目前可用 .mcpb 一键包或克隆后自行构建安装。数据保存在本地用户数据目录。可选的 Pro 许可证密钥通过环境变量 MCP_LICENSE_KEY 提供。
安装前请注意
Pro 功能(额外价格层级、PDF 价目表、目录报告)需要付费的一次性许可证,密钥离线校验。工具会在本地写入、替换和删除目录数据,对已存在的键设置价格行会覆盖原行。不进行任何币种换算,缺少价格时报告为无价格而非换算。服务器会读取其数据目录之外的共享业务资料文件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Price List,将其添加到工作区。
  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,提交 1bd9d69

工具

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

版本历史

2
  1. v0.22.5最新Oct 14, 2026
  2. v0.21.0Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

其他 Price 集成