un-comtrade-mcp-server
cyanheads · Name verified by the official MCP registry (GitHub account)
From the publisher: UN Comtrade international trade statistics via MCP.
- ListedListed by cyanheads in the official MCP registry. Last sync 2026-12-03
Latest check 2026-12-03 03:59 UTC. Next expiry 2026-12-10.
Discoverable only. Sundrybay does not install anything yet. The routes below are copy-paste setups and links that open your app, where you confirm. How we check
Set it up yourself
Any app that accepts a server address 1 route
https://un-comtrade.caseyjhand.com/mcp
Claude Code 2 routes
claude mcp add --transport http un-comtrade-mcp-server 'https://un-comtrade.caseyjhand.com/mcp'
claude mcp add un-comtrade-mcp-server -- npx -y @cyanheads/un-comtrade-mcp-server@0.5.1
This downloads and runs code from npm on your computer. Sundrybay has not scanned it. There is no one-click link until a release passes our code checks.
Configuration file (mcpServers) 2 routes
{
"mcpServers": {
"un-comtrade-mcp-server": {
"url": "https://un-comtrade.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"un-comtrade-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/un-comtrade-mcp-server@0.5.1"
]
}
}
}This downloads and runs code from npm on your computer. Sundrybay has not scanned it. There is no one-click link until a release passes our code checks.
Cursor 1 route
Open in Cursor Opens the app, which asks you to confirm. Nothing is installed by Sundrybay.
VS Code 1 route
Open in VS Code Opens the app, which asks you to confirm. Nothing is installed by Sundrybay.
Source 1 route
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
- Latest release version
- 0.5.1 · From the official MCP registry entry
- Package
- npm @cyanheads/un-comtrade-mcp-server 0.5.1 · From the official MCP registry entry
Actions listed
11 actions the endpoint listed on 2026-12-03. Names and descriptions come from the server. Listing an action does not mean it works.
comtrade_get_data_availability: Check which reporter/period/classification combinations have published data before querying trade. Returns datasets ordered by reporter code, newest period first within each reporter, with classification, record count a…comtrade_get_services_trade: Fetch annual international trade-in-services data. Classification EB (default) serves each reporter-period as reported, in its own scheme (EB10, EB10S or EB02 codes); EB10 or EB02 selects UN Comtrade's conversion of oth…comtrade_get_top_commodities: Rank HS chapters (2-digit) or headings (4-digit) by trade value for one reporter, flow, and annual or monthly period. Set parent_code and a deeper aggr_level to rank headings or subheadings within one chapter or heading…comtrade_get_top_partners: Rank trading partners for a reporter by trade value for a given commodity and flow direction. Returns the top N retrieved partners with known values, sorted by descending value, and lists partners with unknown values se…comtrade_get_top_reporters: Rank retrieved reporting areas by reported import or export value for one goods code and period. Partner 0 (World) ranks reporters by their trade with all partners. Use a bilateral partner to rank reporters by their tra…comtrade_get_top_services_partners: Rank partners of one reporter by trade value for a single annual EBOPS series. Omit service_code for total services, or use comtrade_list_service_categories to find one category. EB serves original reports, while EB10 a…comtrade_get_trade_balance: Compute the trade balance for a country over one or more periods — total exports minus total imports — with an optional HS, SITC or BEC commodity filter whose codes must not overlap. Keyless preview makes two requests p…comtrade_get_trade_flows: Fetch bilateral trade flow records with trade value in USD, quantity, net weight, and period/commodity/partner metadata. UN Comtrade uses FOB for export primaryValue and CIF when available, otherwise FOB, for import pri…comtrade_list_service_categories: List service trade categories from the combined EB catalog, including numeric EBOPS and SDMX codes. Returns category codes, descriptions, parent codes, and the EBOPS scheme catalogs that list each code: EB10 (EBOPS 2010…comtrade_lookup_countries: Resolve country and area names to Comtrade M49 numeric codes used in all data queries. Accepts a partial or full name, an official name (e.g. "Republic of Korea"), a common name (e.g. "UK", "Turkey"), or an ISO alpha-2/…comtrade_search_commodities: Find HS, SITC or BEC commodity codes by keyword, description, or code prefix. A code written with dots, spaces, or hyphens ("0901.11") matches 090111. Exact codes, code prefixes and contiguous description matches rank f…