Back to connectors
UN Comtrade logo

UN Comtrade

Live

Global bilateral trade flows by commodity: crude, refined products, LNG/LPG, coal.

Available tools

2 tools
ToolDescription
getTradeFlowsBilateral trade flows by reporter, partner, HS commodity, period (value USD, weight kg).
getServiceInfoEnergy HS codes, flow codes, common country codes, and caveats.

Setup

A few steps to connect your AI agents to UN Comtrade.

Get started
  1. 1

    Toggle Connector On

    Open /mcp and enable UN Comtrade with the toggle, no credentials needed.

  2. 2

    Start Querying

    Call getTradeFlows with reporterCode '842' (USA), period '2022', cmdCode '2709' (crude).

Connect to your AI assistant

Pick the tool your team uses for the exact setup steps.

  1. 1

    Open Claude settings

    Launch Claude, click the profile button (bottom left), and go to Settings.

  2. 2

    Access connectors

    Open the Connectors tab, scroll to the bottom, and click “Add custom connector”.

  3. 3

    Name your connector

    Enter any name you’d like for this connector.

  4. 4

    Get the connector URL

    Log in to PatchOps, open the /mcp page, and copy the connector URL you want to use.

  5. 5

    Add the connector

    Paste the URL into the “Remote MCP server URL” box and click Add.

  6. 6

    Start using

    Your UN Comtrade connector is ready to use in Claude.