MCP server exposing 4 tools for comtrade.
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/comtrade/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
comtrade_trade_data — AUTHORITATIVE bilateral trade data between two countries from UN Comtrade — the official international-trade statistics database (every country's customs filings, harmonized). Returns trade values USD, quantities, and HS commodity-level detail for imports and exports between reporter + partner. Use for "how much X did US import from China in 2024", "what does Germany export to Brazil", "Mexico's top trade partners by commodity". Country codes: ISO M.49 (840=US, 156=China, 276=Germany — see comtrade_country_codes). Annual data, lags ~3 months from reporting period.comtrade_top_partners — Find a country's top trading partners ranked by trade volume. Returns partner countries and total trade values.comtrade_top_commodities — Find top commodities traded between two countries ranked by value. Returns product categories and trade volumes.comtrade_country_codes — Look up country ISO numeric codes for trade queries (e.g., "840" = US, "156" = China). Returns code and country name pairs.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/comtrade/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io