trade_country_profile
Pack: trade-intel · Endpoint: https://gateway.pipeworx.io/trade-intel/mcp
Get a country’s trade snapshot: top 10 import/export partners and top 10 commodities. Use country codes (e.g., 842 for US, 156 for China, 276 for Germany, 392 for Japan, 826 for UK).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country_code | string | yes | Country code (e.g., “842” for US) |
year | string | no | Trade year (default: last year) |
Example call
Arguments
{
"country_code": "842"
}
curl
curl -X POST https://gateway.pipeworx.io/trade-intel/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trade_country_profile","arguments":{"country_code":"842"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('trade_country_profile', {
"country_code": "842"
});
More examples
{
"country_code": "156",
"year": "2023"
}
Response shape
Always returns: analysis, country_code, year, top_import_partners, top_export_partners, top_import_commodities, top_export_commodities
| Field | Type | Description |
|---|---|---|
analysis | string | Analysis type identifier |
country_code | string | Country code analyzed |
year | string | Trade year analyzed |
top_import_partners | object | null | Top 10 import partner countries |
top_export_partners | object | null | Top 10 export partner countries |
top_import_commodities | object | null | Top 10 imported commodities |
top_export_commodities | object | null | Top 10 exported commodities |
Full JSON Schema
{
"type": "object",
"properties": {
"analysis": {
"type": "string",
"description": "Analysis type identifier"
},
"country_code": {
"type": "string",
"description": "Country code analyzed"
},
"year": {
"type": "string",
"description": "Trade year analyzed"
},
"top_import_partners": {
"type": [
"object",
"null"
],
"description": "Top 10 import partner countries"
},
"top_export_partners": {
"type": [
"object",
"null"
],
"description": "Top 10 export partner countries"
},
"top_import_commodities": {
"type": [
"object",
"null"
],
"description": "Top 10 imported commodities"
},
"top_export_commodities": {
"type": [
"object",
"null"
],
"description": "Top 10 exported commodities"
}
},
"required": [
"analysis",
"country_code",
"year",
"top_import_partners",
"top_export_partners",
"top_import_commodities",
"top_export_commodities"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"trade-intel": {
"url": "https://gateway.pipeworx.io/trade-intel/mcp"
}
}
}
See Getting Started for client-specific install steps.