un-comtrade-mcp-server
UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
Status: Listed — passed its latest tests · Score: 81.8/100 · Category: Government & public records, Analytics & business intelligence, Finance & markets · Ranked: #5 in gov-records/statistics-open-data (MCP)
Connect: https://un-comtrade.caseyjhand.com/mcp (streamable-http)
Score breakdown
| latency | 93.7 |
|---|---|
| tool docs | 100 |
| breadth | 63.2 |
| freshness | 100 |
| license | 100 |
| adoption | 54.7 |
| protocol | 100 |
Live test results
| tested at | 2026-11-24T21:39:25.250Z |
|---|---|
| http status | 200 |
| initialize | ok |
| tools list | ok |
| tool count | 11 |
| latency ms | 471 |
| tools list ms | 223 |
| protocol version | 2025-06-18 |
| oauth discovery | missing |
| server info | {"name":"un-comtrade-mcp-server","version":"0.5.0"} |
| error | missing |
Usage and freshness signals
| github stars | 5 |
|---|---|
| license | Apache-2.0 |
| repo pushed at | 2026-11-22T01:22:46Z |
| repo archived | false |
| npm downloads 30d | 1904 |
| adoption note | missing |
| registry updated at | 2026-11-22T01:24:32.586186Z |
| registry published at | 2026-11-22T01:24:32.586186Z |
| pypi downloads | missing |
Tools (11)
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 |
|---|---|
comtrade_search_commodities | Find HS or SITC commodity codes by keyword, description, or code prefix. A code written with dots, spaces, or hyphens ("0901.11") matches 090111. Exact codes, c |
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 |
comtrade_get_trade_flows | Fetch bilateral trade flow records — the primary data retrieval tool. Returns trade value in USD (primaryValue — FOB for exports, CIF for imports), quantity, ne |
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 or SITC commodity filter whose codes |
comtrade_get_top_partners | Rank trading partners for a reporter by trade value for a given commodity and flow direction. Returns the top N partners sorted by descending value — answers "w |
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 |
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 partn |
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 |
comtrade_get_data_availability | Check which reporter/period/classification combinations have published data before querying trade. Returns datasets ordered by reporter code, newest period firs |
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 c |
Links: repository · JSON · first seen 2026-11-24 · days passed 2/2 · registry name io.github.cyanheads/un-comtrade-mcp-server