un comtrade mcp server for VS Code
io.github.cyanheads/un-comtrade-mcp-server
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
client:VS Code
transport:stdio
runtime:npm
Install un comtrade mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "comtrade-subscription-key",
"description": "COMTRADE_SUBSCRIPTION_KEY",
"password": true
},
{
"type": "promptString",
"id": "mcp-log-level",
"description": "MCP_LOG_LEVEL",
"password": true
}
],
"servers": {
"un-comtrade-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/un-comtrade-mcp-server"
],
"env": {
"COMTRADE_SUBSCRIPTION_KEY": "${input:comtrade-subscription-key}",
"MCP_LOG_LEVEL": "${input:mcp-log-level}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs