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

NameTypeRequiredDescription
companystringnoOptional company name to filter by
start_datestringnoStart date in YYYY-MM-DD format
end_datestringnoEnd 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

FieldTypeDescription
filtersobject
total_complaintsnumberTotal complaints in period
productsarrayComplaint 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.

Regenerated from source · build May 9, 2026