Census Trade
live GovernmentTradeDataCensus Trade MCP — US Census Bureau International Trade data
Tools
census_imports Get US import data by HS commodity code and/or country. Returns import values, quantities, commodity details, and country names from the US Census Bureau.
No parameters required.
Try it
census_exports Get US export data by HS commodity code and/or country. Returns export values, quantities, commodity details, and country names from the US Census Bureau.
No parameters required.
Try it
census_trade_balance Get the US trade balance (exports minus imports) with a specific country for a given year. Uses end-use commodity categories for aggregate values.
No parameters required.
Try it
census_trade_trends Get monthly US trade trends over a period. Shows how trade values change month by month for a commodity and/or country.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/census-trade/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/census-trade/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"census_imports","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("census_imports", {}); // Or ask in plain English:
const answer = await px.ask("census trade mcp — us census bureau international trade data"); Related compound tools
These combine Census Trade with other data sources in a single call:
Trade Intel MCP — Compound tools that chain Comtrade, Census, Treasury,
3 tools — trade_bilateral_analysis, trade_country_profile, trade_macro_dashboard
Related packs
Other Pipeworx packs in the same categories (Government, Trade, Data):