MCP directory
UC

Un Comtrade Mcp Server

by github.com/cyanheads · v0.5.0 · updated Nov 22, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://un-comtrade.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http un-comtrade-mcp-server https://un-comtrade.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • COMTRADE_CLAMP_LIMITS

    Serve up to 1,000 goods or services records when a larger page is requested. Set false to reject oversized page requests.

  • COMTRADE_SUBSCRIPTION_KEY

    Azure API Management key from comtradedeveloper.un.org. Optional — without it, tools fall back to the public preview endpoint (500-record cap).

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

npm

npx -y @cyanheads/[email protected]

Environment variables

  • COMTRADE_CLAMP_LIMITS

    Serve up to 1,000 goods or services records when a larger page is requested. Set false to reject oversized page requests.

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

More from github.com/cyanheads

More MCP servers