CharterBench

v0.5.0
io.github.auburnduke/charterbench Checked 2 days ago Published 2 months ago

Every U.S. bank and credit union: ratios, peers, growth and change signals from FDIC/NCUA filings.

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

screen_institutions Screen institutions

Find banks and credit unions matching filters. Returns a ranked list with key financials and ratios. Use for territory planning, prospect lists, and 'which institutions…' questions. Money in dollars, ratios in percent.

ParameterTypeDescription
bandstringAsset band(s): '<100M', '100M-500M', '500M-1B', '1B-10B', '10B+' (comma-separated)
dirstring
filtersobjectRange filters as {'<column>_min': n, '<column>_max': n}, e.g. {'deposits_yoy_pct_max': -5, 'efficiency_ratio_min': 75}
holdingstringHolding-company name contains (banks only), e.g. 'Truist Financial' — lists the parent's subsidiary banks
limitintegerRows to return (default 25)
qstringName contains
sortstringSort column: total_assets, assets_yoy_pct, deposits_yoy_pct, loans_yoy_pct, members_yoy_pct, roa, roe, loan_to_deposit_pct, capital_ratio_pct, efficiency_ratio, net_interest_margin, cost_of_funds, net…
statestringComma-separated USPS state codes, e.g. 'GA,FL'
typestringCharter type

get_institution Get institution profile

Full profile of one bank or credit union: identity, size, YoY growth, all 21 ratios, peer medians for its asset band, and this quarter's change signals. Use the id from screen_institutions or search_institutions (e.g. 'ncua-66357', 'fdic-9846').

ParameterTypeDescription
id *string

search_institutions Search institutions by name

Look up institutions by name to get their ids. Cheap and fast; use before get_institution when you only know a name.

ParameterTypeDescription
name *string
typestring

get_financial_history Get financial history

Quarterly call-report history for one institution (assets, deposits, loans, equity, income lines) with computed ratios per quarter, newest first.

ParameterTypeDescription
id *string
quartersinteger

get_signals Get change signals

Change signals for one institution across its history: deposits down/up, loans up/down, delinquency up, efficiency worsening, crossed $1B/$10B, net loss, thin capital, members down — each with plain-English text and why it matters to a seller.

ParameterTypeDescription
id *string

get_peer_medians Get peer medians

Median of every ratio for a peer group (charter type × asset band). Use to say how an institution compares.

ParameterTypeDescription
band *string
type *string

compare_institutions Compare institutions

Side-by-side comparison of 2–5 institutions on size, growth and ratios, plus a link to the interactive compare page.

ParameterTypeDescription
ids *array

find_markets Find deposit markets

Find counties and metro areas (deposit markets) by name, optionally within a state. Returns market ids to pass to get_market_share, plus totals, leader and concentration (HHI). Use for 'who are the biggest banks in <county/metro>' questions.

ParameterTypeDescription
q *stringCounty or metro name contains, e.g. 'Fulton', 'Atlanta', 'Maricopa'
statestringUSPS state code to narrow the search

get_market_share Get deposit market share

Deposit market share from branch data (FDIC Summary of Deposits, June 30; credit unions estimated). Pass EITHER an institution id (returns every county, metro and state it has branches in, with share, rank and branch-count history) OR geo_type + geo_id (returns the market's league table: every institution ranked by deposits with share, year-over-year share change and branch change). geo_id: 5-digit county FIPS, CBSA code for metros, or USPS code for states — find them with find_markets.

ParameterTypeDescription
geo_idstring
geo_typestring
institution_idstring
limitintegerRows to return for a league table (default 25)

get_pending_deals Get pending deals

Merger, acquisition and change-in-control applications filed with the Federal Reserve, OCC, FDIC and NCUA — before the deal closes. Filter by state, charter type, status (open = pending + approved-not-closed), or one institution id (its deals as acquirer or target). Use for 'who is buying whom', 'is X in a deal', 'which banks in Texas are being acquired'.

ParameterTypeDescription
daysintegerOnly deals updated in the last N days
institution_idstringOnly deals where this institution is the acquirer or target
kindstringDefault: mergers, acquisitions and control changes
limitinteger
qstringAcquirer or target name contains
statestringUSPS state code of the acquirer or target
statusstringDefault open
typestring

get_industry_summary Get industry summary

Quarterly State of the Industry: institution counts, total assets/deposits/loans, YoY growth, median ratios (NIM, efficiency, ROA, cost of funds, capital, delinquency, charge-offs, uninsured deposits, securities losses) and how many are losing money — for banks and credit unions overall and by asset band, plus how many institutions carried each change signal. Use for 'how did banks/credit unions do this quarter', industry benchmarks, or trend questions (pass an earlier quarter).

ParameterTypeDescription
bandstringAsset band: '<100M', '100M-500M', '500M-1B', '1B-10B', '10B+', or 'all' (default returns every band)
quarterstringQuarter-end date, e.g. 2026-06-30 (default latest)
typestring

get_branch_changes Get branch openings and closings

Branches opened, closed, acquired or sold June-to-June, from FDIC Summary of Deposits (banks) and NCUA branch filings (credit unions). Filter by state, county (5-digit FIPS), charter type, change kind or one institution. summary=true returns one row per institution with opened/closed/acquired/sold/net counts and the deposits that sat in closed branches — use it for 'which banks are closing the most branches in Texas'.

ParameterTypeDescription
changestring
countystring5-digit county FIPS (from find_markets)
institution_idstring
limitinteger
statestring
summarybooleanOne row per institution instead of per branch
typestring
yearintegerSOD year (June 30); default latest