MCP server exposing 3 tools for brazil-comex-stat.
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/brazil-comex-stat/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
br_trade_flows — Brazil exports/imports over a date range, from MDIC Comex Stat — Brazil’s own customs trade statistics, PROXIED LIVE (not a bulk copy). Monthly granularity at NCM8 (Brazil’s 8-digit national tariff code, finer than the HS6 that UN Comtrade reports for Brazil), with an optional breakdown by Brazilian state of origin/destination — a dimension Comtrade does not have. Filter by a specific NCM product code, an NCM/HS chapter (2-digit), a partner country, and/or a Brazilian state; any combination, or none (totals). Returns value in USD FOB and net weight in kg, with every code resolved to its name. Use for "Brazil’s soybean exports to China by month in 2025" (ncm="12019000", country="China", from="2025-01", to="2025-12") or "Mato Grosso’s exports in Q1 2025" (state="MT", from="2025-01", to="2025-03").br_trade_top_partners — Top partner countries for a Brazilian product in a given year, from MDIC Comex Stat (live proxy). Pass either an 8-digit NCM code or a 2-digit NCM/HS chapter; omit both for Brazil’s overall top trading partners that year. Sorted descending by value (USD FOB). Use for "top destinations for Brazilian soybeans in 2025" (ncm="12019000", year="2025") or "Brazil’s biggest export markets overall in 2025" (year="2025").br_trade_top_products — Top NCM chapters (broad product categories) Brazil traded with a given country in a given year, from MDIC Comex Stat (live proxy). Sorted descending by value (USD FOB). Use for "what does Brazil export to China" (country="China", year="2025") or "top US imports from Brazil in 2025" (flow="import", country="United States", year="2025" — note: Comex Stat reports flow from BRAZIL’s side, so flow="import" means Brazil’s imports FROM that country).Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/brazil-comex-stat/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io