Tiedout

io.github.GillMacedo由 GitHub 账号 GillMacedo 发布v0.1.1更新于 Nov 3, 2026

Match bank statements to invoices from local CSV files. Your data stays on your machine.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

在本地把银行流水 CSV 与发票或账单 CSV 进行对账,将每行归入已匹配、可能匹配、待复核或未匹配并说明原因。

可以做什么
  • 将银行流水 CSV 与发票 CSV 匹配,输出已匹配、可能匹配、待复核、未匹配的分组及各自原因
  • 检查不熟悉的银行或发票 CSV,显示识别到的列和可读取的行数,但不返回行内容
  • 指出异常情况,例如疑似重复付款、没有对应发票的付款,以及仍未结清的发票
适用场景
适合自由职业者、小企业和记账人员:从银行和开票工具导出 CSV 后,想弄清谁已付款、哪些客户仍欠款,或哪些供应商账单对应某笔支出,而不必手工核算。
运行要求
以本地进程通过 stdio 运行,从 npm 安装 tiedout 并用 npx 启动,需要 Node 22.19 或更高版本。无需账号、API 密钥、环境变量或请求头,工具本身不访问网络。输入文件必须是 CSV,PDF 对账单需先转换。
安装前请注意
reconcile_match 会把文件中的名称和金额返回给 MCP 客户端,从而传到客户端所用的 AI 模型;只有 CLI 才完全留在本机。结果仅辅助记账,不构成会计建议,使用前应核对。它假定两位小数、不做货币换算、把每个文件视为完整的未结项目清单,且主要在虚构数据上测试,尚未覆盖各家银行的真实导出。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tiedout,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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:

claude plugin marketplace add GillMacedo/tiedoutclaude plugin install tiedout@tiedout-marketplace

For other MCP clients, run it from npm. You need Node 22.19 or newer:

json
{  "mcpServers": {    "tiedout": {      "command": "npx",      "args": ["-y", "tiedout", "serve"]    }  }}

Usage

Try it on the sample files in examples/. All the names in them are made up.

$ node plugin/dist/tiedout.js match examples/bank.csv examples/invoices.csvMATCHED (2)  2026-03-02  1200.00  TRANSFER FROM EXAMPLE SUPPLIES REF INV-1001  -> INV-1001  [invoice number and amount]  2026-03-04  450.50  PAYMENT FICTIONAL CAFE INV 1002 INV1003  -> INV-1002, INV-1003  [invoice numbers and total]LIKELY: check these (2)  2026-03-09  975.00  SAMPLE WIDGETS ONLINE TRANSFER  -> INV-1004  [amount and party name]  2026-03-16  700.00  PLACEHOLDER GARDENS  -> INV-1007, INV-1008  [party name, and the amounts add up]REVIEW: a person should decide (3)  2026-03-11  590.00  ACME TEST CO INV-1005  -> INV-1005  [names INV-1005, but short by 10.00]  2026-03-18  1200.00  TRANSFER FROM EXAMPLE SUPPLIES REF INV-1001  [names INV-1001, which is already settled: possible duplicate payment]  2026-03-12  310.00  DEPOSIT 3301  -> INV-1006  [amount only]UNMATCHED BANK LINES (1)  2026-03-20  42.00  UNKNOWN SENDEROPEN INVOICES (1)  INV-1009  125.00  Mock Logistics  due 2026-03-28SKIPPED bank row 12: no valid date2 matched, 2 likely, 3 to review, 1 unmatched, 1 open invoices

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

GroupRule
MatchedThe bank line names the invoices, and the amounts agree exactly
LikelyThe party name appears and the amount fits only one option, or a set of that party's invoices adds up in only one way
ReviewA named invoice with the wrong amount, a possible duplicate, a tie, or an amount with nothing else to support it

It never breaks a tie, and it never reports a row as gone without saying why.

MCP tools

ToolWhat it does
reconcile_matchMatches two CSV files and returns the groups, with a limit for large results
reconcile_inspect_csvShows detected columns and row counts, without row contents

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

  1. 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.
  2. 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.
  3. 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.
  4. 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

来源:README.md,提交 2883375

工具

2

reconcile_match

Match bank lines to invoices

Matches a bank statement CSV to an invoice CSV using exact arithmetic, and sorts every line into matched, likely, review or unmatched. Use for bank reconciliation, finding who has paid, or finding payments with no invoice. Read-only, and never uses the network. Results include names and amounts from the files, so they reach the model. Report review items to the user instead of deciding them.

输入参数modelimitbank_path必填date_formatwindow_daysbank_columnsinvoices_path必填invoice_columns

reconcile_inspect_csv

Inspect a CSV's columns

Shows which columns tiedout detects in a bank or invoice CSV, and how many rows it can read, without returning row contents. Use before reconcile_match if the files are unfamiliar or a match failed.

输入参数kind必填path必填date_format

版本历史

1
  1. v0.1.1最新Oct 31, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分