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 分