Skip to main content
Glama

13-Week Cash Flow Forecast

Answers the question people actually open a cash flow tool to ask: which week does the cash go negative, and by how much?

Six figures in — opening cash balance, expected receipts, supplier payments, payroll, loan instalments, and VAT or taxes due. Out comes the 13-week grid, the break-even week, the peak funding need across the period, the levers that would move the date, and a live Excel workbook with real formulas you can keep working in.

Don't know your receipts? Give revenue and DSO instead and it converts. Same for purchases and DPO on the payables side. One number per line if your weeks are flat, thirteen if you have the detail.


Three ways to use it

1. Desktop extension — nothing leaves your machine

The best version, and the one to pick if the figures are a client's. The server runs locally and writes the workbook straight to your disk. No account, no token, no upload.

Download cashflow13-*.mcpb from Releases, then in Claude Desktop: Settings → Extensions → drag the file in.

2. Remote server — the shortest path

No account and no token. In Claude Desktop, Settings → Connectors → Add custom connector:

https://mcp.chiriba.it/mcp

In Claude Code:

claude mcp add --transport http cashflow13 https://mcp.chiriba.it/mcp

Listed in the official MCP registry as it.chiriba/cashflow13.

3. Apify Actor

Apify Standby requires your own Apify API token — that is the platform's rule, not ours. Append it to the URL:

https://ledgerworks--cashflow13.apify.actor/mcp?token=YOUR_APIFY_TOKEN

If you would rather not have an account at all, use one of the two above.


Related MCP server: TreasuryOS

What it gives back

  • the week-by-week grid with the closing cash balance

  • the first week the balance turns negative, and the shortfall in that week

  • the peak funding need over the 13 weeks — the cumulative low point, which is a different number from the first shortfall, and the one your bank will ask for

  • levers, each with the weeks it buys and the change in funding need: collecting 15 days earlier, paying suppliers 15 days later, moving payroll a week

The levers never make an outflow disappear. Moving payroll a week pushes the last payment past week 13, and the answer says so — deferred, not saved.

The workbook

Yellow cells are inputs. Everything else is a formula. Change a weekly figure and the grid, the break-even week and the funding need all move; change the start date in one cell and all thirteen weeks follow. It recalculates on open, because no cached values are written — it is the model, not a picture of one.

Weeks end on Friday by default: US practice, and where payroll and bank cut-offs fall. Configurable, and written into the workbook header so whoever receives the file knows what convention they are reading.

Your figures

No database, no history, no account, nothing kept.

  • Desktop extension — the numbers never leave your computer.

  • Remote server — the workbook is held in memory for 60 minutes, never written to disk, then forgotten.

  • Apify — the workbook sits on Apify's storage for at most 20 minutes, then is deleted whether it was downloaded or not.


Development

npm install
npm test          # tests are written before the code
npm run typecheck
npm run build
npm run bundle    # builds the .mcpb desktop extension
npm run release   # full release chain; stops before anything leaves the machine

Path

What lives there

src/engine/calendar.ts

The 13 week-ending dates, all in UTC

src/engine/plan.ts

The grid, the first negative week, the peak funding need

src/engine/levers.ts

What would move the date

src/engine/working-capital.ts

Revenue + DSO → weekly receipts

src/excel/workbook.ts

The live workbook

src/delivery/

How the file reaches you, and why each way exists

src/i18n/strings.ts

The localization table. Every user-facing label.

Rules that shaped this

  • No user-facing string is hardcoded — it goes in the localization table, in English and Italian. A test fails if a key is missing a language, or if an Italian string is a copy-paste of the English.

  • Tests before code. For a financial tool, correctness is the product. A balance of exactly zero is not negative. Money rounds to the cent at every step, because 0.1 + 0.2 does not make 0.3 and a plan that says "you are overdrawn" when you are not is worse than no plan.

  • No storage. That is also the GDPR answer.

  • One engine, many tools. The next tools are new functions on this server, not new projects.

Licence

Business Source License 1.1. In plain terms:

  • Use it for anything, including your own professional work — an accountant or controller running this for a client, and billing that client, is fine.

  • You may not hand it to third parties for a fee so they can use it themselves — not as a product, not as a hosted service, not embedded in other software.

  • Four years after each version is published, that version becomes Apache 2.0 and the restriction lapses.

Not OSI-approved, deliberately: the tool is free to use and stays free to use, but the option to charge for it later is kept open. For other arrangements: info@chiriba.com.

F
license - not found
-
quality - not tested
A
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    An MCP server for manipulating Excel files that features a headless engine for real-time formula calculation and data validation. It enables users to create, read, and manage workbooks, sheets, and charts without requiring Microsoft Excel installed.
    Last updated
    40
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    An AI-powered treasury management MCP server that enables users to perform commercial banking analysis, including cash flow forecasting, idle cash detection, and debt covenant monitoring. It provides tools to surface financial insights and optimize working capital through automated processing of bank and transaction data.
    Last updated
    9
  • F
    license
    -
    quality
    A
    maintenance
    Financial model factory MCP server: turns a spec into a live-formula Excel workbook. 14 templates (LBO, DCF, M\&A, IPO, restructuring, project finance, NPL, structured credit, 3-statement) with every cell formulated and every number source-traced to its document page.
    Last updated
    1

View all related MCP servers

Related MCP Connectors

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • Hosted MCP server for Mini Accountant: invoices, expenses, customers, analytics, tax estimates.

  • MCP Server for agents to onboard, pay, and provision services autonomously with InFlow

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ledgerworks-io/cashflow13'

If you have feedback or need assistance with the MCP directory API, please join our Discord server