Spiral gives your agent every tool with one account. Browse the tools →

opencode · Lead Gen

How to Use OpenSanctions dataset details in opencode

Returns one dataset’s description, publisher, coverage, entity counts, update metadata, and download resources. Use it to understand the source behind a company finding or check whether a watchlist is still maintained.

Prompts to try with OpenSanctions dataset details in opencode

Copy an example into opencode, or ask in your own words.

Use OpenSanctions dataset details for us_ofac_sdn and add its publisher, coverage, entity counts, and update metadata to the project’s source detail view.

OpenSanctions dataset detailsopencode
Try asking
  • Use OpenSanctions dataset details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from OpenSanctions dataset details and tell me what changed since last week.

  • Check OpenSanctions dataset details and summarize what you find in three bullet points.

  • Pull the newest data from OpenSanctions dataset details and give me the result as a table.

How to set up OpenSanctions dataset details in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. 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
  2. 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
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run OpenSanctions dataset details

    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": "opensanctions-org/sanctions-screening/get_dataset",
        "input": {
          "dataset": "<dataset>"
        }
      }'

Then paste one of the prompts above: opencode finds OpenSanctions dataset details on Spiral, shows the price and runs it.

OpenSanctions dataset details providers and prices

Spiral runs OpenSanctions dataset details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
OpenSanctions · Get dataset
opensanctions-org/sanctions-screening/get_dataset

What can you do with OpenSanctions dataset details in opencode?

Build a company research view that connects findings to the watchlists behind them. OpenSanctions supplies entity records and source descriptions that a coding agent can organize into reviewable evidence.

Prepare a supplier research packet

Discover relevant sanctions sources, inspect their coverage, find a public supplier such as Sberbank, and examine its entity profile. Assemble the findings and contributing sources for a reviewer.

Compare sanctions authorities

Identify US and EU source datasets, read their descriptions, and investigate how a company appears in the returned records. Explain which authorities contribute to its profile.

Research a shipping company

Find sources relevant to maritime sanctions, inspect their coverage, and research Sovcomflot or another public shipping company. Examine returned sanctions records and business relationships for a shipping review.

Investigate procurement exclusions

Discover debarment sources and inspect their publishers and coverage. Browse relevant company records, then examine individual profiles to prepare a procurement research brief.

Review source maintenance

Build an inventory of relevant watchlists and compare their update metadata and maintenance status. Flag sources that need closer examination before they support a research report.

Questions about OpenSanctions dataset details in opencode

Can opencode use OpenSanctions dataset details?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run OpenSanctions dataset details like any built-in tool.

How much does OpenSanctions dataset details 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 OpenSanctions dataset details in opencode?

No. Spiral runs OpenSanctions dataset details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up OpenSanctions dataset details in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while OpenSanctions dataset details runs?

OpenSanctions dataset details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Is everyone listed in OpenSanctions sanctioned?

No. OpenSanctions also includes records connected to criminal matters and public office. A listing’s reason must be checked before describing it as a sanctions designation.

Where does OpenSanctions get its information?

It collects records from sanctions authorities, government registries, and public records worldwide. Dataset descriptions identify publishers and explain source coverage.

Does OpenSanctions cover procurement bans?

Yes. Its inclusion criteria explicitly cover companies and individuals excluded or debarred from procurement, extending its coverage beyond sanctions lists.

What tells me whether a source is maintained?

OpenSanctions dataset metadata includes maintenance status, update timestamps, and temporal coverage. These describe the individual source rather than promising one update schedule for every dataset.

Why does a search result show less detail than an entity profile?

Search results contain the entity’s own properties, including names, identifiers, and key dates. Detailed relationships are retrieved through an entity lookup.

Get started

Start using OpenSanctions dataset details in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options