korean-law-mcp: Instructions file for Claude Code

CLAUDE.md

korean-law-mcp CLAUDE.md is an instructions file for Claude Code from chrisryugj/korean-law-mcp. It costs 7,038 tokens per session, scanned A, original, MIT.

Deployment and development instructions for korean-law-mcp, a service that lets users query Korean laws through a standardized tool interface.

In plain words
What is it for?
Use them when publishing a package, deploying a release, updating the integrated host, or verifying the live service.
Why use it?
They explain the required release sequence and prevent deploying the standalone service in a way that could replace the shared production host.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions .claude-plugin; mentions CLAUDE.md.

This is chrisryugj/korean-law-mcp's own configuration. It tells Claude Code how to work on korean-law-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything korean-law-mcp configures →

About the project

Korean Law MCP is an MCP server and command-line tool that lets AI assistants search Korean statutes, precedents, ordinances, and other legal materials from the Ministry of Government Legislation. Legal researchers and AI workflows use it to retrieve Korean law, verify citations, compare legal provisions over time, and inspect relationships between regulations. Catalogue add-ons provide commands, instructions, and integrations for using the server with coding agents.

chrisryugj/korean-law-mcp · 2,783 stars · on GitHub · pubax.org

Reuse

Borrowing it

Nothing to install: this file belongs to chrisryugj/korean-law-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chrisryugj/korean-law-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/chrisryugj/korean-law-mcp

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for korean-law-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/chrisryugj/korean-law-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/chrisryugj/korean-law-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/chrisryugj/korean-law-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrisryugj/korean-law-mcp/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for korean-law-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/chrisryugj/korean-law-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/chrisryugj/korean-law-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,038 This file is loaded in full into every session.
When invoked 7,038 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.07038 $0.07038
Opus 5.5 $0.02815 $0.02815
Sonnet 5.5 $0.01408 $0.01408
Haiku 4.5 $0.00704 $0.00704

Measured today against content hash 71f42124eab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

korean-law-mcp CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

⚠️ 배포 — 통합 호스트 (2026-07-02부터)

프로덕션은 이 레포가 아니라 gomdori-mcp 통합 호스트(fly 앱 korean-law-mcp 1대, MCP 5종 동거)가 서빙한다.

  • 공식 주소: https://mcp.gomdori.app/law (구 korean-law-mcp.fly.dev/mcp는 하위호환으로 유지)
  • 반영 절차: 이 레포 커밋·푸시 → npm publish → npm 전파 대기(npm view korean-law-mcp version이 새 버전을 반환할 때까지 — 보통 30초 안쪽. 전파 전에 배포하면 이미지가 옛 버전을 설치한다) → ~/workspace/gomdori-mcp/Dockerfile의 [email protected] 핀 갱신 → cd ~/workspace/gomdori-mcp && fly deploy -c fly.production.toml → GitHub Release 생성(gh release create vX.Y.Z) → gomdori-mcp/scripts/verify-deploy.sh 로 사용자 경로 반영 확인
    • MCP 레지스트리: 릴리스 뒤 mcp-publisher publish (registry.modelcontextprotocol.io, io.github.chrisryugj/korean-law-mcp). server.json·.claude-plugin/plugin.json·marketplace.json version 은 package.json 과 같아야 한다. 플러그인 MCP 는 4.15.13 부터 원격 http(https://mcp.gomdori.app/law, 키는 apikey: ${user_config.api_key})이고 verify:package 가 둘 다 막는다
    • 릴리스는 배포와 항상 같이 간다 — npm 게시만 하고 Release 를 빠뜨리면 이 레포의 릴리스 이력에 구멍이 남는다(v4.10.0·v4.11.0 이 그렇게 비었다가 2026-08-17 에 소급 생성됐다). 노트 본문은 CHANGELOG 의 해당 절을 옮긴다.
    • .github/workflows/publish.yml(GitHub Release → OIDC trusted publishing + provenance)은 npm 쪽 trusted publisher 등록이 아직 안 됐다. 그래서 게시는 위 로컬 npm publish 가 정규 경로이고, Release 는 그 뒤에 만든다 — 워크플로는 같은 버전이 이미 레지스트리에 있으면 게시를 건너뛰고 검증(typecheck·test·build·verify:package·audit)만 릴리스 시점에 재확인한다.
  • 🚫 이 레포에서 fly deploy 직접 실행 절대 금지 — 통합 이미지를 law 단독 이미지로 덮어써 stats·patent·archhub·school까지 전부 죽는다. 자세한 배경: docs/FLY-COST.md

Korean Law MCP Server v4.15.13 - 법제처 42개 API → 10개 통합 도구 (내부 99개) + 9개 시나리오 + 자연어 CLI + HTTP stateless + 판례 토큰 74% 감축 + legal_research (체인 8종 통합, task 파라미터) + legal_analysis (인용검증·판례생사·행위시법·영향그래프 통합, mode 파라미터) + time_travel (시점 diff) + action_plan (이럴 땐 이렇게, 5단계 안내) + 시행예정 감지 (search_law가 제명변경·미시행 개정 자동 병기) + ordinance_radar (조례 정비 레이더 — 근거 상위법 개정 자동 대조, v4.7.0) + 인용 검증 표기 내성 (낫표·가운뎃점·같은 법 조응, v4.9.0) + 폐지 감지 (검색 0건 시 폐지 법령·행정규칙 연혁 추적 — 폐지사유·후속 통합 규정 자동 안내, v4.10.0) + search_law_bulk (등록부 대량 조회 + MST diff 감시, v4.13.0) + 행정규칙 부분 조회 (get_admin_rule 의 jo·chapter·keyword·page — 통짜 전문을 조문 단위로, v4.14.0) + 법령ID 계보 연혁 (제명이 바뀌기 전 버전까지 — search_historical_law·applicable_law·time_travel, get_annexes date 시점 별표, get_law_text efYd 기준일 보정, 행정규칙 기준일 판단, v4.15.0)

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +12 tokens per session 71f42124eab9
  2. yesterday Changed d9f640fa0104
  3. 11d ago Changed d47b0dab62b0
  4. 14d ago Changed cd0945b76ca9
  5. 15d ago Changed · +1 lines · +114 tokens per session 751b95fd8371
  6. 20d ago Changed 0857682a2f7e
  7. 24d ago Changed · +3 lines · +151 tokens per session 5052b5645244
  8. 26d ago Changed 6c94a47549bd
  9. 27d ago Changed · +4 lines · +281 tokens per session a01878652317
  10. 1mo ago First seen · 244 lines · 6,480 tokens per session scan A 33c31bf8095a

Subscribe to this mod's changes

korean-law-mcp CLAUDE.md is an instructions file published in the GitHub repository chrisryugj/korean-law-mcp (2,783 stars, last pushed yesterday), licensed MIT. It adds 7,038 tokens to every session, about $0.0282 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens