# SweKit - Swedish validators

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

- name: dev.workers.erikssonanton2001.swekit-api/swekit
- version: 0.1.0
- connection class: unknown (unknown)
- trust: 56/100 flags: no-repository
- quality: 81/100 (new)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/dev.workers.erikssonanton2001.swekit-api%2Fswekit
- tools: https://api.protogrid.dev/v1/servers/dev.workers.erikssonanton2001.swekit-api%2Fswekit/tools

**Not classified yet.** The remote endpoints have not been probed successfully, or the listing has nothing to connect to.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "swekit": {
      "type": "http",
      "url": "https://swekit-api.erikssonanton2001.workers.dev/mcp"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 13
- freshness: 100
- provenance: 55
- drivers: +dns-namespace +website -unreachable(2 failures) +updated-3d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 81/100 (new)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 86 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- pass `tools.annotations`: 13 of 13 tools declare readOnlyHint or destructiveHint
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: validate_iban (destructiveHint); count_business_days (destructiveHint); validate_orgnr (destructiveHint); …
- pass `tools.token_cost`: about 1,122 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool history recorded for 3 of the 7 days needed

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 13, about 1,122 tokens to load them all
- tool set hash: bfc8547b16914937714a9c6fa5695684
- badge: [![protogrid quality](https://protogrid.dev/badge/dev.workers.erikssonanton2001.swekit-api/swekit.svg)](https://protogrid.dev/servers/dev.workers.erikssonanton2001.swekit-api/swekit)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://swekit-api.erikssonanton2001.workers.dev/mcp (streamable-http, auth none, reachable false, uptime30d 0.8181818)

## Packages

_none_

## Tools (13)

- `add_business_days`: Add (or subtract) business days to a date using Swedish holidays (e.g. payment due dates).
- `count_business_days`: Count Swedish business days after "from" up to and including "to".
- `generate_ocr`: Generate a Swedish OCR reference (check digit, optional length digit) from a base number such as an invoice number.
- `lookup_clearing_number`: Look up bank name, BIC, IBAN id and account type for a Swedish clearing number.
- `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.
- `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.
- `swedish_holidays`: List Swedish public holidays, eves and observances for a year (computed).
- `validate_bankgiro`: Validate and format a Swedish bankgiro number.
- `validate_iban`: Validate any IBAN (ISO 13616 mod-97 + country length) and identify the bank for Swedish IBANs.
- `validate_ocr`: Validate a Swedish OCR payment reference (Luhn check digit, optional length digit).
- `validate_orgnr`: Validate a Swedish organisationsnummer (or SE...01 VAT number); returns legal form hint and the derived Swedish VAT number.
- `validate_personnummer`: Validate a Swedish personnummer or samordningsnummer (format, Luhn checksum, birth date, age, gender). Checks format only; does not prove the person exists.
- `validate_plusgiro`: Validate and format a Swedish plusgiro number.
