How to Use GLEIF Golden Copy publication status in opencode
Returns the latest Golden Copy publication and information about available full and delta files. Use it to check for a new source publication before refreshing identity, relationship, or reporting-exception data.
Prompts to try with GLEIF Golden Copy publication status in opencode
Copy an example into opencode, or ask in your own words.
Use GLEIF Golden Copy publication status to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from GLEIF Golden Copy publication status and tell me what changed since last week.
Check GLEIF Golden Copy publication status and summarize what you find in three bullet points.
Pull the newest data from GLEIF Golden Copy publication status and give me the result as a table.
Check GLEIF Golden Copy publication status every morning and tell me only when something changed.
How to set up GLEIF Golden Copy 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 GLEIF Golden Copy 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": "gleif-org/entities/source_status", "input": { "filetype": "lei2" } }'
Then paste one of the prompts above: opencode finds GLEIF Golden Copy publication status on Spiral, shows the price and runs it.
GLEIF Golden Copy publication status providers and prices
Spiral runs GLEIF Golden Copy 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 |
|---|---|---|---|
| Filetype | lei2, rr, or repex | Restrict to one filetype (publishes/{filetype}/latest). Default: all three. |
Every API field of GLEIF · Source status is on its tool page: open its card above.
What can you do with GLEIF Golden Copy publication status in opencode?
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.
Refresh a relationship database
Start with current relationship records, check for new Golden Copy publications, and apply subsequent deltas. Use the latest changed records to update stored relationships.
More on GLEIF Golden Copy publication status and opencode
Overview
GLEIF Golden Copy publication status in other agents
Questions about GLEIF Golden Copy publication status in opencode
Can opencode use GLEIF Golden Copy publication status?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run GLEIF Golden Copy publication status like any built-in tool.
How much does GLEIF Golden Copy 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 GLEIF Golden Copy publication status in opencode?
No. Spiral runs GLEIF Golden Copy 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 GLEIF Golden Copy publication status in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while GLEIF Golden Copy publication status runs?
GLEIF Golden Copy publication status runs in the background. opencode 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.
Start using GLEIF Golden Copy 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


