SweKit - Swedish validators

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

使うべきか

品質と安全性

A
説明の品質
96%
スキーマの完全性
98%
命名の品質
94%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(1)

  • LOWTool 'swedish_date_info' description lacks action verbswedish_date_info 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,303トークン数(ツール定義)
~481 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.02%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "swekit": {
      "url": "https://swekit-api.erikssonanton2001.workers.dev/mcp"
    }
  }
}

リモートエンドポイント

https://swekit-api.erikssonanton2001.workers.dev/mcpstreamable-http

できること

ツール一覧

ツール(13)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢validate_personnummer(value)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "e.g. 811218-9876 or 198112189876"
    }
  },
  "required": [
    "value"
  ]
}
🟢validate_orgnr(value)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "e.g. 556036-0793"
    }
  },
  "required": [
    "value"
  ]
}
🟢validate_bankgiro(value)

Validate and format a Swedish bankgiro number.

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "e.g. 5402-9681"
    }
  },
  "required": [
    "value"
  ]
}
🟢validate_plusgiro(value)

Validate and format a Swedish plusgiro number.

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "e.g. 123456-6"
    }
  },
  "required": [
    "value"
  ]
}
🟢validate_ocr(value)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "OCR digits"
    }
  },
  "required": [
    "value"
  ]
}
🟢generate_ocr(base, length_digit)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "base": {
      "type": "string",
      "description": "digits"
    },
    "length_digit": {
      "type": "string",
      "description": "\"true\" to add length digit",
      "enum": [
        "true",
        "false"
      ]
    }
  },
  "required": [
    "base"
  ]
}
🟢swedish_account_to_iban(number, clearing, account)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string",
      "description": "full account digits, clearing first (optional if clearing+account given)"
    },
    "clearing": {
      "type": "string",
      "description": "clearing number (4 digits; 5 for Swedbank 8xxx)"
    },
    "account": {
      "type": "string",
      "description": "account number without clearing"
    }
  }
}
🟢validate_iban(value)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "IBAN, spaces allowed"
    }
  },
  "required": [
    "value"
  ]
}
🟢lookup_clearing_number(value)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "value": {
      "type": "string",
      "description": "first 4 digits of the account number"
    }
  },
  "required": [
    "value"
  ]
}
🟢swedish_holidays(year)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "year": {
      "type": "string",
      "description": "1900-2200"
    }
  }
}
🟢swedish_date_info(date, mode)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "mode": {
      "type": "string",
      "description": "bank or work",
      "enum": [
        "bank",
        "work"
      ]
    }
  },
  "required": [
    "date"
  ]
}
🟢add_business_days(date, days, mode)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "days": {
      "type": "string",
      "description": "integer, may be negative"
    },
    "mode": {
      "type": "string",
      "description": "bank or work",
      "enum": [
        "bank",
        "work"
      ]
    }
  },
  "required": [
    "date",
    "days"
  ]
}
🟢count_business_days(from, to, mode)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "to": {
      "type": "string",
      "description": "YYYY-MM-DD"
    },
    "mode": {
      "type": "string",
      "description": "bank or work",
      "enum": [
        "bank",
        "work"
      ]
    }
  },
  "required": [
    "from",
    "to"
  ]
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 13 件