Swedish personnummer/orgnr/bankgiro/OCR validation, kontonummer to IBAN, bankdagar.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add (or subtract) business days to a date using Swedish holidays (e.g. payment due dates).
YYYY-MM-DD
integer, may be negative
bank or work
Add (or subtract) business days to a date using Swedish holidays (e.g. payment due dates).
| Argument | Type | Description |
|---|---|---|
| date* | string | YYYY-MM-DD |
| days* | string | integer, may be negative |
| mode | string | bank or work |
{
"type": "object",
"required": [
"date",
"days"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"days": {
"type": "string",
"description": "integer, may be negative"
},
"mode": {
"enum": [
"bank",
"work"
],
"type": "string",
"description": "bank or work"
}
}
}Count Swedish business days after "from" up to and including "to".
| Argument | Type | Description |
|---|---|---|
| to* | string | YYYY-MM-DD |
| from* | string | YYYY-MM-DD |
| mode | string | bank or work |
{
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "YYYY-MM-DD"
},
"from": {
"type": "string",
"description": "YYYY-MM-DD"
},
"mode": {
"enum": [
"bank",
"work"
],
"type": "string",
"description": "bank or work"
}
}
}Generate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.
| Argument | Type | Description |
|---|---|---|
| base* | string | digits |
| length_digit | string | "true" to add length digit |
{
"type": "object",
"required": [
"base"
],
"properties": {
"base": {
"type": "string",
"description": "digits"
},
"length_digit": {
"enum": [
"true",
"false"
],
"type": "string",
"description": "\"true\" to add length digit"
}
}
}Look up bank name, BIC, IBAN id and account type for a Swedish clearing number.
| Argument | Type | Description |
|---|---|---|
| value* | string | first 4 digits of the account number |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "first 4 digits of the account number"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| number | string | full account digits, clearing first (optional if clearing+account given) |
| account | string | account number without clearing |
| clearing | string | clearing number (4 digits; 5 for Swedbank 8xxx) |
{
"type": "object",
"properties": {
"number": {
"type": "string",
"description": "full account digits, clearing first (optional if clearing+account given)"
},
"account": {
"type": "string",
"description": "account number without clearing"
},
"clearing": {
"type": "string",
"description": "clearing number (4 digits; 5 for Swedbank 8xxx)"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| date* | string | YYYY-MM-DD |
| mode | string | bank or work |
{
"type": "object",
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"description": "YYYY-MM-DD"
},
"mode": {
"enum": [
"bank",
"work"
],
"type": "string",
"description": "bank or work"
}
}
}List Swedish public holidays, eves and observances for a year (computed).
| Argument | Type | Description |
|---|---|---|
| year | string | 1900-2200 |
{
"type": "object",
"properties": {
"year": {
"type": "string",
"description": "1900-2200"
}
}
}Validate and format a Swedish bankgiro number.
| Argument | Type | Description |
|---|---|---|
| value* | string | e.g. 5402-9681 |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "e.g. 5402-9681"
}
}
}Validate any IBAN (ISO 13616 mod-97 + country length) and identify the bank for Swedish IBANs.
| Argument | Type | Description |
|---|---|---|
| value* | string | IBAN, spaces allowed |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "IBAN, spaces allowed"
}
}
}Validate a Swedish OCR payment reference (Luhn check digit, optional length digit).
| Argument | Type | Description |
|---|---|---|
| value* | string | OCR digits |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "OCR digits"
}
}
}Validate a Swedish organisationsnummer (or SE...01 VAT number); returns legal form hint and the derived Swedish VAT number.
| Argument | Type | Description |
|---|---|---|
| value* | string | e.g. 556036-0793 |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "e.g. 556036-0793"
}
}
}Validate a Swedish personnummer or samordningsnummer (format, Luhn checksum, birth date, age, gender). Checks format only; does not prove the person exists.
| Argument | Type | Description |
|---|---|---|
| value* | string | e.g. 811218-9876 or 198112189876 |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "e.g. 811218-9876 or 198112189876"
}
}
}Validate and format a Swedish plusgiro number.
| Argument | Type | Description |
|---|---|---|
| value* | string | e.g. 123456-6 |
{
"type": "object",
"required": [
"value"
],
"properties": {
"value": {
"type": "string",
"description": "e.g. 123456-6"
}
}
}