SweKit - Swedish validators

dev.workers.zenith-ops.swekit-api由 swekit-api.zenith-ops.workers.dev 發布官方發布者v0.1.0更新於 Oct 27, 2026

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

已驗證Streamable HTTP可網頁執行金融開發者工具

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供瑞典個人號、組織號、銀行轉帳號、加轉號、OCR 參考號、IBAN 及瑞典營業日驗證工具。

可以做什麼
  • 驗證瑞典身分與企業編號:personnummer/samordningsnummer(格式、Luhn、出生日期、年齡、性別)以及 organisationsnummer(含法律形式與推導出的增值稅號)。
  • 驗證並格式化付款資訊:bankgiro、plusgiro、OCR 參考號(也可由基礎號碼產生 OCR)以及任意 IBAN。
  • 將瑞典清算號加帳號轉換為 IBAN,並依清算號查詢銀行名稱、BIC 與帳戶類型。
  • 處理瑞典日期:列出國定假日、節日前夕與紀念日,查詢星期、ISO 週與營業日狀態,並加減或計算營業日。
適用情境
適合助理處理瑞典行政資料時使用,例如核對客戶或供應商編號、準備發票與付款參考號,或依瑞典假日計算到期日。
執行需求
需要一個遠端 streamable HTTP 端點;未宣告任何套件、帳號、API 金鑰或環境變數。
安裝前請注意
驗證只檢查格式與檢查碼,無法證明個人或企業真實存在。個人號與帳戶資訊屬於敏感的個人與金融資料,請考慮傳送給此外部端點的內容。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 SweKit - Swedish validators,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.workers.zenith-ops.swekit-api%2Fswekit/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

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

工具

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.

輸入參數value必填

validate_orgnr

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

輸入參數value必填

validate_bankgiro

Validate and format a Swedish bankgiro number.

輸入參數value必填

validate_plusgiro

Validate and format a Swedish plusgiro number.

輸入參數value必填

validate_ocr

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

輸入參數value必填

generate_ocr

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

輸入參數base必填length_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.

輸入參數numberaccountclearing

validate_iban

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

輸入參數value必填

lookup_clearing_number

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

輸入參數value必填

swedish_holidays

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

輸入參數year

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.

輸入參數date必填mode

add_business_days

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

輸入參數date必填days必填mode

count_business_days

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

輸入參數to必填from必填mode

版本歷史

1
  1. v0.1.0最新Oct 18, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。