SweKit - Swedish validators

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
96%
Integridad del esquema
98%
Calidad de los nombres
94%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (1)

  • LOWTool 'swedish_date_info' description lacks action verben swedish_date_info

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,303Tokens (definiciones de herramientas)
~481 BTamaño de respuesta típico
Impacto moderado en la atención (1.02% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

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

Puntos de conexión remotos

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

Qué puede hacer

Inventario de herramientas

Herramientas (13)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢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.

Esquema de entrada

{
  "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.

Esquema de entrada

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

Validate and format a Swedish bankgiro number.

Esquema de entrada

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

Validate and format a Swedish plusgiro number.

Esquema de entrada

{
  "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).

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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).

Esquema de entrada

{
  "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.

Esquema de entrada

{
  "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).

Esquema de entrada

{
  "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".

Esquema de entrada

{
  "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"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada13 herramientas