io.github.cyanheads/un-comtrade-mcp-server
v0.2.0UN Comtrade international trade statistics via MCP. Country/HS lookups, flows, balances, rankings.
Endpoint health
online- Last checked
- 11/20/2026, 9:18:08 AM
- Latency
- 254 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.cyanheads%2Fun-comtrade-mcp-server
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.cyanheads/un-comtrade-mcp-server": {
"url": "https://un-comtrade.caseyjhand.com/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
10 shown · authentication unknown
Check Data Availability
comtrade_get_data_availability
Check which reporter/period/classification combinations have published data before constructing expensive trade queries. Returns dataset records with period, classification, record count, and first/latest release dates. Call this before querying recent periods — annual data is typically published 3–12 months after the reference year and not all countries report every year. Omit filters to browse the availability index, 50 rows by default. Continue with nextOffset using the same filters and limit.
Schema valid · SHA-256 289c9301165a…
View input schema
{ "type": "object", "properties": { "limit": { "default": 50, "description": "Maximum datasets returned per page; defaults to 50.", "type": "integer", "exclusiveMinimum": 0, "maximum": 9007199254740991 }, "offset": { "default": 0, "description": "Number of matching datasets to skip; use nextOffset to continue.", "type": "integer", "minimum": 0, "maximum": 9007199254740991 }, "reporter_code": { "description": "M49 reporter code to check. Omit to browse availability across all reporters.", "type": "integer", "minimum": 0, "maximum": 999 }, "period": { "description": "Period to check: YYYY (annual) or YYYYMM (monthly). Omit to see all available periods for the reporter.", "type": "string", "pattern": "^[0-9]{4}(?:0[1-9]|1[0-2])?$" }, "freq": { "description": "Frequency: A=annual YYYY, M=monthly YYYYMM (01–12). Omit to infer it from period, or annual when period is omitted too; an explicit value must match period.", "type": "string" }, "type_code": { "default": "C", "description": "Trade type: C=commodities (goods), S=services.", "type": "string" }, "classification": { "description": "Classification code filter (e.g. \"HS\", \"H6\", \"EB10\"). Omitted or blank defaults to HS for goods and EB10 for services.", "type": "string", "pattern": "^(?:[A-Z][A-Z0-9]*)?$" } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false }
Connections
streamable-http
https://un-comtrade.caseyjhand.com/mcp