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

Hermes · Lead Gen

How to Use OpenSanctions entity search in Hermes

Returns matching entity records with country, topic, and source facets. Use it to find companies or vessels for further research; OpenSanctions says full-text search is unsuitable for building an automated screening process.

Prompts to try with OpenSanctions entity search in Hermes

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

Every morning, use OpenSanctions entity search to look up Sberbank. Compare the returned company records and source lists with the previous run, and summarize changes for review.

OpenSanctions entity searchHermes
Try asking
  • Every Friday, use OpenSanctions entity search to research Sovcomflot. Compare the returned company names, reasons for inclusion, and contributing sources with last week.

  • Every Monday at 9am: use OpenSanctions entity search to look this up and give me the result as a table.

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

  • Check OpenSanctions entity search and summarize what you find in three bullet points.

How to set up OpenSanctions entity search in Hermes

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

Use the Spiral skill

  1. Send Hermes 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 Spiral's MCP server

  1. Add the server and sign in

    Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

    hermes mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --auth oauth \
      --connect-timeout 300
  2. Check it

    In a chat that was already open, run /reload-mcp.

    hermes mcp list
    hermes mcp test spiral

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 entity search

    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/search_entities",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Hermes finds OpenSanctions entity search on Spiral, shows the price and runs it.

OpenSanctions entity search providers and prices

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

AlexandriaLead Gen
OpenSanctions · Search entities
opensanctions-org/sanctions-screening/search_entities

What can you do with OpenSanctions entity search in Hermes?

Produce a recurring review brief about selected public companies and the sources used to research them. An always-on agent can compare successive OpenSanctions responses and flag changes for investigation.

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.

Explain a company finding

Find a public company by name, then inspect its profile to distinguish sanctions records from other reasons for inclusion. Present the supporting records for a human review.

Questions about OpenSanctions entity search in Hermes

Can Hermes use OpenSanctions entity search?

Yes. Add Spiral to Hermes as an MCP server, and Hermes can find and run OpenSanctions entity search like any built-in tool.

How much does OpenSanctions entity search cost in Hermes?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Hermes plan is separate.

Do I need an Alexandria account to use OpenSanctions entity search in Hermes?

No. Spiral runs OpenSanctions entity search 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 entity search in Hermes?

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

Does Hermes wait while OpenSanctions entity search runs?

OpenSanctions entity search runs in the background. Hermes 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 entity search in Hermes

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

Paste this into Hermes:

Set up Hermes

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