How to Use UN Comtrade recent releases in Gemini CLI
Find datasets first published or revised during the last seven days. Use this release list to identify which country and period figures need refreshing.
Prompts to try with UN Comtrade recent releases in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use UN Comtrade recent releases to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from UN Comtrade recent releases and tell me what changed since last week.
Check UN Comtrade recent releases and summarize what you find in three bullet points.
Pull the newest data from UN Comtrade recent releases and give me the result as a table.
Check UN Comtrade recent releases every morning and tell me only when something changed.
How to set up UN Comtrade recent releases in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run UN Comtrade recent releases
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "comtradeplus-un-org/trade-statistics/recent_releases", "input": { "reporter_code": "<reporter_code>" } }'
Then paste one of the prompts above: Gemini CLI finds UN Comtrade recent releases on Spiral, shows the price and runs it.
UN Comtrade recent releases providers and prices
Spiral runs UN Comtrade recent releases through Alexandria. Open a card for today's price, with every fee included.
What can you do with UN Comtrade recent releases in Gemini CLI?
Build an internal trade dashboard that pairs country and product figures with coverage, code descriptions, and publication notes. Coding agents can turn UN Comtrade results into tables and charts while preserving the reporter, period, and classification behind each observation.
Prepare an internal country trade briefing
Build a Germany briefing with historical trade totals, world trade share, and machinery exports. Check available periods and publication notes, resolve product codes, examine national product detail, and identify recent revisions before presenting the figures.
Maintain a monthly trade monitor
Watch Japan's new and revised releases, then refresh affected periods in an internal monitor. Combine headline totals, world share, and selected product flows with national tariff-line detail, keeping publication notes alongside the updated figures.
Examine national product detail
Investigate the national commodity lines beneath a US static-converter import category. Compare those records with the standardized product total, check the reported classification and compilation notes, and revisit the analysis when a revised dataset appears.
Update a quarterly economic review
Refresh an internal review of Canada, Mexico, and the United States with MBS trade totals and available world-share observations. Use releases, coverage information, and publication notes to explain which periods changed and which countries still lack comparable observations.
Refresh a research dataset after revisions
Maintain an internal dataset on Kenya's trade, including headline totals, coffee exports, national commodity detail, and world share. Use new release notices to select affected periods, reference tables to label observations, and publication notes to explain revisions.
More on UN Comtrade recent releases and Gemini CLI
Overview
UN Comtrade recent releases in other agents
Questions about UN Comtrade recent releases in Gemini CLI
Can Gemini CLI use UN Comtrade recent releases?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run UN Comtrade recent releases like any built-in tool.
How much does UN Comtrade recent releases cost in Gemini CLI?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use UN Comtrade recent releases in Gemini CLI?
No. Spiral runs UN Comtrade recent releases on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up UN Comtrade recent releases in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while UN Comtrade recent releases runs?
UN Comtrade recent releases runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Which countries and historical periods does UN Comtrade cover?
UN Comtrade contains goods and services statistics from nearly 200 countries and areas, with coverage extending back to 1962. Its standardized trade data leaves gaps where a country has not reported.
How often does UN Comtrade update country data?
There is no fixed country release date or refresh schedule. UN Comtrade processes submissions as they arrive, and the recent releases list covers first publications and revisions from the last seven days.
Can I recover an earlier version of a revised dataset?
UN Comtrade keeps only the latest version of each dataset and has no permanent archive of earlier versions. A published figure can therefore change after its initial release.
Does UN Comtrade identify individual buyers or suppliers?
No. It excludes exporter and importer names and contact details, shipment dates, and origin or destination port details; its statistics describe country trade rather than individual transactions.
Why can two countries report different values for the same trade?
UN Comtrade identifies three main causes of merchandise trade asymmetry: different partner attribution, CIF versus FOB valuation, and different trade systems. Publication notes help establish which practices each reporter uses.
Start using UN Comtrade recent releases in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


