[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Latvia company register](https://spiral.ai/integrations/muse-code/latvia-company-register)

# How to Use Latvia company register in Muse Code

Returns the Latvian entity register as a paginated snapshot, including names, legal forms, and registered addresses. Use it to build a business reference table or compare company records across saved snapshots.

|  |  |
| --- | --- |
| Model | Latvia company register |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Latvia company register in Muse Code

- Use Latvia company register to build a local table of entities with registered addresses in Riga, grouped by legal form.
- Use Latvia company register to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Latvia company register and tell me what changed since last week.
- Check Latvia company register and summarize what you find in three bullet points.
- Pull the newest data from Latvia company register and give me the result as a table.

## How to set up Latvia company register in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Latvia company register**: One request; the result comes back by polling or a webhook.

```bash
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/companies_list",
    "input": {
      "limit": 1
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Latvia company register on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Latvia company register tools and prices

- [Register of Enterprises of Latvia open data (data.gov.lv) · Companies list](https://spiral.ai/tools/alexandria/data-gov-lv/company-registry/companies_list) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 32000 | — | Rows per page, 1-32000; default 5000. |
| cursor |  | — | `next_cursor` from the previous page. Pinned to the publication: when the file was republished since, the call fails with `invalid_input` / issue code `publication_changed` and listing must restart from the first page. |

## What can you do with Latvia company register in Muse Code?

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.

### Compare regional business populations

Group registered entities by legal form and registered address in Riga, Liepaja, or other Latvian locations. Confirm selected company records and compare results across saved publications.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Latvia company register in other agents

- [Amp](https://spiral.ai/integrations/amp/latvia-company-register)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/latvia-company-register)
- [Claude](https://spiral.ai/integrations/claude-desktop/latvia-company-register)
- [Claude Code](https://spiral.ai/integrations/claude-code/latvia-company-register)
- [Cline](https://spiral.ai/integrations/cline/latvia-company-register)
- [Codex](https://spiral.ai/integrations/codex/latvia-company-register)
- [Cursor](https://spiral.ai/integrations/cursor/latvia-company-register)
- [Devin](https://spiral.ai/integrations/devin/latvia-company-register)
- [dots](https://spiral.ai/integrations/dots/latvia-company-register)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/latvia-company-register)
- [Gemini](https://spiral.ai/integrations/gemini/latvia-company-register)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/latvia-company-register)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/latvia-company-register)
- [goose](https://spiral.ai/integrations/goose/latvia-company-register)
- [Grok](https://spiral.ai/integrations/grok/latvia-company-register)
- [Grok Build](https://spiral.ai/integrations/grok-build/latvia-company-register)
- [Hermes](https://spiral.ai/integrations/hermes/latvia-company-register)
- [Instinct](https://spiral.ai/integrations/instinct/latvia-company-register)
- [Manus](https://spiral.ai/integrations/manus/latvia-company-register)
- [Muse](https://spiral.ai/integrations/muse/latvia-company-register)
- [n8n](https://spiral.ai/integrations/n8n/latvia-company-register)
- [Notion](https://spiral.ai/integrations/notion/latvia-company-register)
- [OpenClaw](https://spiral.ai/integrations/openclaw/latvia-company-register)
- [opencode](https://spiral.ai/integrations/opencode/latvia-company-register)
- [Perplexity](https://spiral.ai/integrations/perplexity/latvia-company-register)
- [Raycast](https://spiral.ai/integrations/raycast/latvia-company-register)
- [VS Code](https://spiral.ai/integrations/vscode/latvia-company-register)
- [Windsurf](https://spiral.ai/integrations/windsurf/latvia-company-register)
- [Zapier](https://spiral.ai/integrations/zapier/latvia-company-register)

## More Muse Code guides

- [Latvia company details](https://spiral.ai/integrations/muse-code/latvia-company-details)
- [Latvia company shareholders](https://spiral.ai/integrations/muse-code/latvia-company-shareholders)
- [Latvia company beneficial owners](https://spiral.ai/integrations/muse-code/latvia-company-beneficial-owners)
- [Latvia registry publication status](https://spiral.ai/integrations/muse-code/latvia-registry-publication-status)
- [Latvia beneficial owner register](https://spiral.ai/integrations/muse-code/latvia-beneficial-owner-register)
- [LeadOcean company count](https://spiral.ai/integrations/muse-code/leadocean-company-count)

## Questions about Latvia company register in Muse Code

**Can Muse Code use Latvia company register?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Latvia company register like any built-in tool.

**How much does Latvia company register cost in Muse Code?**

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

**Do I need an Alexandria account to use Latvia company register in Muse Code?**

No. Spiral runs Latvia company 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 company register in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Latvia company register runs?**

Latvia company register runs in the background. Muse Code 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.

