← Back to search

io.github.cyanheads/un-comtrade-mcp-server

cyanheads Scanned 1d ago

UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.

B
89.5 / 100

Versions

0.1.2latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 9

comtrade_list_service_categories
annotations: verified low

List EBOPS 2010 service trade categories — the equivalent of comtrade_search_commodities

id string input object shown number output object parent string totalMatches number
readOnlyHint true openWorldHint false
comtrade_get_trade_balance
annotations: verified low

Compute the trade balance for a country over one or more periods — total exports minus

freq enum input object output object period string reporter_code number
readOnlyHint true openWorldHint true
comtrade_get_top_commodities
annotations: verified low

Rank commodity categories for a reporter by trade value for a given flow direction and period.

rank number input object output object period string cmdCode string cmdDesc string aggrLevel number flow_code enum reporterCode number reporterDesc string reporter_code number
readOnlyHint true openWorldHint true
comtrade_get_trade_flows
annotations: verified low

Fetch bilateral trade flow records — the primary data retrieval tool.

freq enum input object output object
readOnlyHint true openWorldHint true
comtrade_get_top_partners
annotations: verified low

Rank trading partners for a reporter by trade value for a given commodity and flow direction.

rank number input object output object period string cmdCode string flowCode string flow_code enum partnerCode number partnerDesc string reporterCode number reporterDesc string reporter_code number totalPartners number
readOnlyHint true openWorldHint true
comtrade_lookup_countries
annotations: verified low

Resolve country and area names to Comtrade M49 numeric codes used in all data queries.

id number iso2 string iso3 string input object output object
readOnlyHint true openWorldHint false
comtrade_search_commodities
annotations: verified low

Find HS commodity codes by keyword, partial description, or known code prefix.

id string input object output object
readOnlyHint true openWorldHint false
comtrade_get_data_availability
annotations: verified low

Check which reporter/period/classification combinations have published data before

freq enum input object output object period string freqCode string typeCode string reporterCode number reporterDesc string classificationCode string
readOnlyHint true openWorldHint false
comtrade_get_services_trade
annotations: verified low

Fetch international trade-in-services data (EBOPS 2010 classification).

input object shown number notice string output object records array reporter_code number
readOnlyHint true openWorldHint true

Permissions 2

shell high
Server uses shell capabilities via: child_process, spawn(), spawnSync()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 28

info
Tool 'comtrade_list_service_categories' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_trade_balance' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_top_commodities' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_trade_flows' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_top_partners' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_lookup_countries' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_search_commodities' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_data_availability' annotations are consistent annotation_checker · 80%
info
Tool 'comtrade_get_services_trade' annotations are consistent annotation_checker · 80%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
info
package.json metadata manifest_parser · 100%
info
Tool: comtrade_list_service_categories manifest_parser · 75%
info
Tool: comtrade_get_trade_balance manifest_parser · 75%
info
Tool: comtrade_get_top_commodities manifest_parser · 75%
info
Tool: comtrade_get_trade_flows manifest_parser · 75%
info
Tool: comtrade_get_top_partners manifest_parser · 75%
info
Tool: comtrade_lookup_countries manifest_parser · 75%
info
Tool: comtrade_search_commodities manifest_parser · 75%
info
Tool: comtrade_get_data_availability manifest_parser · 75%
info
Tool: comtrade_get_services_trade manifest_parser · 75%
info
Transport: streamable-http manifest_parser · 80%
info
Required env vars (4) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
high
Permission: shell access detected permission_analyzer · 95%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 11 components sbom_generator · 100%
high
Hardcoded Password found in cyanheads-un-comtrade-mcp-server-afab918/framework-skills/api-utils/references/security.md secret_scanner · 65%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%