Tools Reference
CFPB
5 tools for accessing CFPB data. No additional API key required.
cfpb-search-complaints
Search CFPB consumer complaint database. Find complaints about banks, credit cards, mortgages, and other financial products.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| searchTerm | string | optional | Search keyword |
| product | string | optional | Financial product type |
| company | string | optional | Company name |
| state | string | optional | Two-letter state code |
| limit | number | optional | Number of results |
Example
cfpb-search-complaints(company: "Wells Fargo", product: "Mortgage")cfpb-complaint-detail
Get full details of a specific CFPB complaint by its ID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| complaintId | string | required | CFPB complaint ID |
Example
cfpb-complaint-detail(complaintId: "12345678")cfpb-complaint-trends
Get complaint volume trends over time — spot increases in consumer complaints by product or company.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| company | string | optional | Company name |
| product | string | optional | Financial product |
| state | string | optional | State |
Example
cfpb-complaint-trends(product: "Credit card")cfpb-complaint-aggregations
Get aggregate complaint data — counts by product, company, issue, or state.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| field | string | required | Field to aggregate by: "product", "company", "issue", "state" |
| company | string | optional | Filter by company |
Example
cfpb-complaint-aggregations(field: "product")cfpb-state-complaints
Get CFPB complaint data for a specific state — top companies, products, and issues.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| state | string | required | Two-letter state code |
Example
cfpb-state-complaints(state: "TX")