Skip to content

SweKit - Swedish validators

by swekit-api.zenith-ops.workers.dev · remote · no sign-in to list tools · v0.1.0 · published by dev.workers.zenith-ops.swekit-api

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

Changes · 3

13 tools: 3 change things and 10 only read.

Scanned Oct 21, 2026

2 checks matched something in the tool definitions. No finding is not a safety guarantee. How the checks work.

claude mcp add --transport http swekit https://swekit-api.zenith-ops.workers.dev/mcp

Findings

Matches of fixed checks, with the text they matched.

2 warn
  • The server marks "generate_ocr" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "generate_ocr" says "generate": a word for a change.

    What this check looks for
  • The server marks "add_business_days" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

    Matched text

    annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "add_business_days" says "add": a word for a change.

    What this check looks for

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

13 tools

Changes things 3Claude Code: ask
  • add_business_daysAdd (or subtract) business days to a date using Swedish holidays (e.g.1 finding

    Why it is in this group

    • The name "add_business_days" says "add": a word for a change.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    Findings

    • Warn

      The server marks "add_business_days" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "add_business_days" says "add": a word for a change.

      What this check looks for
    Description, as the server wrote it
    Add (or subtract) business days to a date using Swedish holidays (e.g. payment due dates).

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • generate_ocrGenerate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.1 finding

    Why it is in this group

    • The name "generate_ocr" says "generate": a word for a change.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.

    Findings

    • Warn

      The server marks "generate_ocr" read-only (readOnlyHint: true), and its own name, description or input give the class "write".

      Matched text

      annotations: {"readOnlyHint":true,"idempotentHint":true,"openWorldHint":false}; The name "generate_ocr" says "generate": a word for a change.

      What this check looks for
    Description, as the server wrote it
    Generate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • swedish_date_infoWeekday (sv/en), ISO week, holiday names and business-day status for a date.No findings

    Why it is in this group

    • Nothing in its name or description says what it does, so it is counted as a write.
    • The server marks it read-only (readOnlyHint: true), but an annotation never lowers a class.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
Only reads 10Claude Code: allow
  • count_business_daysCount Swedish business days after "from" up to and including "to".No findings

    Why it is in this group

    • The name "count_business_days" says "count": a word for reading.
    Description, as the server wrote it
    Count Swedish business days after "from" up to and including "to".

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • lookup_clearing_numberLook up bank name, BIC, IBAN id and account type for a Swedish clearing number.No findings

    Why it is in this group

    • The name "lookup_clearing_number" says "lookup": a word for reading.
    Description, as the server wrote it
    Look up bank name, BIC, IBAN id and account type for a Swedish clearing number.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • swedish_account_to_ibanValidate a Swedish national bank account (clearing + account number, Bankgirot checksum rules) and convert it to IBAN using the official Bankinfrastruktur clearing table.No findings

    Why it is in this group

    • The description's first verb is "validate": a word for reading.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • swedish_holidaysList Swedish public holidays, eves and observances for a year (computed).No findings

    Why it is in this group

    • The description's first verb is "list": a word for reading.
    Description, as the server wrote it
    List Swedish public holidays, eves and observances for a year (computed).

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_bankgiroValidate and format a Swedish bankgiro number.No findings

    Why it is in this group

    • The name "validate_bankgiro" says "validate": a word for reading.
    Description, as the server wrote it
    Validate and format a Swedish bankgiro number.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_ibanValidate any IBAN (ISO 13616 mod-97 + country length) and identify the bank for Swedish IBANs.No findings

    Why it is in this group

    • The name "validate_iban" says "validate": a word for reading.
    Description, as the server wrote it
    Validate any IBAN (ISO 13616 mod-97 + country length) and identify the bank for Swedish IBANs.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_ocrValidate a Swedish OCR payment reference (Luhn check digit, optional length digit).No findings

    Why it is in this group

    • The name "validate_ocr" says "validate": a word for reading.
    Description, as the server wrote it
    Validate a Swedish OCR payment reference (Luhn check digit, optional length digit).

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_orgnrValidate a Swedish organisationsnummer (or SE...01 VAT number); returns legal form hint and the derived Swedish VAT number.No findings

    Why it is in this group

    • The name "validate_orgnr" says "validate": a word for reading.
    Description, as the server wrote it
    Validate a Swedish organisationsnummer (or SE...01 VAT number); returns legal form hint and the derived Swedish VAT number.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_personnummerValidate a Swedish personnummer or samordningsnummer (format, Luhn checksum, birth date, age, gender).No findings

    Why it is in this group

    • The name "validate_personnummer" says "validate": a word for reading.
    Description, as the server wrote it
    Validate a Swedish personnummer or samordningsnummer (format, Luhn checksum, birth date, age, gender). Checks format only; does not prove the person exists.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • validate_plusgiroValidate and format a Swedish plusgiro number.No findings

    Why it is in this group

    • The name "validate_plusgiro" says "validate": a word for reading.
    Description, as the server wrote it
    Validate and format a Swedish plusgiro number.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.1.0. Values in angle brackets are yours to fill in.

claude mcp add --transport http swekit https://swekit-api.zenith-ops.workers.dev/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__swekit__validate_personnummer",
      "mcp__swekit__validate_orgnr",
      "mcp__swekit__validate_bankgiro",
      "mcp__swekit__validate_plusgiro",
      "mcp__swekit__validate_ocr",
      "mcp__swekit__swedish_account_to_iban",
      "mcp__swekit__validate_iban",
      "mcp__swekit__lookup_clearing_number",
      "mcp__swekit__swedish_holidays",
      "mcp__swekit__count_business_days"
    ],
    "ask": [
      "mcp__swekit__generate_ocr",
      "mcp__swekit__swedish_date_info",
      "mcp__swekit__add_business_days"
    ],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as swekit. Review it before you use it.