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

Windsurf · Lead Gen

How to Use GLEIF direct parent in Windsurf

Returns the reported direct accounting-consolidating parent or a reporting exception. Use it to identify the closest consolidating entity and preserve the reason when a parent link is unavailable.

Prompts to try with GLEIF direct parent in Windsurf

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

Use GLEIF direct parent for HSBC Bank plc after resolving its exact LEI. Add the reported parent or reporting exception to my project's corporate structure example.

GLEIF direct parentWindsurf
Try asking
  • Use GLEIF direct parent to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from GLEIF direct parent and tell me what changed since last week.

  • Check GLEIF direct parent and summarize what you find in three bullet points.

  • Pull the newest data from GLEIF direct parent and give me the result as a table.

How to set up GLEIF direct parent in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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 GLEIF direct parent

    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": "gleif-org/entities/direct_parent",
        "input": {
          "lei": "<lei>"
        }
      }'

Then paste one of the prompts above: Windsurf finds GLEIF direct parent on Spiral, shows the price and runs it.

GLEIF direct parent providers and prices

Spiral runs GLEIF direct parent through Alexandria. Open a card for today's price, with every fee included.

AlexandriaLead Gen
GLEIF · Direct parent
gleif-org/entities/direct_parent

What can you do with GLEIF direct parent in Windsurf?

Build a company reference table and reported consolidation chart inside your project. A coding agent can join LEI identities to parent and child relationships while keeping reporting exceptions visible.

Maintain corporate account structures

Resolve customer company names, review their LEI records, and connect reported direct and ultimate parents and children. Use relationship files for larger account portfolios and publication checks and deltas to maintain the results.

Review supplier concentration

Match supplier names to legal entities and examine which suppliers share a reported ultimate consolidator. Check the consolidator's reported children, inspect direct links, and maintain a portfolio relationship dataset as new publications appear.

Prepare counterparty research briefs

Identify the contracting legal entity and summarize its reported consolidation structure. Combine individual identity and relationship lookups with a maintained relationship dataset when preparing briefs for many counterparties.

Review reported corporate restructuring

Compare maintained LEI identities and consolidation links with newly published records. Review affected parents and children to identify changes that warrant investigation, while retaining reporting exceptions.

Build a consolidation chart

Draw the reported direct-parent structure and show ultimate-consolidator associations separately. Include the reported children and label gaps caused by reporting exceptions.

Explain gaps in parent reporting

Review direct and ultimate parent responses and their reporting exceptions. Distinguish an unavailable parent identifier or non-disclosure from a reported absence of an accounting-consolidating parent.

Questions about GLEIF direct parent in Windsurf

Can Windsurf use GLEIF direct parent?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run GLEIF direct parent like any built-in tool.

How much does GLEIF direct parent cost in Windsurf?

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

Do I need an Alexandria account to use GLEIF direct parent in Windsurf?

No. Spiral runs GLEIF direct parent on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up GLEIF direct parent in Windsurf?

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

Does Windsurf wait while GLEIF direct parent runs?

GLEIF direct parent runs in the background. Windsurf starts the run, checks on it and gives you the json when it's ready.

Does GLEIF cover every company?

GLEIF covers entities identifiable with an LEI. The Global LEI Index contains historical and current LEI records, so it should not be treated as a census of every registered business.

How often does GLEIF publish updated files?

Golden Copy files are published three times daily, at 02:00, 10:00, and 18:00 UTC. That publication schedule is different from the annual revalidation of an entity's reference data.

Does a parent link identify the beneficial owner?

GLEIF's direct and ultimate parent links use accounting consolidation. The direct parent is the lowest consolidating entity, while the ultimate parent is the highest consolidating entity.

Why can parent information be missing?

GLEIF records reporting exceptions for situations such as a parent without an LEI or exceptional non-disclosure. Its relationship records cover parents with LEIs, so an absent link does not prove that an entity has no parent.

What period do change files cover?

GLEIF supplies delta windows of eight hours, 24 hours, seven days, and 31 days. The files contain the latest versions of changed records, so they do not preserve every intermediate edit.

Get started

Start using GLEIF direct parent in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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