Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者による説明(英語の原文)
Scan code for Korean compliance risks — PIPA/개인정보보호법, Network Act, Credit Info. Not legal advice.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"klaws": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/rostradamus/klaws:0.1.6"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .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アプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント rostradamus で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
한국어
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
--livelaw lookup to law.go.kr; without that flag it is fully offline. See Privacy & Security.
# Scan the current directory with Docker — no install needed
docker run --rm -v "$PWD":/src:ro ghcr.io/rostradamus/klaws scan /src
klaws scan ./my-project # scan a directory klaws scan ./MyService.java # scan a single file
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
docker run --rm -v "$PWD":/src:ro ghcr.io/rostradamus/klaws:0.1.6 scan /src
Download the archive for your platform from the latest release, extract it, and move klaws onto your PATH.
go install github.com/rostradamus/klaws/cmd/klaws@latest
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
# Scan a directory (default: *.java files)
klaws scan ./src
klaws scan ./src --pattern "*.kt"
klaws scan ./src --format text
klaws scan ./src --format sarif > klaws.sarif
klaws scan ./src --fail-on HIGH
klaws scan ./src --laws ./my-laws.yaml
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 from bundled database
klaws law PIPA-15
klaws law PIPA-15 --live
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"] } ]
| ID | Name | What it looks for | Risk | Related Law |
|---|---|---|---|---|
PIPA-LOG-001 | Personal Data Logging | log.*() calls containing personal data field names (email, phone, SSN, password) | MEDIUM | PIPA Art. 29 |
PIPA-ENC-001 | Unencrypted Personal Data | Sensitive identifier fields (resident number, SSN) without encryption annotations or calls | HIGH | PIPA Art. 24-2, 29 |
PIPA-CST-001 | Missing Consent Check | @PostMapping/@PutMapping endpoints accepting personal data without consent verification | HIGH | PIPA Art. 15 |
NIA-MKT-001 | Marketing Message Consent | Advertising/marketing message dispatch (send/push) without an apparent opt-in consent check | MEDIUM | Network Act Art. 50 |
CIA-ENC-001 | Unprotected Credit Information | Credit/financial identifier fields (card number, account number, credit score) without encryption or masking | HIGH | Credit Information Act Art. 19 |
ECA-RET-001 | Transaction Record Retention | Transaction record fields (order/payment IDs) stored without apparent retention or preservation handling | MEDIUM | E-Commerce Act Art. 6 |
PIPA-RET-001 | Personal Data Retention | Personal data fields (email, phone, resident number) stored without apparent destruction or retention-limit handling | MEDIUM | PIPA Art. 21 |
PIPA-XBR-001 | Third-Party Data Transfer | Personal data sent to a third-party or external endpoint (outbound call to an external URL/partner) without an apparent consent check | HIGH | PIPA Art. 17 |
Detectors use regex-based pattern matching. They support both English and Korean field names (e.g., email/이메일, residentNumber/주민번호, consent/동의).
klaws can run as an MCP server, making its scanning capabilities available to AI coding assistants.
klaws serve
| Tool | Description |
|---|---|
scan_directory | Scan a directory for compliance risks |
scan_file | Scan a single file |
list_detectors | List all available detectors |
get_law_reference | Look up a Korean law provision by ID |
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."*
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."*
By default klaws serve uses stdio (local). To run it as a remote MCP server over HTTP, pass --http:
klaws serve --http :8080
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.
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-tokenprovides bearer auth but not TLS. For untrusted networks, still terminate TLS at a reverse proxy / gateway in front of klaws.
- The
scan_directoryandscan_filetools 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-rootto that checkout. Theget_law_referenceandlist_detectorstools have no filesystem dependency.
klaws ships with 40 articles across 4 Korean laws embedded in the binary (no external files needed):
| ID | Article | Topic |
|---|---|---|
PIPA-15 | Art. 15 | Collection and use of personal information |
PIPA-17 | Art. 17 | Provision to third parties |
PIPA-18 | Art. 18 | Restriction on use beyond purpose |
PIPA-21 | Art. 21 | Destruction of personal information |
PIPA-23 | Art. 23 | Restriction on sensitive information |
PIPA-24 | Art. 24 | Restriction on unique identification info |
PIPA-24-2 | Art. 24-2 | Restrictions on resident registration numbers |
PIPA-29 | Art. 29 | Duty of safety measures |
PIPA-30 | Art. 30 | Privacy policy |
PIPA-34 | Art. 34 | Notification of data breach |
| ID | Article | Topic |
|---|---|---|
NIA-22 | Art. 22 | Consent for collection/use of personal info |
NIA-23 | Art. 23 | Restriction on collection |
NIA-23-2 | Art. 23-2 | Restriction on resident registration numbers |
NIA-24 | Art. 24 | Restriction on use |
| NIA-24-2 | Art
冒頭だけを表示しています。続きはリポジトリで読めます