@pipeworx/sweden-company-register

Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/sweden-company-register’s. Install: one-click buttons

Connect to just the @pipeworx/sweden-company-register pack

https://gateway.pipeworx.io/sweden-company-register/mcp — only @pipeworx/sweden-company-register’s own tools, nothing else in the catalog.

No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.

Tools: 2

Swedish company register (Bolagsverket) as a searchable register: look up a company by organisation number, or search by name. Registered and deregistered legal entities, refreshed weekly.

Tools

  • se_company(organisation_number) — one company by 10-digit organisationsnummer (556703-7485 or 5567037485): name, other names, legal form (AB, HB, KB, BRF, EK, I, S, FL, …), registered or deregistered (with date and reason code), registration date, registered address, business description, ongoing liquidation/reconstruction proceeding. A mistyped number fails the check digit and says so; a 12-digit personal-number-shaped input is refused.
  • se_company_search(name, status?, legal_form?, city?, limit?) — word search on the company name, last word matched as a prefix, case and a/o-diacritic insensitive. Exact name ranks first, then names starting with the query, registered before deregistered.

Every response carries data_as_of (the publisher’s file date) and source. Output keys are stable for other tools to consume: register (SE-BOLAGSVERKET), jurisdiction (SE), registration_number (10 digits, text), organisation_number (hyphenated), name, legal_form (raw code) with legal_form_label, status (registered/deregistered), registered_address.

What is NOT here

Natural persons. The publisher’s file also lists sole traders (enskilda firmor), estates of deceased persons and entries keyed by personal identity number: about 1.04M of its 2.99M rows. All of those are dropped before anything is stored, so they cannot be looked up or searched, and a 12-digit personal-number-shaped input is refused. No officers, board members or owner names are served: no ruling covers them for this pack. A c/o address line (which names a person) is dropped. The address returned is the company’s own registered address.

Source and reuse terms

Publisher: Bolagsverket, the Swedish Companies Registration Office. Dataset: its open company data (company basic data), published as a high-value dataset, updated weekly (the file’s last-modified date has been a Monday).

Reuse terms, as stated by Bolagsverket (quoted from its pages on downloadable files and high-value datasets; the pages sit behind a bot check, so these sentences were read through a search excerpt, not the live page, and should be re-read there):

  • “Det kostar ingenting och det kravs inga avtal. Vara filer uppdateras veckovis.”
  • “Nar det galler vardefulla datamangder … Du far anvanda dessa data fritt for kommersiella och icke-kommersiella syften” (subject to the rules on personal data and confidentiality).

Bolagsverket’s separate statistics files carry CC BY 2.5 SE; the company bulk file is not labelled with a licence in that table. We hold the company file only. This is a mirrored dataset: the publisher states free reuse including commercial, which is what permits the copy. Attribution travels in every response’s source field.

BUDGET

D1 database pipeworx-se-company-register (binding SE_COMPANY_DB, a D1 binding: zero of the gateway’s 250 text bindings). Unit prices: Workers Paid, 2026-11 (CLAUDE.md “A copy has a BUDGET”).

  • Measured on the 2026-11-16 cut: 2,988,640 source rows, of which 1,947,562 legal entities are kept (1,040,973 natural-person rows, 2 estates, 68 sole traders dropped).
  • One-time load: 1,947,562 companies rows + one unique-index entry each + about 2 FTS rows each = ~4 rows per entity, ~7.8M rows, ~$8 at list. Pessimistic bound at Japan’s measured 9x (trigram FTS, which this pack does not use): ~17.5M rows, ~$17.5. Under the $50 threshold. The actual figure from the load is in the “Load record” below.
  • Steady state: weekly delta load (scripts/lib/d1-delta-load), only changed rows written, ~8-9 rows per changed entity (delete + insert in the table, its index and the FTS index). Assuming 40k changed entities/week (~10k new and ~7k deregistered registrations plus name, address and status changes): 160k/month x 9 = ~1.5M rows = ~$1.5/month. Ten times that is $15/month, under the $25 threshold. An unchanged file (same hash) writes zero rows. Storage ~1.2 GB D1 (inside the 5 GB included); the R2 snapshot (~1 GB) ~$0.02/month.
  • Refresh cadence: weekly, never more often than the publisher. No DROP and reimport anywhere (check-full-reload-guard); the first run is the one full load.
  • Cheaper options considered: Supabase rejected (3M rows of reference data on the billing database); R2 plus an in-isolate scan rejected (a 1.1 GB register does not fit a 128 MB isolate); trigram FTS rejected (about twice the index rows for a substring feature Swedish company search does not need); a name-prefix-only index rejected (misses every word after the first).

Known gaps

  • Word-prefix search, not substring: “bygg” finds “Byggnads AB” but not “Storbygg AB”.
  • The register carries one primary name plus secondary and foreign-language names (up to 12 kept); former names are not in the file.
  • Annual-report financials are a separate Bolagsverket dataset and are not in this pack.
  • No beneficial-owner or officer data.

Refresh

scripts/sweden-company-register/refresh.sh build|load|verify. The route and file name live only in that script.

Tools

  • se_company — Look up a Swedish company by organisation number in the Bolagsverket register.
  • se_company_search — Search Swedish companies by name in the Bolagsverket register.

Tools

  • se_company — Look up a Swedish company by organisation number in the Bolagsverket register.
  • se_company_search — Search Swedish companies by name in the Bolagsverket register.

Regenerated from source · build November 21, 2026