treasury_customs_revenue

Pack: treasury-fiscal · Endpoint: https://gateway.pipeworx.io/treasury-fiscal/mcp

Track monthly US customs duty revenue. Returns monthly collection amounts to analyze tariff impact trends.

Parameters

NameTypeRequiredDescription
limitnumbernoNumber of monthly records to return (default 12 for 1 year)

Example call

Arguments

{
  "limit": 12
}

curl

curl -X POST https://gateway.pipeworx.io/treasury-fiscal/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"treasury_customs_revenue","arguments":{"limit":12}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('treasury_customs_revenue', {
  "limit": 12
});

More examples

{
  "limit": 24
}

Response shape

Always returns: description, count, total_available, records

FieldTypeDescription
descriptionstringDescription of the data
countnumberNumber of records returned
total_availablenumberTotal available records in the API
recordsarrayMonthly customs revenue records
Full JSON Schema
{
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Description of the data"
    },
    "count": {
      "type": "number",
      "description": "Number of records returned"
    },
    "total_available": {
      "type": "number",
      "description": "Total available records in the API"
    },
    "records": {
      "type": "array",
      "description": "Monthly customs revenue records",
      "items": {
        "type": "object",
        "properties": {
          "record_date": {
            "type": "string",
            "description": "Date of the record"
          },
          "classification": {
            "type": "string",
            "description": "Classification description or code"
          },
          "current_month_gross": {
            "type": "number",
            "description": "Current month gross receipts"
          },
          "current_month_refund": {
            "type": "number",
            "description": "Current month refunds"
          },
          "current_month_net": {
            "type": "number",
            "description": "Current month net receipts"
          },
          "fiscal_year_gross": {
            "type": "number",
            "description": "Fiscal year gross receipts"
          },
          "fiscal_year_refund": {
            "type": "number",
            "description": "Fiscal year refunds"
          },
          "fiscal_year_net": {
            "type": "number",
            "description": "Fiscal year net receipts"
          }
        }
      }
    }
  },
  "required": [
    "description",
    "count",
    "total_available",
    "records"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "treasury-fiscal": {
      "url": "https://gateway.pipeworx.io/treasury-fiscal/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026