プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

klaws — Korean compliance risk scanner

作者:rostradamusバージョン 0.1.6i★ –iパソコンで動く
レジストリ名io.github.rostradamus/klaws

インストール

概要

作者による説明(英語の原文)

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

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • DockerDockerのインストール

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

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

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "klaws": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/rostradamus/klaws:0.1.6"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント rostradamus で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32727件のうち0%よりスターが多い
  • このカテゴリのほかの32727件のうち16%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32727件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

klaws — Korean compliance risk scannerは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.6)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにDockerも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, Foliosio

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

Foliosio

作者:foliosio.com

Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

klaws

한국어

Korean law compliance risk scanner for codebases. Scans source code for patterns that may indicate compliance risks under Korean law and maps findings to specific legal provisions. Runs as an MCP server (so AI coding assistants can scan on request) and as a standalone CLI.

Currently covers PIPA (Personal Information Protection Act), the Network Act (정보통신망법), the Credit Information Act (신용정보법), and the E-Commerce Act (전자상거래법).

Disclaimer: klaws identifies possible compliance risks for review. It does not constitute legal advice. Consult qualified legal counsel for definitive guidance.

Privacy: klaws analyzes code locally and transmits nothing. The only outbound network call is the optional --live law lookup to law.go.kr; without that flag it is fully offline. See Privacy & Security.

Quick Start

# Scan the current directory with Docker — no install needed

docker run --rm -v "$PWD":/src:ro ghcr.io/rostradamus/klaws scan /src

...or, if you installed the binary:

klaws scan ./my-project # scan a directory klaws scan ./MyService.java # scan a single file

Installation

Docker (recommended)

No toolchain required — the image is published to GitHub Container Registry and works identically on macOS, Linux, and Windows:

# Scan the current directory (mount it read-only at /src)

docker run --rm -v "$PWD":/src:ro ghcr.io/rostradamus/klaws scan /src

Pin a version instead of the floating latest tag

docker run --rm -v "$PWD":/src:ro ghcr.io/rostradamus/klaws:0.1.6 scan /src

Prebuilt binary

Download the archive for your platform from the latest release, extract it, and move klaws onto your PATH.

go install
go install github.com/rostradamus/klaws/cmd/klaws@latest
From source

Requirements: Go 1.23+

git clone https://github.com/rostradamus/klaws.git

cd klaws go build -o klaws ./cmd/klaws/

Verify the install:

klaws --version

Usage

Scan
# Scan a directory (default: *.java files)

klaws scan ./src

Scan specific file types

klaws scan ./src --pattern "*.kt"

Text output (default is JSON)

klaws scan ./src --format text

SARIF output (for GitHub code scanning / other tools)

klaws scan ./src --format sarif > klaws.sarif

Fail the command (exit 1) if any finding is at or above a severity

klaws scan ./src --fail-on HIGH

Use a custom laws file

klaws scan ./src --laws ./my-laws.yaml

Example Output
klaws scan report

Target: ./testdata Files: 4 Findings: 7

--- Finding 1 --- Detector: PIPA-CST-001 Risk: HIGH Location: testdata/MemberController.java:10 Snippet: @PostMapping("/register") Message: Endpoint accepts possible personal data without apparent consent mechanism — may require review under PIPA Article 15 Laws: PIPA-15

--- Finding 2 --- Detector: PIPA-ENC-001 Risk: HIGH Location: testdata/MemberEntity.java:11 Snippet: private String residentNumber; Message: Possible unencrypted personal identifier (residentNumber) — may require review under PIPA Article 24-2 Laws: PIPA-24-2, PIPA-29

--- Finding 3 --- Detector: PIPA-LOG-001 Risk: MEDIUM Location: testdata/UserService.java:11 Snippet: log.info("User registered: " + email); Message: Possible personal data (email) in log output — may require review under PIPA Article 29 Laws: PIPA-29

Look Up Law Provisions
# Look up from bundled database

klaws law PIPA-15

Fetch live text from law.go.kr

klaws law PIPA-15 --live

List Detectors
klaws detectors
[

{ "id": "PIPA-LOG-001", "name": "Personal Data Logging Risk", "description": "Detects log statements that may contain personal data fields", "related_laws": ["PIPA-29"] }, { "id": "PIPA-ENC-001", "name": "Unencrypted Personal Data Risk", "description": "Detects personal identifier fields stored without apparent encryption", "related_laws": ["PIPA-24-2", "PIPA-29"] }, { "id": "PIPA-CST-001", "name": "Missing Consent Check Risk", "description": "Detects endpoints accepting personal data without apparent consent verification", "related_laws": ["PIPA-15"] } ]

Detectors

IDNameWhat it looks forRiskRelated Law
PIPA-LOG-001Personal Data Logginglog.*() calls containing personal data field names (email, phone, SSN, password)MEDIUMPIPA Art. 29
PIPA-ENC-001Unencrypted Personal DataSensitive identifier fields (resident number, SSN) without encryption annotations or callsHIGHPIPA Art. 24-2, 29
PIPA-CST-001Missing Consent Check@PostMapping/@PutMapping endpoints accepting personal data without consent verificationHIGHPIPA Art. 15
NIA-MKT-001Marketing Message ConsentAdvertising/marketing message dispatch (send/push) without an apparent opt-in consent checkMEDIUMNetwork Act Art. 50
CIA-ENC-001Unprotected Credit InformationCredit/financial identifier fields (card number, account number, credit score) without encryption or maskingHIGHCredit Information Act Art. 19
ECA-RET-001Transaction Record RetentionTransaction record fields (order/payment IDs) stored without apparent retention or preservation handlingMEDIUME-Commerce Act Art. 6
PIPA-RET-001Personal Data RetentionPersonal data fields (email, phone, resident number) stored without apparent destruction or retention-limit handlingMEDIUMPIPA Art. 21
PIPA-XBR-001Third-Party Data TransferPersonal data sent to a third-party or external endpoint (outbound call to an external URL/partner) without an apparent consent checkHIGHPIPA Art. 17

Detectors use regex-based pattern matching. They support both English and Korean field names (e.g., email/이메일, residentNumber/주민번호, consent/동의).

MCP Server

klaws can run as an MCP server, making its scanning capabilities available to AI coding assistants.

klaws serve
Available Tools
ToolDescription
scan_directoryScan a directory for compliance risks
scan_fileScan a single file
list_detectorsList all available detectors
get_law_referenceLook up a Korean law provision by ID
Configuration

All clients use the same launch command: klaws serve over stdio. Use the absolute path to the binary (run which klaws, or where klaws on Windows, to find it), or just klaws if it is on your PATH. Prefer not to install anything? Use the Docker variant below — it works in any client that supports stdio MCP servers.

Claude Code — ~/.claude/settings.json:

{

"mcpServers": { "klaws": { "command": "klaws", "args": ["serve"] } } }

Or add it in one command:

claude mcp add klaws -- klaws serve

Claude Desktop — claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "klaws": { "command": "klaws", "args": ["serve"] } } }

Cursor — ~/.cursor/mcp.json (or .cursor/mcp.json in a project):

{

"mcpServers": { "klaws": { "command": "klaws", "args": ["serve"] } } }

VS Code — .vscode/mcp.json:

{

"servers": { "klaws": { "command": "klaws", "args": ["serve"] } } }

Once connected, ask your assistant something like *"scan this directory for Korean compliance risks with klaws."*

Run the MCP server via Docker

No binary install needed — swap the command/args for a docker run that mounts the code you want scannable. The -i flag keeps stdin open for the stdio transport; --scan-root /src confines scans to the mounted directory:

{

"mcpServers": { "klaws": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "/absolute/path/to/your/project:/src:ro", "ghcr.io/rostradamus/klaws:latest", "serve", "--scan-root", "/src" ] } } }

Point the assistant at paths under /src (the container-side mount), e.g. *"scan /src for Korean compliance risks."*

Remote (Streamable HTTP)

By default klaws serve uses stdio (local). To run it as a remote MCP server over HTTP, pass --http:

klaws serve --http :8080

or via the published container image:

docker run --rm -p 8080:8080 ghcr.io/rostradamus/klaws serve --http :8080

The MCP endpoint is then available at http:// :8080/mcp (Streamable HTTP transport). Point an HTTP-capable MCP client at that URL.

Securing a remote server
klaws serve --http :8080 \

--auth-token "$(openssl rand -hex 32)" \ --scan-root /workspace

  • --auth-token — requires Authorization: Bearer on every HTTP request; unauthenticated requests get 401. Can also be supplied via the KLAWS_AUTH_TOKEN environment variable. Applies to --http only.
  • --scan-root — restricts scan_directory / scan_file to paths within ; requests for paths outside it are rejected. (Also honored in stdio mode.)

Notes:

- --auth-token provides bearer auth but not TLS. For untrusted networks, still terminate TLS at a reverse proxy / gateway in front of klaws.

- The scan_directory and scan_file tools read the server's filesystem (the paths you pass resolve on the host running klaws). For remote scanning, run klaws where the code lives (e.g. a CI runner with the repo checked out) and set --scan-root to that checkout. The get_law_reference and list_detectors tools have no filesystem dependency.

Bundled Law Provisions

klaws ships with 40 articles across 4 Korean laws embedded in the binary (no external files needed):

PIPA (개인정보 보호법) — 10 articles
IDArticleTopic
PIPA-15Art. 15Collection and use of personal information
PIPA-17Art. 17Provision to third parties
PIPA-18Art. 18Restriction on use beyond purpose
PIPA-21Art. 21Destruction of personal information
PIPA-23Art. 23Restriction on sensitive information
PIPA-24Art. 24Restriction on unique identification info
PIPA-24-2Art. 24-2Restrictions on resident registration numbers
PIPA-29Art. 29Duty of safety measures
PIPA-30Art. 30Privacy policy
PIPA-34Art. 34Notification of data breach
Network Act (정보통신망법) — 11 articles
IDArticleTopic
NIA-22Art. 22Consent for collection/use of personal info
NIA-23Art. 23Restriction on collection
NIA-23-2Art. 23-2Restriction on resident registration numbers
NIA-24Art. 24Restriction on use

| NIA-24-2 | Art

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く