SweKit - Swedish validators

dev.workers.zenith-ops.swekit-apiPublished by swekit-api.zenith-ops.workers.devOfficial publisherv0.1.0Updated Oct 27, 2026

Swedish personnummer/orgnr/bankgiro/OCR validation, kontonummer to IBAN, bankdagar.

VerifiedStreamable HTTPWeb executableFinanceDeveloper Tools

Overview

AI-generated overview

Remote MCP server with Swedish validators for personnummer, organisationsnummer, bankgiro, plusgiro, OCR references, IBAN and Swedish business days.

What you can do
  • Validate Swedish identity and company numbers: personnummer/samordningsnummer with Luhn, birth date, age and gender, and organisationsnummer with legal form and derived VAT number.
  • Validate and format payment details: bankgiro, plusgiro, OCR references (also generate OCR from a base number), and any IBAN.
  • Convert Swedish clearing plus account number to IBAN, and look up bank name, BIC and account type for a clearing number.
  • Work with Swedish dates: list public holidays, eves and observances, get weekday, ISO week and business-day status, and add or count business days.
When to use it
Useful when an assistant handles Swedish administrative data — checking customer or supplier numbers, preparing invoices and payment references, or computing due dates around Swedish holidays.
Requirements
A remote streamable HTTP endpoint; no package, account, API key or environment variable is declared.
Before you install
Validation checks format and checksums only and does not prove a person or company exists. Personnummer and account details are sensitive personal and financial data, so consider what is sent to this third-party endpoint.

Installation

In SourceWeft

  1. Open SweKit - Swedish validators in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.workers.zenith-ops.swekit-api%2Fswekit/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "swekit-swedish-validators": {
      "type": "http",
      "url": "https://swekit-api.zenith-ops.workers.dev/mcp"
    }
  }
}

Tools

13

validate_personnummer

Validate a Swedish personnummer or samordningsnummer (format, Luhn checksum, birth date, age, gender). Checks format only; does not prove the person exists.

Parametersvaluerequired

validate_orgnr

Validate a Swedish organisationsnummer (or SE...01 VAT number); returns legal form hint and the derived Swedish VAT number.

Parametersvaluerequired

validate_bankgiro

Validate and format a Swedish bankgiro number.

Parametersvaluerequired

validate_plusgiro

Validate and format a Swedish plusgiro number.

Parametersvaluerequired

validate_ocr

Validate a Swedish OCR payment reference (Luhn check digit, optional length digit).

Parametersvaluerequired

generate_ocr

Generate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.

Parametersbaserequiredlength_digit

swedish_account_to_iban

Validate a Swedish national bank account (clearing + account number, Bankgirot checksum rules) and convert it to IBAN using the official Bankinfrastruktur clearing table. Returns bank, BIC, account type, IBAN.

Parametersnumberaccountclearing

validate_iban

Validate any IBAN (ISO 13616 mod-97 + country length) and identify the bank for Swedish IBANs.

Parametersvaluerequired

lookup_clearing_number

Look up bank name, BIC, IBAN id and account type for a Swedish clearing number.

Parametersvaluerequired

swedish_holidays

List Swedish public holidays, eves and observances for a year (computed).

Parametersyear

swedish_date_info

Weekday (sv/en), ISO week, holiday names and business-day status for a date. mode=bank treats midsommarafton, julafton and nyårsafton as non-business days.

Parametersdaterequiredmode

add_business_days

Add (or subtract) business days to a date using Swedish holidays (e.g. payment due dates).

Parametersdaterequireddaysrequiredmode

count_business_days

Count Swedish business days after "from" up to and including "to".

Parameterstorequiredfromrequiredmode

Version history

1
  1. v0.1.0LatestOct 18, 2026

Score

72% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts

    Publish an icon in the registry entry.

  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.