Available tools
2 tools| Tool | Description |
|---|---|
getTradeFlows | Bilateral trade flows by reporter, partner, HS commodity, period (value USD, weight kg). |
getServiceInfo | Energy HS codes, flow codes, common country codes, and caveats. |
Setup
A few steps to connect your AI agents to UN Comtrade.
- 1
Toggle Connector On
Open /mcp and enable UN Comtrade with the toggle, no credentials needed.
- 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
Open Claude settings
Launch Claude, click the profile button (bottom left), and go to Settings.
- 2
Access connectors
Open the Connectors tab, scroll to the bottom, and click “Add custom connector”.
- 3
Name your connector
Enter any name you’d like for this connector.
- 4
Get the connector URL
Log in to PatchOps, open the /mcp page, and copy the connector URL you want to use.
- 5
Add the connector
Paste the URL into the “Remote MCP server URL” box and click Add.
- 6
Start using
Your UN Comtrade connector is ready to use in Claude.
