trade_macro_dashboard
Pack: trade-intel · Endpoint: https://gateway.pipeworx.io/trade-intel/mcp
Check US trade indicators: customs revenue, exchange rates, trade balance, monthly trends, price indices, and goods/services breakdown.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_fredKey | string | no | FRED API key (optional, for macro series) |
Example call
Arguments
{
"_fredKey": "your-trade-intel-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/trade-intel/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trade_macro_dashboard","arguments":{"_fredKey":"your-trade-intel-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('trade_macro_dashboard', {
"_fredKey": "your-trade-intel-api-key"
});
Response shape
Always returns: analysis, customs_revenue, exchange_rates, trade_balance, trade_trends, fred_macro, price_indices
| Field | Type | Description |
|---|---|---|
analysis | string | Analysis type identifier |
customs_revenue | object | null | US customs revenue from Treasury |
exchange_rates | object | null | Exchange rates from Treasury |
trade_balance | object | null | US trade balance from Census |
trade_trends | object | null | 12-month trade trends from Census |
fred_macro | object | null | FRED macro series if API key provided |
price_indices | object | null | BLS import/export price indices |
Full JSON Schema
{
"type": "object",
"properties": {
"analysis": {
"type": "string",
"description": "Analysis type identifier"
},
"customs_revenue": {
"type": [
"object",
"null"
],
"description": "US customs revenue from Treasury"
},
"exchange_rates": {
"type": [
"object",
"null"
],
"description": "Exchange rates from Treasury"
},
"trade_balance": {
"type": [
"object",
"null"
],
"description": "US trade balance from Census"
},
"trade_trends": {
"type": [
"object",
"null"
],
"description": "12-month trade trends from Census"
},
"fred_macro": {
"type": [
"object",
"null"
],
"properties": {
"dollar_index": {
"type": [
"object",
"null"
],
"description": "Trade-weighted dollar index (DTWEXBGS)"
},
"goods_services_balance": {
"type": [
"object",
"null"
],
"description": "Goods and services balance (BOPGSTB)"
},
"imports_goods_services": {
"type": [
"object",
"null"
],
"description": "Imports of goods and services (IMPGS)"
},
"exports_goods_services": {
"type": [
"object",
"null"
],
"description": "Exports of goods and services (EXPGS)"
}
},
"description": "FRED macro series if API key provided"
},
"price_indices": {
"type": [
"object",
"null"
],
"description": "BLS import/export price indices"
}
},
"required": [
"analysis",
"customs_revenue",
"exchange_rates",
"trade_balance",
"trade_trends",
"fred_macro",
"price_indices"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trade-intel": {
"url": "https://gateway.pipeworx.io/trade-intel/mcp"
}
}
}
See Getting Started for client-specific install steps.