Back to connectors
US Foreign Trade logo

US Foreign Trade

Free

US Census Bureau imports and exports time series, by HS commodity, NAICS, US port, US state, and trading-partner country, with built-in CTY_CODE-to-ISO and HS chapter lookups.

No key required. Included on Free.

What you can ask

  • “What does US Foreign Trade have for the area or asset I'm working on?”
  • “Pull the most recent US Foreign Trade records and put them in a table.”
  • “What does US Foreign Trade cover, and how fresh is the data?”

Connect to your AI assistant

Paste this URL into Claude, ChatGPT, or any MCP client, then sign in when prompted. US Foreign Trade is ready as soon as you sign in.

https://patchops.ai/api/mcp

Claude: use Add to Claude, or Settings > Connectors > Add custom connector and paste the URL.

Claude Code

claude mcp add --transport http patchops https://patchops.ai/api/mcp

Step by step

  1. 1

    Open connectors

    In Claude, open Settings > Connectors and click "Add custom connector".

  2. 2

    Paste the URL

    Name it PatchOps and paste https://patchops.ai/api/mcp as the server URL, then click Add.

  3. 3

    Sign in

    Click Connect and sign in to PatchOps when Claude asks.

  4. 4

    Start using

    Ask Claude a question. It uses US Foreign Trade through PatchOps when it needs to.

› Technical details

US Census Bureau imports and exports time series, by HS commodity, NAICS, US port, US state, and trading-partner country, with built-in CTY_CODE-to-ISO and HS chapter lookups.