tiedout: bank reconciliation for CSV files
[npm] [CI] [MIT license] [MCP Registry]
Match your bank statement to your invoices or bills, with exact math and without uploading your books anywhere. For small businesses, freelancers and bookkeepers.
Reconciling payments by hand is slow, and asking an AI model to compare long CSV files invites arithmetic mistakes. tiedout does the matching in code and sorts every line into matched, likely, review or unmatched, with the reason. A person or an agent only has to look at the exceptions. It's an MCP server and a CLI with no account, no API key and no network access.
It works with any bank or invoicing tool that exports CSV. It reads title lines, footers, separate credit and debit columns, semicolons, decimal commas, day-first dates and several languages' column names.
What you can ask your agent
- "Here's my bank export and my invoices. Who has paid?"
- "Which customers still owe me money?"
- "Match these supplier bills to my bank statement."
- "Are there any duplicate payments, or payments with no invoice?"
Install
As a Claude Code plugin, which adds the MCP server and a skill that tells Claude when to use it:
For other MCP clients, run it from npm. You need Node 22.19 or newer:
Usage
Try it on the sample files in examples/. All the names in them are made up.
Use --payable to match money out to bills. Run tiedout with no arguments to see all options, including --json and naming columns by hand.
How it decides
It never breaks a tie, and it never reports a row as gone without saying why.
MCP tools
Both are read-only. reconcile_match returns names and amounts from your files to the MCP client, so they reach whichever AI model you use. The tiedout CLI keeps everything on your machine.
Limits
- This helps with bookkeeping and isn't accounting advice. Check results before relying on them.
- It reads CSV only, so PDF statements need converting first.
- It assumes two decimal places and doesn't convert currencies. Lines in different currencies never match.
- It treats each file as the full list of open items. It doesn't track partial payments across runs.
- So far it has been tested on made-up data in common export formats, not on every bank's real exports. If yours fails, please open an issue with the column headers, not your data.
FAQ
How do I reconcile a bank statement with invoices automatically? Export both as CSV and run npx tiedout match bank.csv invoices.csv. Matches come out with the reason, and anything uncertain goes to review.
Is my financial data uploaded? The tool has no network code. The CLI keeps everything on your machine. Through MCP, results go to whichever AI model your client uses.
Does it work with QuickBooks, Xero or my bank? It reads CSV exports rather than connecting to them. Most accounting tools and banks can export CSV. It hasn't been tested on each one's real exports yet.
Can it match accounts payable? Yes. Use --payable to match money out to bills.
Contributing
Contributions are welcome, from people and from people working with AI agents. See CONTRIBUTING.md. Good first issues:
- Add column names for more languages and accounting tools
- Add
--out to write results to a CSV for a spreadsheet
- Support OFX and QIF bank files
- Track partial payments across several bank lines
- Add a plugin icon
How pull requests work
- Open a PR. Fork the repo, work on a branch, and keep it to one change. Write a title that says what changes for users, because it becomes the changelog line:
feat: goes under Added and fix: under Fixed.
- Automatic check. Code changes need tests, and
make test must pass. Changes over 30 lines need a linked open issue (Closes #<number>), and a PR can have at most 800 changed lines. If something is missing, a comment tells you what to fix.
- Review. Claude reviews each PR automatically. Code PRs also get a security review and are tested in a sandbox. The review then merges the PR or asks for changes. PRs that change CI, agent settings, npm or Python dependencies, vendored code or build files can't be merged this way, and a comment says so. The same goes for anything the security review doesn't clear.
- Release. A merge that changes what users install becomes a new version within about two hours, with a GitHub Release and, if the project has one, its npm package. Docs and CI changes wait for the next release.
AI disclosure
This project was largely generated with Claude Code and reviewed by its maintainer.
About me
I'm Giulliano Macedo, and I build developer tools at GoTech Solutions. Follow along or get in touch:
If tiedout saved you an afternoon, a star helps others find it.
MIT licensed.
Built by Giulliano Macedo, GoTech Solutions · LinkedIn · X