Imprest Account

io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.6更新於 Oct 24, 2026

An imprest account: vouchers by category, the count, and the cheque that restores the float.

已驗證STDIO僅桌面效率與工作流金融

概覽

AI 產生的概覽

本機零用金伺服器,讓助理開立定額零用金、登錄憑單與補款、核對盤點並計算補足金額。

可以做什麼
開立與追蹤零用金:依定額金額、幣別與保管人開立零用金,並登錄含日期與來源的現金補款,同時將先前的憑單標記為已核銷。登錄憑單:新增含金額、日期、類別、說明、受款人與收據編號的憑單,並在尚未盤點時刪除登錄錯誤的憑單。盤點核對:清點現金,取得應有餘額、差額以及上次盤點以來的憑單,並全部標記為已核對。計算補足:得出恢復定額所需的金額、涵蓋的憑單、依類別的費用資料與複式分錄,且不寫入任何內容。報表與授權:檢視相對於定額的餘額、未核對憑單、上次盤點與歷次差額,並查詢或啟用免費或 Pro 授權。
適用情境
當你依定額零用金制度管理一筆小額現金,希望助理登錄收據、盤點錢箱並算出補足零用金所需的支票金額,且數字交回你自己的帳務系統時使用。
執行需求
以本機程序在使用者電腦上執行,僅限桌面端。npm 套件尚未發布,目前可用 .mcpb 一鍵包或複製後自行建置安裝。資料保存在本機,無需帳號、API 金鑰或網路呼叫。可透過 MCP_LICENSE_KEY 提供選用的 Pro 授權金鑰。
安裝前請注意
免費版僅允許一個零用金帳戶和每個日曆月 20 張憑單;補足計算與報表需要付費的一次性 Pro 授權。憑單與補款會寫入本機檔案,未盤點的憑單可被刪除。不會過帳到其他系統:日記帳與費用資料只是回傳給你自行輸入。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Imprest Account,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Track a petty cash float from Claude

In the official MCP Registry (io.github.theluckystrike/petty-cash). A petty cash float, kept the way the paperwork keeps it. Open a tin with an imprest amount and a custodian, record a voucher for every receipt that comes out of it, count the cash whenever you like, and get the difference to the minor unit along with the list of vouchers that count covers. When the tin runs low it works out the replenishment: what the cheque has to be to put the float back to its imprest, which vouchers it reimburses, the totals per category as an expense_add-ready payload, and the double entry in the cash book's own account names. Every amount is an integer number of minor units, no balance is ever stored, and nothing is posted anywhere: the payload is handed back for whoever owns the books.

Built by theluckystrike.

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

Install

Claude Desktop

macOS ~/Library/Application Support/Claude/claude_desktop_config.json, Windows %APPDATA%\Claude\claude_desktop_config.json:

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

Claude Code

sh
claude mcp add petty-cash -- npx -y @theluckystrike/mcp-petty-cash

Cursor

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

Tools

toolwhat it does
float_openOpen a float on the imprest system: name, currency, imprest amount in minor units, custodian. Returns FLOAT-YYYY-NNNN and the opening journal
topup_recordRecord cash going into the tin: amount, date, source. Marks every voucher up to that date reimbursed
voucher_addRecord one voucher out of the tin: amount, date, category, description, payee, receipt reference. Returns VOU-YYYY-NNNN
voucher_deleteDelete a voucher entered wrongly, while it is still uncounted
reconcileCount the cash: the expected balance, the difference, the vouchers since the last count, all marked reconciled, and the count recorded
replenish_requestWhat restores the imprest: the amount, the vouchers it covers, the per-category expense_add payload and the double entry. Writes nothing
float_reportBalance against imprest, unreconciled vouchers, the last count, and the history of every difference a count found
license_status / license_activateFree or Pro, and the key

Free vs Pro

FreePro
Floats open1Unlimited
Vouchers a calendar month20Unlimited
Reconciliation (reconcile)UnlimitedUnlimited
Delete a voucher (voucher_delete)YesYes
Record a top-up (topup_record)YesYes
Replenishment (replenish_request)-Yes
Report (float_report)-Yes

The count is never metered. Whether the cash in the tin matches the paperwork is the question this server exists to answer, and a free tier that withholds the answer is a demo. What is metered is the volume of record keeping: a second float is a second tin, and twenty vouchers a month is a real one-tin office. voucher_delete is free for the same reason the cap is on records held: a voucher typed in twice would otherwise cost a slot with no way back but a key.

Get Pro: https://mcp.zovo.one/buy/petty-cash, $19 one-time for this server, or $39 for the bundle.

A measured insight

The cheque is not the sum of the vouchers, and the gap is invisible in the voucher trail.

The worked month in test/unit.test.mjs: a EUR 500.00 imprest, five vouchers totalling 20,194 minor units, so the paperwork says the tin holds 29,806 on the 31st. It holds 29,795. The count is short by exactly 11 minor units, eleven cents that no voucher explains and no receipt will ever be found for.

The replenishment is then 20,205, not 20,194. Reimbursing the voucher total instead is the natural thing to do, it is what the vouchers add up to, and it restores the float 11 short. The same suite runs three cycles of that: the float ends at 49,967 against a 50,000 imprest, 33 minor units light, and every one of the three reconciliations in between reported a difference of exactly 11 and nothing worse. Nothing ever looks broken. The tin just gets smaller.

That is why replenish_request computes imprest - balance and never sum(vouchers), and why the difference comes back as its own cash_over_short journal line rather than being folded into an expense category where it would look like postage.

Privacy

All data stays local, in ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/petty-cash/. Three files: floats.json, vouchers.json, counter.json. Nothing is sent anywhere, there is no account, no API key and no network call in this server at all. License keys are verified offline. The journal and the expense_add payload are returned to you; this server posts nothing into any other store.

Built by theluckystrike. https://github.com/theluckystrike

Frequently asked questions

Is there an MCP server for petty cash?

Yes. The petty-cash server at mcp.zovo.one runs a petty cash float on the imprest system: vouchers, top-ups, per-category balances and reconciliation. Free tier, hosted endpoint, local-first storage.

How do I track petty cash from Claude?

Connect https://mcp.zovo.one/mcp/petty-cash and say: 'Record a 15 EUR voucher for office supplies.' Replenishment and reconciliation are single prompts.

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/petty-cash/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 分