Live UN Comtrade, US Census trade, the ECB and Treasury customs receipts.

Trade answers, cited.
58 TradeGuard tools behind one URL.
Frontier models: 100% correct with Pipeworx, 63% with web search

What one country sold another last year, where the balance sits now, what the currency did today, and what customs collected. Every figure comes back with the release behind it.

One connection · no per-source API keys · free to start

← All verticals

Included Packs

🌐
UN Comtrade

Bilateral trade flows by HS code for 200+ countries. Top partners, top commodities

🚢
Census Trade

US imports and exports by HS code, country, and month. Trade balance tracking

🏦
Treasury Fiscal

Customs duty revenue, government receipts, exchange rates, national debt

📈
FRED

Trade balance time series, CPI, import price indices, macro indicators

👷
BLS

Import/export price indices, employment data. No key needed

💱
Exchange

Real-time currency exchange rates

Setup

1
Sign up for Pipeworx

Create a free account at /signup and grab your API key from /account.

2
Connect to Claude

Choose one of these options:

Option A — Claude on the web

Open claude.ai/customize/connectors, click Add custom connector, name it Pipeworx Trade and paste this URL. Leave the OAuth client ID and secret blank — the connector registers itself.

connector URL
https://gateway.pipeworx.io/mcp?vertical=trade

Then click Connect and sign in with GitHub. That step is free and takes you from 50 calls a day to 200 — same connection either way, and you can skip it and sign in later. In a new chat, open the tools menu and enable the connector.

Custom connectors need a paid Claude plan — that is an Anthropic gate, not a Pipeworx one.

Option B — Persistent MCP config

Add this to your claude_desktop_config.json:

claude_desktop_config.json
{
  "mcpServers": {
    "pipeworx-trade": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://gateway.pipeworx.io/mcp?vertical=trade",
        "--header",
        "Authorization:Bearer YOUR_API_KEY"
      ]
    }
  }
}
Option C — Session only

Paste this into Claude to use for one conversation:

prompt
Use this MCP server for this conversation:

npx -y mcp-remote "https://gateway.pipeworx.io/mcp?vertical=trade" --header "Authorization:Bearer YOUR_API_KEY"

Then show me the US trade balance with China for the last 5 years and current tariff revenue collections.
3
No API keys needed

All 6 data sources use free public APIs. Just sign up and connect — no external keys required.

All 22 Tools

UN Comtrade 4 tools

comtrade_trade_data Bilateral trade data between two countries by HS code
comtrade_top_partners Top trading partners for a country by trade value
comtrade_top_commodities Top traded commodities between two countries
comtrade_country_codes Reference list of ISO numeric country codes

Census Trade 4 tools

census_imports US imports by HS code, country, and month
census_exports US exports by HS code, country, and month
census_trade_balance US trade balance with a specific country
census_trade_trends Trade trend data over time

Treasury Fiscal 4 tools

treasury_customs_revenue Customs duty revenue collections
treasury_receipts Government receipts by category
treasury_debt National debt outstanding
treasury_exchange_rates Treasury reporting exchange rates

FRED 5 tools

fred_get_series Fetch time series observations
fred_search Search for economic data series
fred_series_info Metadata for a specific series
fred_category Browse data by category
fred_releases Economic data release schedule

BLS 4 tools

bls_get_series Get time series data for BLS series
bls_search Search for series by keyword
bls_latest Most recent data point for a series
bls_popular_series List popular series with descriptions

Exchange 1 tool

get_exchange_rate Foreign exchange rates

Common questions

What data sources are included in TradeGuard?

UN Comtrade (bilateral trade flows across 200+ countries and 6,000+ commodity codes), US Census Bureau Trade (monthly US exports and imports by partner and HS code), US Treasury (customs revenue, exchange rates, debt), FRED (macro indicators), and BLS (import/export price indexes).

Can I analyze bilateral trade between specific countries?

Yes. The comtrade_trade_data and trade_bilateral_analysis _intel tools accept reporter, partner, commodity (HS code or natural language), and time period. An agent can ask "show me US soybean exports to China by year since 2018" and get a year-by-year breakdown with values, quantities, and partner-side import figures for cross-checking.

How current is the US trade data?

Census Bureau Trade releases monthly US trade in goods data about 35 days after the close of the reference month. UN Comtrade lags about 1–2 months for most reporters. Treasury customs revenue updates daily. Every response carries cache freshness metadata so the agent can refetch when needed.

Can I look up tariff rates or customs duties?

Treasury customs revenue tools show actual collected duties by month and country. For statutory tariff schedules (HTSUS rate lookups), Pipeworx is adding coverage; submit a request via the pipeworx_feedback tool — the team reviews submissions daily.