Skip to main content
Glama
lzinga

US Government Open Data MCP

cfpb_complaint_trends

Analyze consumer complaint trends over time using CFPB data to identify patterns in financial products, issues, and companies.

Instructions

Get complaint trends over time using the CFPB Trends API. Uses dedicated /trends endpoint with lens-based aggregation. REQUIRED: trend_interval ('month', 'quarter', or 'year') — the API rejects requests without it. Lens options: 'overview' (total counts), 'product' (by product), 'issue' (by issue), 'tags' (by tag). Sub-lens allows drilling into sub-categories within the lens.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lensNoTrend lens (default: overview)
trend_intervalYesTime bucket size for trend aggregation: 'month', 'quarter', or 'year'
sub_lensNoSub-lens drill-down
sub_lens_depthNoTop N sub-aggregations to return (default 10)
focusNoFocus charts on a specific product or company name
productNoFinancial product: 'Mortgage', 'Debt collection', etc.
companyNoCompany name: 'Wells Fargo', 'Equifax', etc.
stateNoTwo-letter state code: 'CA', 'TX', 'NY'
issueNoIssue type filter
date_received_minNoStart date (YYYY-MM-DD)
date_received_maxNoEnd date (YYYY-MM-DD)
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lzinga/us-government-open-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server