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 整合