comtrade_top_partners
ActiveTool of mcp-comtrade
declared in 0.1.0
Find a country's top trading partners ranked by trade volume. Returns partner countries and total trade values.
Parameters schema
{
"type": "object",
"examples": [
{
"flow": "X",
"year": "2024",
"limit": 10,
"reporter_code": "842"
},
{
"flow": "M",
"year": "2023",
"reporter_code": "156"
}
],
"required": [
"reporter_code",
"year",
"flow"
],
"properties": {
"flow": {
"type": "string",
"description": "Trade flow: \"M\" for imports, \"X\" for exports"
},
"year": {
"type": "string",
"description": "Trade year (e.g., \"2024\")"
},
"limit": {
"type": "number",
"description": "Number of top partners to return (default 20)"
},
"hs_code": {
"type": "string",
"description": "Optional HS commodity code to filter by specific product"
},
"reporter_code": {
"type": "string",
"description": "ISO numeric country code (e.g., \"842\" for US)"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
mcp-comtrade
https://github.com/pipeworx-io/mcp-comtrade
2/7 registries