INDIVIDUAL MCP TOOL
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.
LIVE ENDPOINT
https://tradestats.dev/mcp
Connect to this endpoint to inspect the live schema for get_balance and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Potential side effects detected · medium confidence · heuristic, not a guarantee.
- A tool name or description suggests a financial action.
Parent server
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.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.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.