Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add cyanheads/un-comtrade-mcp-server --skill un-comtrade-guidegit clone --depth 1 https://github.com/cyanheads/un-comtrade-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/cyanheads/un-comtrade-mcp-server/un-comtrade-guide)<a href="https://agentmods.dev/skills/cyanheads/un-comtrade-mcp-server/un-comtrade-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/un-comtrade-mcp-server/un-comtrade-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/cyanheads/un-comtrade-mcp-server/un-comtrade-guide"><img src="https://agentmods.dev/badge/skills/cyanheads/un-comtrade-mcp-server/un-comtrade-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.01508 |
| Opus 5.5 | $0.00018 | $0.00603 |
| Sonnet 5.5 | $0.00009 | $0.00302 |
| Haiku 4.5 | $0.00005 | $0.00151 |
Grade A, and why
un-comtrade-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scope
Use UN Comtrade for reported international merchandise and services trade. It does not provide tariff schedules, national tariff-line detail, or observed transaction prices. Keyless preview supports focused analysis; a configured subscription key changes upstream access, not the need to verify completeness.
Identifiers
- Resolve countries with
comtrade_lookup_countriesfor the intended role. A partner area can be invalid as a reporter (World, Metropolitan France 250), while some groupings report (European Union, 97);validAsReporterandrolesettle it. Select the returned reporting identity rather than a familiar ISO numeric code: Comtrade's USA reporter is 842, while the similarly named 840 entry is not reporter-valid.comtrade://countriesenumerates the reference entries when browsing is needed. - Discover goods through
comtrade_search_commodities. Keep codes as strings, including leading zeros. The default HS catalog is useful for discovery; use the selected HS edition or SITC revision for historical meanings.comtrade://hs-classification/{level}navigates the default HS hierarchy, not historical editions. - Discover services through
comtrade_list_service_categories, which searches the combined EB catalog. Use its returned category and description together; numeric and SDMX category schemes coexist, so a familiar-looking code is not proof of meaning. Each category'sschemestags name the scheme catalogs (EB10, EB10S, EB02) that list its code.
Gates
- Before calling missing records zero trade, confirm the reporting identity, category, period, frequency, and classification. Check matching data availability; a published dataset does not guarantee a particular bilateral commodity row exists. Follow availability continuation before claiming the matching index is exhausted.
- Before comparing historical goods, inspect each row's
classificationCode. The same commodity code can change meaning across editions. Default HS queries return as-reported data, not a conversion to one common edition. Explicit HS editions are unavailable on keyless trade-data preview; do not silently replace an edition-converted request with HS. - Before reporting a complete series or ranking, inspect truncation, coverage, reference notices, and unserved inputs:
unservedPeriods,unservedReporters,unservedCmdCodes, andreportersWithoutRecords. Retrieve remaining periods, reporters, or codes separately. A reporter listed inreportersWithoutRecordsreturned no rows; read itsreferenceStatusandsuggestedReporterCodebefore concluding it has no trade, since a partner-only code such as 250 reports as 251. Missing descriptions do not justify guessing a commodity's meaning. - Before summing goods, choose one aggregation level and exclude overlapping parent/child codes and TOTAL rows from the same sum. World totals and country breakdowns are alternative views; do not add them together.
- Before computing balances or comparing mirror flows, align period, commodity definition, and reporting perspective. A missing import or export value is not zero. Preserve caveats about CIF/FOB valuation, timing, re-exports, and country definitions.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed 00d7398a5ee4
- 2d ago First seen · 57 lines · 45 tokens per session scan A 6add12557768
un-comtrade-guide is a skill published in the GitHub repository cyanheads/un-comtrade-mcp-server (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,508 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.
un-comtrade-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| un-comtrade-guidecyanheads/un-comtrade-mcp-server | Skill | 4 | yesterday | Apache-2.0 | A | 45 | Claude Code |
| open-meteo-guidecyanheads/open-meteo-mcp-server | Skill | 13 | 9d ago | Apache-2.0 | A | 103 | Claude Code |
| orcid-guidecyanheads/orcid-mcp-server | Skill | 6 | 9d ago | Apache-2.0 | A | 73 | Claude Code |
| exchange-rates-guidecyanheads/exchange-rates-mcp-server | Skill | 1 | 3d ago | Apache-2.0 | A | 57 | Claude Code |
| noaa-spaceweather-guidecyanheads/noaa-spaceweather-mcp-server | Skill | 4 | 8d ago | Apache-2.0 | A | 101 | Claude Code |
| devops-status-guidecyanheads/devops-status-mcp-server | Skill | 3 | 6d ago | Apache-2.0 | A | 109 | Claude Code |
| ensembl-guidecyanheads/ensembl-mcp-server | Skill | 3 | 8d ago | Apache-2.0 | A | 95 | Claude Code |