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

NameTypeRequiredDescription
_fredKeystringnoFRED 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

FieldTypeDescription
analysisstringAnalysis type identifier
customs_revenueobject | nullUS customs revenue from Treasury
exchange_ratesobject | nullExchange rates from Treasury
trade_balanceobject | nullUS trade balance from Census
trade_trendsobject | null12-month trade trends from Census
fred_macroobject | nullFRED macro series if API key provided
price_indicesobject | nullBLS 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.

Regenerated from source · build May 9, 2026