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 分