BankConv

v0.1.2
io.github.wassim/bankconv-mcp Checked 6 hours ago Published 22 days ago

Convert PDF bank statements into transactions, CSV, OFX, QFX, QBO or Xero CSV.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

convert_statement Convert a bank statement PDF

Convert a PDF bank or credit card statement on this computer with BankConv. Use this for a new PDF; for a statement converted earlier, use get_transactions or download_statement with its conversion id (list_conversions finds it). With output "transactions" (the default) it returns a summary and every transaction as JSON: ISO date, description, signed amount (money in positive), running balance; opening balances and totals are left out. Any other output saves that file and returns only its path and any warnings. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx:…

ParameterTypeDescription
file_path *stringPath to the PDF statement on this computer.
outputstring"transactions" returns the rows to you; any other value saves that file. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Conne…
passwordstringThe PDF password, if the statement is password-protected.
save_tostringFor file outputs: a file path or folder. Defaults to the PDF's folder, named after the PDF. An existing file at that path is overwritten.
timeout_secondsintegerHow long to wait for the conversion. On timeout the conversion keeps running; fetch it later with its conversion id.

get_transactions Get the transactions of a conversion

Get the transactions of an earlier BankConv conversion by its conversion id (from convert_statement or list_conversions): ISO date, description, signed amount (money in positive) and running balance, with the bank, account, period and currency. Read-only; uses no pages. To save a file instead, use download_statement. Errors say what went wrong: not_found for an unknown conversion id, gone once a conversion was deleted under data retention (24 hours by default), unreadable_statement when the tables can't be read as transactions (the message names the row), insufficient_credits when the account…

ParameterTypeDescription
conversion_id *stringThe conversion id, as returned by convert_statement or list_conversions.
tablesstringAdvanced: which tables to read, as page:table indexes from 0 ("0:1,1:0"). Leave out and BankConv picks the transaction tables.

download_statement Save a conversion as a file

Save an earlier BankConv conversion as a file on this computer, by its conversion id (from convert_statement or list_conversions). Returns the saved path and any warnings (for example a bank QuickBooks doesn't list), not the file contents. Uses no pages. csv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Connect); xero: Xero CSV with Xero's own columns. Errors say what went wrong: not_found for an unknown conversion id, gone once a conversion was deleted under data retention (24 hours by default), unreadable_statement when…

ParameterTypeDescription
conversion_id *stringThe conversion id, as returned by convert_statement or list_conversions.
format *stringcsv: the statement as a spreadsheet; ofx: Xero, Sage, MYOB, QuickBooks Online; qfx: Quicken; qbo: QuickBooks Desktop (Web Connect); xero: Xero CSV with Xero's own columns.
save_tostringA file path or folder. Defaults to the Downloads folder (or the home folder), named after the original PDF. An existing file at that path is overwritten.
tablesstringAdvanced: which tables to read, as page:table indexes from 0 ("0:1,1:0"). Leave out and BankConv picks the transaction tables.

list_conversions List recent conversions

List the BankConv account's recent conversions, newest first, one line each: conversion id, status, file name, page count and upload time. Use it to find the id of an earlier conversion for get_transactions or download_statement, or to check on one still processing. Read-only.

ParameterTypeDescription
limitintegerHow many conversions to list, 1 to 100.
statusstringOnly list conversions with this status. no_credits means it waits for pages; failed means the PDF couldn't be converted.

get_credits Check the page balance

Check how many BankConv pages the account has left in the current period, as JSON. Each PDF page uses one page, so check before converting a large batch. Read-only.