# klaws — Korean compliance risk scanner (oci · ghcr.io/rostradamus/klaws:0.1.6)

Scan code for Korean compliance risks — PIPA/개인정보보호법, Network Act, Credit Info. Not legal advice.

- Trust score: 38/100 (low)
- Change this week: −6
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- oci · `ghcr.io/rostradamus/klaws:0.1.6`: 38/100 (this document), [markdown](https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6.md), [page](https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6)

## Channel facts

- Registry: `oci`
- Package: `ghcr.io/rostradamus/klaws:0.1.6`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 0/100
  - Malware scan not yet available for this package.
  - CVE data not yet available for this package.
  - Install-script risk not yet assessed.
  - Dependency-health data not yet available.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 25 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 72/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 699 tokens (~174/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

**Unverified: 2 categories.** Categories scored 0 because we could not verify them: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add rostradamus-klaws -- docker run --rm -i ghcr.io/rostradamus/klaws:0.1.6
```

### Codex

```bash
codex mcp add rostradamus-klaws -- docker run --rm -i ghcr.io/rostradamus/klaws:0.1.6
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "rostradamus-klaws": {
      "type": "local",
      "command": [
        "docker",
        "run",
        "--rm",
        "-i",
        "ghcr.io/rostradamus/klaws:0.1.6"
      ],
      "enabled": true
    }
  }
}
```

### Hermes

```yaml
mcp_servers:
  rostradamus-klaws:
    command: "docker"
    args: ["run", "--rm", "-i", "ghcr.io/rostradamus/klaws:0.1.6"]
```

### Other

```json
{
  "mcpServers": {
    "rostradamus-klaws": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "ghcr.io/rostradamus/klaws:0.1.6"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-07-31 (score 38, −6)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 44, +33)

- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: excellent
- [functional] First check of Tool coverage: 100
- [functional] First check of Schema quality: fail

### 2026-07-26 (score 11)

First indexed and scored.

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

## MCP tools (4)

### `get_law_reference` (~182 tokens)

Look up a bundled Korean law provision by ID and return its Korean and English names, a plain-language summary, the source URL on law.go.kr, a risk level, and (when available) the full Korean article text. Typically used to expand a related_laws ID returned by a scan. This is reference material, not legal advice.

Input parameters:

- `law_id` (string, required): Bundled provision ID. Examples by law: PIPA-15, PIPA-29 (개인정보 보호법); NIA-22, NIA-50 (정보통신망법); CIA-19 (신용정보법); ECA-6 (전자상거래법).
- `live` (boolean): If true, fetch the latest full text from law.go.kr (requires network access). If false (default), use the text bundled in the binary.

### `list_detectors` (~63 tokens)

List every available compliance risk detector with its id, name, description (the code pattern it looks for), and the related_laws it maps to. Use this to explain what klaws checks for, or to see which risks to expect before scanning. Takes no arguments.

### `scan_directory` (~178 tokens)

Scan all matching files in a directory tree for possible Korean compliance risks across PIPA, the Network Act, the Credit Information Act, and the E-Commerce Act. Returns a JSON report where each finding has a detector_id, risk_level (HIGH or MEDIUM), file_path, line_number, snippet, a hedged message, and related_laws (provision IDs you can pass to get_law_reference). Findings are possible risks for review, not legal conclusions. Use this for a whole project or folder; use scan_file for a single file.

Input parameters:

- `file_pattern` (string): Glob pattern selecting which files to scan. Defaults to *.java. Examples: "*.java", "*.kt". Detectors target Java/Kotlin-style source.
- `path` (string, required): Absolute path to the directory to scan (e.g. /Users/me/project/src).

### `scan_file` (~91 tokens)

Scan a single source file for possible Korean compliance risks and return the same JSON report shape as scan_directory. Use this to check one file (for example, the file currently being edited); use scan_directory to review a whole project. Findings are possible risks for review, not legal conclusions.

Input parameters:

- `path` (string, required): Absolute path to the file to scan (e.g. /Users/me/project/src/UserService.java).

## Diagnostics

Captured diagnostic sections: Provenance. The full working is on the page: https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6#diagnostics

## Score history

- 2026-08-03: 38
- 2026-08-02: 38
- 2026-08-01: 38
- 2026-07-31: 38
- 2026-07-30: 44
- 2026-07-29: 44
- 2026-07-28: 44
- 2026-07-27: 44
- 2026-07-26: 11

## Links

- Repository: https://github.com/rostradamus/klaws
- Changelog RSS feed: https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6/changelog.json
- HTML version of this page: https://verifymcp.io/servers/rostradamus-klaws/ghcr-io-rostradamus-klaws-0-1-6
