dev.workers.erikssonanton2001.swekit-api/swekit·Utilities

SweKit - Swedish validators

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

Stars
—
Version
0.1.0
License
—
Review
Passed
Registry update
Oct 16, 2026

Connect

remote
Terminal
$claude mcp add --transport http swekit https://swekit-api.erikssonanton2001.workers.dev/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 51m ago.

tools
13 tools scanned
metadata
scanned

No findings.

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.

  • validate_orgnr

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

  • validate_bankgiro

    Validate and format a Swedish bankgiro number.

  • validate_plusgiro

    Validate and format a Swedish plusgiro number.

  • validate_ocr

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

  • generate_ocr

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

  • 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.

  • validate_iban

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

  • lookup_clearing_number

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

  • swedish_holidays

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

  • 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.

  • add_business_days

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

  • count_business_days

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

More in Utilities

Listing from the official MCP Registry.