MCP server exposing 4 tools for census-trade.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/census-trade/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
census_imports — Search US import data by HS commodity code and/or country. Returns import values, quantities, and commodity details. Pass `country` as a plain English name (e.g. "China"). Omit hs_code for total imports from a country; omit country for all countries combined.census_exports — Search US export data by HS commodity code and/or country. Returns export values, quantities, and commodity details. Pass `country` as a plain English name (e.g. "Mexico"). Omit hs_code for total exports to a country; omit country for all countries combined.census_trade_balance — Check US trade balance with a specific country for a given year. Returns net trade value and breakdown by end-use commodity category.census_trade_trends — Monthly US trade trends with ONE trading partner — month-by-month imports and exports for a country, optionally narrowed to an HS commodity, to show seasonality and shifts. A country is required: an unfiltered monthly query spans every partner and the Census API cannot return it in time. For all-countries totals use census_imports / census_exports instead.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/census-trade/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io