tradestats.devMCP 服务器在线

TradeStats

您的 AI 可以读取的海关统计数据

以 API 和 MCP 服务器的形式提供 日本、美国、英国和欧盟 的月度进出口数据。用日常语言向您的 AI 助手提问,它会获取数据及其来源和统计口径。

USGBEUJP4 个报告方 · HS6 · 月度
4个地区,一次调用
24种分析工具
月度按产品和贸易伙伴划分
免费无需注册,无需密钥

一分钟内连接您的 AI

将服务器添加到您已在使用的助手,然后提问。

  • 日本从哪些国家进口液化天然气?供应商集中度是否在提高?
  • 比较美国、英国、欧盟和日本的永磁体进口。
  • 日本的原油进口支出上升是由价格还是数量变化导致的?
  • 英国何时进口的液化天然气最多?
连接

Claude Code

claude mcp add --transport http tradestats https://tradestats.dev/mcp

Cursor 和其他使用 MCP 配置文件的客户端

{"mcpServers":{"tradestats":{"url":"https://tradestats.dev/mcp"}}}

Claude、ChatGPT 等:使用此地址添加自定义连接器

https://tradestats.dev/mcp

点击一行将其选中,然后复制。 没有 MCP 客户端?告诉您的 AI:读取 https://tradestats.dev/llms.txt 并使用其中所述的 API。

可获取的数据

每张卡片都是一次调用返回的实时结果。请求内容显示在卡片下方,您或您的 AI 可以重复使用。

compare_countries

各地区分别从哪些国家进口永磁体?一次调用即可比较四个地区。

永磁体(HS 850511),进口,截至 2026-08 的 12 个月:最大供应国占比

日本35%Philippines · 进口额 $765 m(同比 +24%)
美国69%China · 进口额 $475 m(同比 +21%)
英国66%China · 进口额 $63 m(同比 +39%)
欧盟88%China · 进口额 $1.5 bn(同比 +39%)

一次调用即可返回所有可用地区的数据,单位为美元,并附各自的计价口径和贸易伙伴口径。

GET /api/v1/compare_countries?flow=import&code=850511
get_series

市场逐月增长了多少?

美国计算机及相关设备(HS 8471)进口额,月度(美元)

从 2024-01 的 $8.8 bn 到 2026-09 的 $50.4 bn:增长至 5.7 倍。

每行都包含同比和环比变化;来源提供时,还包括单位价格、数量、移动平均值和异常评分。曲线显示发生了什么,不说明原因。

GET /api/v1/get_series?reporter=US&flow=import&code=8471&from=2024-01
get_partners

一种产品来自哪里?贸易伙伴分布有多集中?

日本液化天然气(HS 271111)进口,截至 2026-09 的 12 个月

Australia$14.9 bn占比 39% · 同比 -7%
Malaysia$5.4 bn占比 14% · 同比 -6%
United States$3.7 bn占比 10% · 同比 +33%
Russia$3.1 bn占比 8% · 同比 -12%
Papua New Guinea$2.3 bn占比 6% · 同比 -4%

贸易伙伴共 19 个;结果包括集中度指数、按增长率排名及三年来的变化。

GET /api/v1/get_partners?reporter=JP&flow=import&code=271111
get_supplier_dependency

供应是否变得更加集中?集中在哪些供应国?

液化天然气进口(HS 271111):最大供应国占比及集中度(HHI),三年前 → 现在

欧盟57%United States · HHI 0.21 → 0.36 · 集中度提高 · 数据截至 2026-08
英国77%United States · HHI 0.43 → 0.60 · 集中度提高 · 数据截至 2026-08
美国66%Trinidad and Tobago · HHI 0.57 → 0.51 · 多元化程度提高 · 数据截至 2026-09
日本39%Australia · HHI 0.24 → 0.20 · 多元化程度提高 · 数据截至 2026-09

变化方向标签说明所用的阈值。欧盟、美国和日本采用原产国口径;英国采用发货地口径。

GET /api/v1/get_supplier_dependency?reporter=EU&flow=import&code=271111
decompose_change

进口支出变化是由价格还是数量变化导致的?

日本原油进口,截至 2026-09 的 12 个月

金额+8.6%日元
价格影响+¥1.79 tn每千克 +19%
数量影响−¥0.94 tn-8.8%

日本锂离子电池进口(美元)采用同样的计算:数量 +110%,单位价格 -18%。

根据公开统计数据计算,标记为单位价值,而非价格指数。对于来源数据未提供重量的项目,会说明原因而不返回数值。

GET /api/v1/decompose_change?reporter=JP&flow=import&code=2709&window=12
get_seasonality

贸易在哪个月达到峰值?这种季节性有多规律?

英国液化天然气进口:各月占全年比例(2023-2025)

1月2月3月4月5月6月7月8月9月10月11月12月

1月占全年 24%(各年介于 15% 至 26%);7月占 1%。

按日历年统计,并显示最高年与最低年之间的差距。季节性规律不明确时,结果会说明原因,而不作推测。

GET /api/v1/get_seasonality?reporter=GB&flow=import&code=271111
get_mirror_trade

两国对同一笔贸易的统计记录是否一致?

日本对美国出口与美国自日本进口对比,截至 2026-09 的 12 个月

汽车:日本统计$35.5 bn
汽车:美国统计$36.4 bn比率 1.03
芯片:日本统计$754 m
芯片:美国统计$2.2 bn比率 2.9

汽车为 HS 8703,芯片(集成电路)为 HS 8542。出口采用 FOB,进口采用 CIF,因此两者预计会有差额;结果会列出统计口径差异,供进一步调查。

GET /api/v1/get_mirror_trade?reporter=JP&partner=US&flow=export&code=8542
get_breadth

进口增长是普遍现象,还是由少数项目带动?

日本进口,2026-09

增长的 HS4 品目58%共 1,140 个
按金额70%
进口总额+6.2%同比

按数量和金额统计增长品目占比的月度序列。

GET /api/v1/get_breadth?reporter=JP&flow=import&level=hs4&window=12

参考

如何连接、国家和工具、数据来源、API 密钥和来源。

Monthly customs trade statistics (imports and exports) of Japan, the United States, the United Kingdom and the European Union, by HS product code and partner country, for AI agents and developers. Operated by Washu Trading LLC.

Connect

Countries and tools

Every data tool takes reporter, the country whose customs statistics are read: JP (Japan), US (United States), GB (United Kingdom), EU (European Union (27 member states)). EU is HS6 only (no national-level codes) and its values are in EUR. The latest month of each country and flow is in get_catalog (latest_month, published_through); check it before relying on recent months. Use compare_countries to put one product side by side across the countries, and get_mirror_trade to check one country's exports to another against that country's imports, and get_mirror_estimate to estimate the trade of a country without data here (for example China) from the records of the reporters that trade with it. Start with get_catalog.

Where the figures come from

Pages

Read the data as web pages, without the API: Japan's monthly export and import statistics by statistical code (HS4, chapter and section), with unit prices, year-on-year changes and partner shares. English: /en/ · 日本語: /ja/. Each page links to the API and MCP call for the same product.

Example

curl "https://tradestats.dev/api/v1/get_catalog"
curl "https://tradestats.dev/api/v1/get_item_summary?reporter=GB&flow=import&code=850760"

API keys

An API key is optional. Without one you get the full history, with top-20 rankings; a free key raises ranking sizes and daily limits. Keyless access is also limited per IP address and per network, so callers on a shared network can reach their limits sooner.

Sources

How the figures are checked: Data verification. Machine-readable description of the dataset: /dataset.

Home · llms.txt · Pricing · Terms · Privacy · Refunds · Verification