Agents Index

TradeStats - customs trade statistics

OnlineNew

Customs trade statistics API and MCP: monthly imports/exports by HS code and partner, Japan and UK.

Visit publisherConnectJSON

What it can do: 17 tools

  • search_itemsFind product codes of one reporter by words from the product name (customs wording, e.g. "lithium-ion", "frozen shrimp", "integrated circuits") or by a code prefix (digits, e.g. "8708" or "30"). Japanese words work too (
  • get_seriesMonthly time series for one product (HS2/4/6 or national code) of one reporter and partner country (default: world total). Per month: value and value_usd, quantity, kilograms, unit price (per unit and per kg), year-over-
  • get_partnersTrading partners of one reporter for one product. window 12 (default) covers the latest 12 months: each partner's 12-month value (and value_usd), share, year-over-year change against the previous 12 months, the 3-year ch
  • get_rankingRankings of one reporter for a month. kind "items_for_country": the largest products (at the chosen level) for a partner country (default: world total). kind "countries_for_item": the largest partner countries for one pr
  • get_balanceTrade balance of one reporter for a product and partner country (default: world total) by month: export value, import value and balance (exports minus imports), in the reporter's currency and in US dollars. A month with
  • compare_countriesOne product (HS2, HS4 or HS6 code, e.g. "850760" lithium-ion batteries, "8708" auto parts, "72" iron and steel, "030617" frozen shrimp) side by side across several reporting countries (default: all of JP, GB) for one flo
  • get_mirror_tradeTwo customs records of trade between two reporting countries: reporter's flow (export or import) with partner as the other side, next to the partner's opposite flow with the reporter as the other side. For example report
  • get_item_summaryOne-call overview of a product (HS2/4/6 or national code) of one reporter for the usual questions: a one-line summary (ai_context_summary, in US dollars), latest month, the last 12 months against the previous 12 and 3 ye
  • get_new_marketsPartner countries that are new or surging for one product of one reporter, comparing the latest 12 months with the 12 months before. "new": the 12-month value is at least min_value (default 1,000,000 US dollars; never be
  • get_seasonalitySeasonal pattern of one product of one reporter: for the 3 latest full calendar years before the year of the latest published month (data through 2026-08 gives 2023 to 2025; the years are stated in the answer), each cale
  • get_catalogCall this first. Describes what the service holds: the reporters (JP, GB) with their currency, national code level, and for import and export the first month and the latest published month; per reporter also source (the
  • report_data_issueReport a figure that looks wrong or a data problem you noticed (at most 10 reports per day per caller). Give the tool and arguments of the call in question and describe the problem in message (up to 2,000 characters). Re
  • list_indicatorsCall by name, no HS code needed: lists the named indicators this service computes from public customs statistics (for example the quarterly base price of domestic naphtha, naphtha import prices and origins, or Japan pass
  • get_indicatorCall by name, no HS code needed: returns one named indicator as a series (monthly or quarterly, newest first) with its latest value, year-on-year changes, a partner-country breakdown where the indicator has one, the defi
  • decompose_changeSplits the change in the value of a named indicator or of an HS code into a unit-value (price) effect and a volume effect: the latest window of 1, 3 or 12 months (default 12) is compared with the same months a year earli
  • get_supplier_dependencyConcentration of the supplying countries behind a named indicator or an HS code over the latest 12 months: the Herfindahl index (hhi, 0 to 1; score_points is the same figure on the 0 to 10,000 scale), the share of the la
  • get_mirror_estimateEstimate of one country's trade for a product from the records of the reporting countries that trade with it: for a target such as CN (China), flow "import" sums the reporters' exports to the target (what the target boug

Connect it

Claude Code
claude mcp add --transport http tradestats-customs-trade-statistics https://tradestats.dev/mcp
Claude.ai / ChatGPT
Settings → Connectors → Add custom connector
URL: https://tradestats.dev/mcp
Cursor (~/.cursor/mcp.json)
{
  "mcpServers": {
    "tradestats-customs-trade-statistics": {
      "url": "https://tradestats.dev/mcp"
    }
  }
}
VS Code (.vscode/mcp.json)
{
  "servers": {
    "tradestats-customs-trade-statistics": {
      "type": "http",
      "url": "https://tradestats.dev/mcp"
    }
  }
}

Questions

What does TradeStats - customs trade statistics do?

Customs trade statistics API and MCP: monthly imports/exports by HS code and partner, Japan and UK. It exposes 17 tools to AI assistants.

What tools does TradeStats - customs trade statistics provide?

17 tools, including search_items, get_series, get_partners, get_ranking, get_balance, compare_countries, get_mirror_trade, get_item_summary, get_new_markets, get_seasonality, get_catalog, report_data_issue….

How do I connect TradeStats - customs trade statistics to Claude, ChatGPT or Cursor?

Add the remote MCP endpoint https://tradestats.dev/mcp as a custom connector or MCP server. Copy-paste setup is on this page.

Does TradeStats - customs trade statistics require an account or API key?

No sign-in was needed to list its tools. Individual tools may still need an account or API key.

Is TradeStats - customs trade statistics online?

As of 2026-11-19 our probe found it online. It answered 100% of our last 3 checks.

Who publishes TradeStats - customs trade statistics?

tradestats.dev. The official MCP Registry verified that the publisher controls this domain before accepting the listing.

Similar in Government & Open Data