dev.tradestats/tradestats · v1.0.3 · productivity
TradeStats - customs trade statistics is healthy: it completed an MCP handshake in 2015 ms and exposes 24 tools.
Customs trade statistics API and MCP: monthly imports/exports by HS code and partner. JP, US, UK, EU
Endpoint: https://tradestats.dev/mcp (streamable-http)
No repository listed · Website · JSON · Add to my inventory
| Users (last 30 days) | 0 |
| Handshake | Healthy |
| Auth needed | None |
| Tool count | 24 |
| Latency | 2015 ms |
| Last checked (UTC) | 2026-11-30T20:15:17.759Z |
| Checked (UTC) | Status | Latency | Error |
|---|---|---|---|
| 2026-11-30T20:15:17.759Z | Healthy | 2015 | |
| 2026-11-28T10:40:10.915Z | Healthy | 1305 | |
| 2026-11-26T02:45:23.191Z | Healthy | 4735 | |
| 2026-11-23T20:45:55.470Z | Healthy | 5081 | |
| 2026-11-21T16:30:39.064Z | Healthy | 1390 | |
| 2026-11-19T13:50:15.507Z | Healthy | 4932 | |
| 2026-11-17T12:10:25.569Z | Healthy | 1481 | |
| 2026-11-15T12:00:46.614Z | Healthy | 4358 | |
| 2026-11-15T12:00:46.421Z | Healthy | 4499 |
search_items | Find 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 (kanji, katakana or hiragana) and search the Japanese product names of HS6, or of |
get_series | Monthly 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-year and month-over-month change, share of the country total and trailing-12-mon |
get_partners | Trading 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 change and rank; sort "growth" ranks by growth instead of size and, unless min_val |
get_ranking | Rankings 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 product code. kind "movers_up" / "movers_down": the products with the largest US-d |
get_balance | Trade 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 trade in one direction only shows the other side as 0 only when that direction i |
compare_countries | One 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: every reporter currently available, as listed by get_catalog) for one flow. Every country is measured over |
get_mirror_trade | Two 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 reporter JP, partner GB, flow export, code 8708 (auto parts) shows Japan's exports to |
get_item_summary | One-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 years earlier, top 20 partners plus "other", the fastest growing and declining par |
get_new_markets | Partner 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 below 100,000) and the previous 12 months were lower and under 100,000 US dollars |
get_seasonality | Seasonal 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 calendar month's share of the 3-year value total and of the 3-year quantity total, t |
get_catalog | Call this first. Describes what the service holds: the reporters (JP, US, GB, EU) with their currency, national code level, and for import and export the first month and the latest published month; per reporter also source (the agency to name when you cite the data) and latest_month (that reporter's |
report_data_issue | Report 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). Returns a report id; the text is stored for review by the operator and is never sh |
list_indicators | Call 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 passenger car and parts exports by destination). Each entry has its id, aliases in E |
get_indicator | Call 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 definition, the caveats and a fixed notice that the value is our own calculation and |
decompose_change | Splits 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 earlier, with the log-mean (LMDI) method, so the two effects add up to the change in |
get_supplier_dependency | Concentration 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 largest supplier and of the top three, the number of supplying countries, how hhi |
get_mirror_estimate | Estimate 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 bought from them) and flow "export" sums the reporters' imports from the target, ove |
get_breadth | How widespread a rise or fall in one country's trade is: for each month, the share of items (HS2 chapters, HS4 headings or HS6 subheadings, all or under one chapter) whose value in the latest window of 3 or 12 months is higher than in the same months a year earlier. Two shares are given because smal |
get_trade_shift | Trade around a month you name (a tariff, a quota or another policy date; this service keeps no list of policies): for one HS code of 2, 4 or 6 digits, the months before the event month and the months from it (the event month included) are each compared with the same months a year earlier, so the sea |
get_tariff_burden | Duty paid on imports as a share of their value, month by month, for one HS or national code (and optionally one partner country; default the world). Returns the calculated duty, the dutiable value, the consumption value and two effective rates: duty / consumption value (counted only where a duty is |
get_transport_mode | How an item arrives or leaves by method of transport, month by month: the value, the share of the total, the shipping weight and the value per kilogram of each mode (vessel, air, other), the change of the share against the same month a year earlier in percentage points, and containerized vessel ship |
get_landed_cost | What it costs to bring imports in, month by month: the general import value, the freight and insurance charges, the CIF value, the charges as a share of the value and the CIF value as a share of the general value. Imports only. Only reporters that publish charges have it (see get_catalog, "measures" |
get_drilldown | Which child items drove the change of an HS2, HS4 or HS6 item: for the month you name (default the latest) compared with the same month a year earlier (compare "yoy") or the month before ("mom"), each child gets its value, the earlier value, the change and its contribution to the parent's change (ch |
get_item_ports | Through which ports an item came in or went out, over a period you name (default the newest 12 months): for each port its value, its share of the item's total, the same months a year earlier and the change, the shipping weight where the source gives one, and (for the US) the value by method of trans |