cfpb_product_breakdown
Pack: cfpb · Endpoint: https://gateway.pipeworx.io/cfpb/mcp
Get complaint counts by product category (e.g., ‘Credit Card’, ‘Mortgage’). Filter by company or date range.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
company | string | no | Optional company name to filter by |
start_date | string | no | Start date in YYYY-MM-DD format |
end_date | string | no | End date in YYYY-MM-DD format |
Example call
Arguments
{
"company": "WELLS FARGO"
}
curl
curl -X POST https://gateway.pipeworx.io/cfpb/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cfpb_product_breakdown","arguments":{"company":"WELLS FARGO"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cfpb_product_breakdown', {
"company": "WELLS FARGO"
});
More examples
{
"start_date": "2023-01-01",
"end_date": "2024-01-01"
}
Response shape
Always returns: filters, total_complaints, products
| Field | Type | Description |
|---|---|---|
filters | object | |
total_complaints | number | Total complaints in period |
products | array | Complaint counts by product category |
Full JSON Schema
{
"type": "object",
"properties": {
"filters": {
"type": "object",
"properties": {
"company": {
"type": [
"string",
"null"
],
"description": "Company filter applied"
},
"date_range": {
"type": "object",
"properties": {
"start": {
"type": [
"string",
"null"
],
"description": "Start date of range"
},
"end": {
"type": [
"string",
"null"
],
"description": "End date of range"
}
}
}
}
},
"total_complaints": {
"type": "number",
"description": "Total complaints in period"
},
"products": {
"type": "array",
"description": "Complaint counts by product category",
"items": {
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "Product category name"
},
"complaint_count": {
"type": "number",
"description": "Number of complaints"
}
},
"required": [
"product",
"complaint_count"
]
}
}
},
"required": [
"filters",
"total_complaints",
"products"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"cfpb": {
"url": "https://gateway.pipeworx.io/cfpb/mcp"
}
}
}
See Getting Started for client-specific install steps.