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.

已验证STDIO仅桌面效率与工作流金融

概览

AI 生成的概览

本地 MCP 服务器,按定额备用金制度管理零用现金:开立备用金、登记凭单、盘点现金并计算补足金额。

可以做什么
按定额金额、币种和保管人开立备用金,并登记投入钱箱的现金,同时把此前凭单标记为已报销。新增凭单,或在尚未盘点前删除录错的凭单,记录金额、日期、类别、收款人和收据编号。通过盘点现金进行对账,返回应有余额、差额以及本次盘点覆盖的凭单。计算补足申请,给出金额、覆盖的凭单、按类别汇总的费用数据和复式记账分录,但不向任何地方过账。生成备用金报告,包含余额与定额的对比、未对账凭单、最近一次盘点以及历次差额记录。查询或激活许可证。
适用场景
适合管理零用现金箱的小型办公室、团队或单人保管人,希望由助手登记凭单、核对账面与实盘现金,并为记账人员准备补足金额。
运行要求
作为本地进程在桌面端运行。README 说明 npm 包尚未发布,因此可用的安装方式是 .mcpb 安装包或克隆后自行构建。数据保存在用户本地数据目录。无需账号、API 密钥或网络调用;可选的 Pro 许可证密钥通过 MCP_LICENSE_KEY 环境变量提供,并离线校验。
安装前请注意
免费版限制为一个备用金和每自然月 20 张凭单,补足和报告仅限 Pro;Pro 为一次性付费购买。凭单可被删除,登记投入和盘点会改动已保存的记录。所有数据保存在本地文件,服务器不向任何其他系统过账,返回的分录和费用数据需由用户自行录入别处。

安装

在 SourceWeft 中

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