hmda_lenders_in_county
Pack: hmda · Endpoint: https://gateway.pipeworx.io/hmda/mcp
Which lenders were most active in a county, ranked by loan count, from HMDA loan-level records for that county and year. Returns each lender LEI with its originations, denials and dollar volume, so “who lends here” and “who denies most here” are answerable. Bounded: it reads the county’s records directly, so very large counties are sampled rather than fully ranked, and the response says so.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
county | string | yes | 5-digit county FIPS, e.g. “11001”. |
year | number | no | Filing year, ${YEARS}. |
action | string | no | Outcome to rank on: ${Object.keys(ACTIONS).join(’ | ’)}. Default originated. |
limit | number | no | Lenders to return (1-100, default 20). |
Example call
Arguments
{
"county": "11001",
"year": 2023,
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/hmda/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hmda_lenders_in_county","arguments":{"county":"11001","year":2023,"limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hmda_lenders_in_county', {
"county": "11001",
"year": 2023,
"limit": 20
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"hmda": {
"url": "https://gateway.pipeworx.io/hmda/mcp"
}
}
}
See Getting Started for client-specific install steps.