Search HMDA lenders
search_lendersFind HMDA lenders and resolve names to canonical lender keys. Call this before any other lender tool.
Use for: turning a company name ('Rocket', 'UWM', 'Wells Fargo', 'PennyMac') into its canonical key, ranking lenders by origination volume, or listing lenders by charter type or headquarters state.
Then pass a result's exact name (e.g. 'Rocket/Quicken') as lender to get_lender_profile, get_hmda_product_analytics, or get_servicer_analytics mode='transfers', or as lender_a / lender_b to compare_lenders. Legal names such as 'Rocket Mortgage, LLC' are not keys and return meta.available=false downstream.
Returns data.results (at most limit rows of {name, leis, charter_type, hq_state, recent_year, recent_volume, total_loans, volume_rank, subsidiary_count}), data.matched_count, and data.total_count. recent_volume is USD originations in recent_year (the latest HMDA year). Keys are holding-company or originator groups, so subsidiaries and LEIs roll up into one key.
Behavior: read-only, no auth or API key, no PII, idempotent and safe to retry. The public endpoint https://mtgmon.com/mcp allows about 60 requests/min and 250 tool calls/day per client IP. Result shape is {data, meta}; meta carries available, as_of, source_scope, weighting, units, cache_status, caveats, and truncated. If meta.available is false the data is unavailable or the cache is still warming (retry after a few seconds); never report it as zero.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Result order: volume_desc (default, largest recent-year volume first), volume_asc, name_asc, name_desc, loans_desc (most loans first), rank_asc (best volume rank first). | volume_desc |
| limit | No | Maximum results, 1-25 (default 10). | |
| query | No | Case-insensitive substring of the lender name, e.g. 'rocket', 'united wholesale', 'wells'. Empty (default) returns the top lenders in sort order. | |
| state | No | Two-letter USPS code of the lender's headquarters state, e.g. 'MI'. Empty (default) = all states. | |
| charter | No | Filter by charter type exactly as shown in results' charter_type, e.g. 'Bank' or 'Independent Mortgage Company'. Empty (default) = all charter types. | |
| min_volume | No | Minimum recent-year origination volume in USD, e.g. 1000000000 for $1B+. Default 0 (no floor). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes |