How to Use Latvia beneficial owner register in opencode
Returns a paginated snapshot of current beneficial-owner records linked to Latvian entities. Use it to measure ownership-data coverage or compare company ownership records across snapshots you retain.
Prompts to try with Latvia beneficial owner register in opencode
Copy an example into opencode, or ask in your own words.
Use Latvia beneficial owner register to calculate how many companies have reported ownership records, and implement a comparison against our previous saved snapshot.
Use Latvia beneficial owner register to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Latvia beneficial owner register and tell me what changed since last week.
Check Latvia beneficial owner register and summarize what you find in three bullet points.
Pull the newest data from Latvia beneficial owner register and give me the result as a table.
How to set up Latvia beneficial owner register 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 Latvia beneficial owner register
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": "data-gov-lv/company-registry/records_list", "input": { "limit": 1 } }'
Then paste one of the prompts above: opencode finds Latvia beneficial owner register on Spiral, shows the price and runs it.
Latvia beneficial owner register providers and prices
Spiral runs Latvia beneficial owner register 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 |
|---|---|---|---|
| Limit | 1 to 32000 | Rows per page, 1-32000 (CKAN clamps above 32000); default 5000 (~2.5 MB of output). |
Every API field of Register of Enterprises of Latvia open data (data.gov.lv) · Records list is on its tool page: open its card above.
What can you do with Latvia beneficial owner register in opencode?
Build a Latvian company reference table that joins registered business details with ownership records. A coding agent can add company-level comparisons to your project while keeping shareholding and beneficial-owner data separate.
Prepare supplier ownership reviews
Build a supplier reference table from company and ownership snapshots. Check publication versions, then confirm selected companies individually and compare their registered shareholdings with their beneficial-owner records.
Review changes in a supplier portfolio
Compare saved publications for changes in company details, beneficial-owner records, and share quantities. Recheck affected companies individually before preparing a business review queue.
Measure company ownership-data coverage
Join company, beneficial-owner, and shareholder snapshots by registration number. Report company-level coverage by legal form, check selected gaps individually, and keep each dataset's publication version with the analysis.
Validate a company-data import
Check publication versions and reconcile imported company, beneficial-owner, and shareholder tables. Use individual lookups to investigate mismatched company identifiers or ownership rows.
More on Latvia beneficial owner register and opencode
Overview
Latvia beneficial owner register in other agents
Questions about Latvia beneficial owner register in opencode
Can opencode use Latvia beneficial owner register?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Latvia beneficial owner register like any built-in tool.
How much does Latvia beneficial owner register 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 Latvia beneficial owner register in opencode?
No. Spiral runs Latvia beneficial owner register on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Latvia beneficial owner register in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Latvia beneficial owner register runs?
Latvia beneficial owner register runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Does the register cover only commercial companies?
The company dataset covers all entities registered in Latvia's Register of Enterprises. Its stated scope extends beyond commercial companies.
How fresh are the company and shareholder datasets?
The company register, SIA shareholding dataset, and AS shareholder dataset each specify daily updates. Their published schedule does not describe an immediate feed of changes.
Does the beneficial-owner file include former owners?
The file describes current beneficial owners who are natural persons. Build comparisons from saved snapshots when you need to study changes over time.
Are complete personal identity numbers included in the open data?
The Register describes partial personal identity numbers in its open data. When a personal identity number is absent, it publishes birth month and year.
What can shareholding records tell me about a company's capital?
The SIA and AS source tables include share quantity, nominal share value, and currency. Keep these registered shareholding figures separate from the beneficial-owner file, which describes current natural-person owners.
Start using Latvia beneficial owner register 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


