br_trade_top_products

Pack: brazil-comex-stat · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/br_trade_top_products for the schema, then POST the same URL with its arguments for the data.

Top product chapters Brazil trades with a given country in a year — live from MDIC Comex Stat.

Tool description as the model sees it

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).

Parameters

NameTypeRequiredDescription
flowstringnoTrade direction from Brazil’s side: “export” or “import”. Defaults to “export”.
countrystringyesPartner country name (e.g. “China”) or Comex Stat country id.
yearstringyes4-digit year (e.g. “2025”).
limitnumbernoMax product chapters to return. Defaults to 10, capped at 50.

Example call

Arguments

{
  "flow": "export",
  "country": "China",
  "year": "2025",
  "limit": 10
}

curl

curl -X POST https://gateway.pipeworx.io/brazil-comex-stat/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"br_trade_top_products","arguments":{"flow":"export","country":"China","year":"2025","limit":10}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('br_trade_top_products', {
  "flow": "export",
  "country": "China",
  "year": "2025",
  "limit": 10
});

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the brazil-comex-stat pack
{
  "mcpServers": {
    "brazil-comex-stat": {
      "url": "https://gateway.pipeworx.io/brazil-comex-stat/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 12, 2026