treasury_customs_revenue
Pack: treasury-fiscal · Endpoint: https://gateway.pipeworx.io/treasury-fiscal/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/treasury_customs_revenue for the schema, then POST the same URL with its arguments for the data.
Track monthly US customs duty revenue. Returns monthly collection amounts to analyze tariff impact trends.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number 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
| Field | Type | Description |
|---|---|---|
description | string | Description of the data |
count | number | Number of records returned |
total_available | number | Total available records in the API |
records | array | Monthly 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.