How to Use UN sanctions publication status in opencode
Returns publication metadata, including generation time, record hashes, and counts by sanctions regime. Use it to compare the available publication with your saved copy before collecting records.
Prompts to try with UN sanctions publication status in opencode
Copy an example into opencode, or ask in your own words.
Use UN sanctions publication status for the English edition and add its publication metadata to this project's import report.
Use UN sanctions publication status to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from UN sanctions publication status and tell me what changed since last week.
Check UN sanctions publication status and summarize what you find in three bullet points.
Pull the newest data from UN sanctions publication status and give me the result as a table.
How to set up UN sanctions publication status in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 sanctions publication status
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": "scsanctions-un-org/sanctions/source_status", "input": { "lang": "en" } }'
Then paste one of the prompts above: opencode finds UN sanctions publication status on Spiral, shows the price and runs it.
UN sanctions publication status providers and prices
Spiral runs UN sanctions publication status through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Lang | en, fr, ar, ru, sp, or ch | en | Language edition of the list: en (default), fr, ar, ru, sp (Spanish), ch (Chinese). The router's own codes; es and zh are not accepted upstream. Reference numbers and DATAIDs are the same in every edition, the publication id is not. |
Every API field of UN Security Council Consolidated Sanctions List · Source status is on its tool page: open its card above.
What can you do with UN sanctions publication status in opencode?
Build a supplier review feature that shows UN-listed business names and the evidence behind candidate matches. Use UN records and publication metadata to make the results inspectable in your application.
Supplier onboarding review
Check the available publication, collect the relevant UN records, search a prospective supplier's business name, and inspect candidate entries. Produce a review table showing names, aliases, addresses, and UN references.
Shipping counterparty review
Compare freight counterparties with UN-listed organizations. Use publication metadata and a collected snapshot to document the source, then search company names and examine the identifying details behind candidate matches.
Recurring business rescreening
Compare the available UN publication with the previous collection, refresh the organization records, and rerun business-name checks. Fetch candidate records to explain which aliases, addresses, or listing details need review.
Screening software validation
Use public listed organizations such as Korea Mining Development Trading Corporation as test cases. Compare name-search candidates with full records and the collected list, while retaining publication metadata with the test results.
Sanctions regime briefing
Collect organization records for a UN sanctions regime and summarize the published names, aliases, addresses, and listing dates. Use publication status to identify the edition behind the briefing and individual records for detailed examples.
More on UN sanctions publication status and opencode
Overview
UN sanctions publication status in other agents
Questions about UN sanctions publication status in opencode
Can opencode use UN sanctions publication status?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run UN sanctions publication status like any built-in tool.
How much does UN sanctions publication status cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use UN sanctions publication status in opencode?
No. Spiral runs UN sanctions publication status 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 sanctions publication status in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while UN sanctions publication status runs?
UN sanctions publication status runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Which sanctions does this source cover?
It covers individuals and entities subject to UN Security Council sanctions measures. Its coverage boundary is Security Council designations, so a search here does not answer whether a business appears on a separate national sanctions list.
When does the UN update the data?
Changes follow sanctions committee decisions. For the ISIL and Al-Qaida list, the UN says changes take effect on the list immediately after the relevant decision, and the consolidated list is updated following those changes.
Does every entry have complete identifying information?
No. The UN explicitly uses "na" when the responsible committee has not obtained a detail, so the published list can contain incomplete identifying information.
Is an alias match enough to identify a listed party?
An informal alias alone can be insufficient. The UN's listing form specifically says nicknames and other informal pseudonyms generally do not establish a positive identification by themselves.
Where can I check what changed?
The UN maintains a separate public change log. It records the change date, sanctions list, permanent reference numbers, update type, affected-entry count, and links to notifications.
Start using UN sanctions publication status in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


