原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 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 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 法律与政府数据

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 rostradamus 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“法律与政府数据”中的其他服务器比较i

  • 星标数多于此分类中其他 1735 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1735 个服务器的 16% 更新
  • 基础检查结果等于或优于此分类中其他 1735 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

klaws — Korean compliance risk scanner 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.6)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker。

有什么可以替代它?

同一分类中有:Lintsure, INDEC Argentina (no oficial), EcuDataMCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Lintsure

作者:lintsure

Compliance readiness checks for code: EU AI Act, GDPR, SOC 2, ISO 27001. Local. Not legal advice.

在你的电脑上运行今天更新
安装

Argentina's official statistics (INDEC): inflation, wages, poverty, trade, population. No signup.

在云端运行今天更新
安装

EcuDataMCP

作者:DweskZ

Ecuador's open government data for AI assistants: CKAN, SRI, BCE, INEC, Supercias, SERCOP and more.

在你的电脑上运行今天更新
安装

作者的 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