Petty cash logo

Petty cash

Tracks imprest cash floats with voucher entry, reconciliation, replenishment calculations, and local or hosted MCP access.

Install Petty cash

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "petty-cash": {
      "command": "npx",
      "args": [
        "-y",
        "@theluckystrike/mcp-petty-cash"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio petty-cash -- npx -y @theluckystrike/mcp-petty-cash

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @theluckystrike/mcp-petty-cash

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The petty cash MCP server manages imprest-system cash floats, vouchers, top-ups, counts, and replenishment calculations. It records all amounts as integer minor units and returns journals and expense payloads without posting them elsewhere. Run it locally with Node or connect to the hosted streamable-HTTP endpoint using a bearer token. Reach for it when an agent needs to track a cash tin, reconcile counted cash against records, or calculate the amount needed to restore the imprest.

Use cases

  • Open an imprest cash float with a custodian and currency
  • Record receipts and cash top-ups for a petty cash tin
  • Reconcile counted cash against the expected balance
  • Calculate the payment needed to replenish a float
  • Review unreconciled vouchers and historical cash differences

Key features

  • Imprest float management
  • Voucher ledger with deletion for uncounted entries
  • Cash-count reconciliation
  • Replenishment and double-entry calculation
  • Per-category expense payloads
  • Local JSON storage and hosted HTTP access

Tools8

What Petty cash lets your agent do. Expand a tool for its parameters.

Self-reported~233 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 55d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · @theluckystrike/mcp-petty-cash (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads373Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed8Callable tools this server registers over MCP.

How Petty cash works

What petty cash does

The petty cash MCP server keeps a petty cash book for floats operated under the imprest system. A float has a name, currency, imprest amount in minor units, and custodian. The server assigns identifiers such as FLOAT-YYYY-NNNN for floats and VOU-YYYY-NNNN for vouchers.

It records cash entering the tin, vouchers paid from it, and physical cash counts. Reports show the balance against the imprest, vouchers that have not been reimbursed or reconciled, the most recent count, and the history of differences found during counts.

The server does not post transactions to an accounting system. Instead, it returns an opening journal, a double-entry replenishment, and per-category expense_add data for another process or person to use.

How it works

Open a float with float_open, then use voucher_add for each payment from the tin. Voucher fields include the amount, date, category, description, payee, and receipt reference. An incorrectly entered voucher can be removed with voucher_delete while it remains uncounted.

Use topup_record when cash is added to the tin. The operation records the amount, date, and source, and marks vouchers through that date as reimbursed. reconcile compares the expected balance with the counted cash, reports the difference and vouchers covered by the count, and marks those vouchers reconciled.

replenish_request calculates what is needed to restore the float to its imprest amount. Its result includes the covered vouchers, category totals, and accounting entries, but it writes nothing. This calculation uses the actual balance, so a cash shortage or overage is not silently treated as an expense category.

Setup and configuration

You can use the hosted streamable-HTTP endpoint at https://mcp.zovo.one/mcp/petty-cash. Obtain a token from the connect or token endpoint, then send it as an Authorization: Bearer header. Clients that cannot set headers can use the token-path form instead. Calls without a token receive an authorization failure.

For local use, clone the repository, run npm install && npm run build, and configure the MCP client to launch node with the built dist/index.js path. A downloadable .mcpb bundle is also available for Claude Desktop. The package is not currently published to npm, so an npx installation does not work.

Local data is stored under ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/petty-cash/ in floats.json, vouchers.json, and counter.json. The local implementation makes no network calls and verifies license keys offline.

Tools and capabilities

  • float_open: Create an imprest float and return its opening journal.
  • topup_record: Record cash entering the tin and mark applicable vouchers reimbursed.
  • voucher_add: Add a payment voucher and return its identifier.
  • voucher_delete: Remove an uncounted voucher entered incorrectly.
  • reconcile: Record a cash count and identify the difference and covered vouchers.
  • replenish_request: Produce replenishment amount, category payload, and double entry without writing changes.
  • float_report: Return balances, unreconciled vouchers, last count, and difference history.
  • license_status and license_activate: Inspect or activate the server license.

Limitations and notes

All amounts use integer minor units. The free tier supports one float and 20 vouchers per calendar month; reconciliation, deletion, and top-up recording remain available, while replenishment requests and reports require Pro. Pro removes the float and voucher limits and enables those additional operations.

The server stores and calculates records but does not connect to, or post into, another bookkeeping system. Hosted use sends requests to the hosted endpoint, while the local version keeps its data on the machine.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Petty cash

petty cash is an MCP server that connects an AI client to a local or hosted imprest cash ledger. Its main tools open floats, add and delete vouchers, record top-ups, reconcile counted cash, generate replenishment requests, and report balances. It returns journals and payloads but does not post transactions elsewhere.

Install it by cloning the repository and running `npm install && npm run build`, then launch the built `dist/index.js` with your MCP client. Claude Desktop can also use the downloadable `.mcpb` bundle. The npm package is not currently available, so `npx` installation fails.

Yes, petty cash works with Cursor through its MCP configuration. Add the server entry to the global `~/.cursor/mcp.json` or a project-level `.cursor/mcp.json`. You can point Cursor to the locally built Node entry point or configure the hosted endpoint with its token.

It calculates replenishment from the amount needed to restore the float to its imprest balance, rather than simply adding voucher totals. The response lists covered vouchers, category totals for an `expense_add` payload, and a double-entry journal, but does not write any transaction.

The local server stores data under `${XDG_DATA_HOME:-~/.local/share}/mcp-servers/petty-cash/`. Its files are `floats.json`, `vouchers.json`, and `counter.json`. The local implementation does not make network calls, while the hosted option uses the remote MCP endpoint.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPetty cash AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/petty-cash?style=directory)](https://allmcps.com/mcp/petty-cash)
HTML Embed
<a href="https://allmcps.com/mcp/petty-cash"><img src="https://allmcps.com/api/badge/petty-cash?style=directory" alt="Petty cash on AllMCPs" /></a>