← tradestats.dev

INDIVIDUAL MCP TOOL

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 value exactly (check shows the residual).

tradestats.devnone authenticationAvailability not checked

LIVE ENDPOINT

https://tradestats.dev/mcp

No auth detected

Connect to this endpoint to inspect the live schema for decompose_change and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

tradestats.dev

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.tradestats]
url = "https://tradestats.dev/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "tradestats": {
      "type": "http",
      "url": "https://tradestats.dev/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: tradestats
Remote MCP URL: https://tradestats.dev/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

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

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "tradestats": {
      "type": "http",
      "url": "https://tradestats.dev/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "tradestats",
  "transport": "streamable-http",
  "url": "https://tradestats.dev/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • search_items — Find product codes of one reporter by words from the product name (customs wording, e.
  • get_series — Monthly time series for one product (HS2/4/6 or national code) of one reporter and partner country (default: world total).
  • get_partners — Trading partners of one reporter for one product.
  • get_ranking — Rankings of one reporter for a month.
  • 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.
  • compare_countries — One product (HS2, HS4 or HS6 code, e.
  • 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.
  • 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 partners, calendar-year totals, partner concentration, new markets, the seasonal peak and trough months (or seasonality_unavailable_reason) and an anomaly signal, with notes on gaps and non-comparable periods.