
Cash Float
io.github.theluckystrike由 GitHub 帳號 theluckystrike 發布v0.22.5更新於 Oct 24, 2026
Run a cash float: record what was paid out, count the tin, and raise the top-up.
概覽
本機 MCP 伺服器,依定額零用金制度管理零用金:開立零用金、登錄憑單、盤點現金並計算補足金額。
- 可以做什麼
- 依定額金額、幣別和保管人開立零用金,並登錄投入錢箱的現金,同時把先前的憑單標記為已報銷。新增憑單,或在尚未盤點前刪除登錄錯誤的憑單,記錄金額、日期、類別、受款人和收據編號。透過盤點現金進行對帳,回傳應有餘額、差額以及本次盤點涵蓋的憑單。計算補足申請,給出金額、涵蓋的憑單、依類別彙總的費用資料和複式記帳分錄,但不向任何地方過帳。產生零用金報告,包含餘額與定額的比較、未對帳憑單、最近一次盤點以及歷次差額紀錄。查詢或啟用授權。
- 適用情境
- 適合管理零用金箱的小型辦公室、團隊或單人保管人,希望由助理登錄憑單、核對帳面與實盤現金,並為記帳人員準備補足金額。
- 執行需求
- 以本機程序在桌面端執行。README 說明 npm 套件尚未發布,因此可用的安裝方式是 .mcpb 安裝包或複製後自行建置。資料保存在使用者本機資料目錄。不需帳號、API 金鑰或網路呼叫;選用的 Pro 授權金鑰透過 MCP_LICENSE_KEY 環境變數提供,並離線驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Cash Float,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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:
Claude Code
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (project), same entry as Claude Desktop.
Tools
Free vs Pro
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:
- Docs MCP URL: https://gitmcp.io/theluckystrike/mcp-petty-cash
來源:servers/petty-cash/README.md,提交 1bd9d69
工具
0版本歷史
2- v0.22.5最新Oct 14, 2026
- v0.21.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分