Borrowing it
Nothing to install: this file belongs to Ramhori/kjh-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.
curl -O https://raw.githubusercontent.com/Ramhori/kjh-law-mcp/master/CLAUDE.mdgit clone --depth 1 https://github.com/Ramhori/kjh-law-mcpWrote 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.
[](https://agentmods.dev/instructions/ramhori/kjh-law-mcp/claude-md)<a href="https://agentmods.dev/instructions/ramhori/kjh-law-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ramhori/kjh-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.
<a href="https://agentmods.dev/instructions/ramhori/kjh-law-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/ramhori/kjh-law-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01835 | $0.01835 |
| Opus 5 | $0.00918 | $0.00918 |
| Sonnet 5 | $0.00367 | $0.00367 |
| Haiku 4.5 | $0.00184 | $0.00184 |
Grade A, and why
kjh-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 11d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Korean Law MCP Server v2.3.2 - 법제처 API 기반 MCP 서버 (89개 도구) + 자연어 CLI + 도구 프로필
Structure
src/
├── index.ts # 엔트리포인트 (STDIO/HTTP 모드)
├── cli.ts # CLI v2.0 (자연어 라우팅 + REPL)
├── tool-registry.ts # 89개 도구 등록 (프로필 기반 필터링)
├��─ tools/ # 도구 구현 (46개 파일, 각 200줄 미만)
├── lib/
│ ├── api-client.ts # API 클라이언트 (throwIfError/checkHtmlError 통일)
│ ├── query-router.ts # 자연어 → 도구 라우팅 엔진
│ ├── fetch-with-retry.ts # 타임아웃/재시도
│ ├── session-state.ts # 세션별 API 키 관리
│ ├── xml-parser.ts # 공통 XML 파싱
│ ├── errors.ts # 에러 표준화
│ ├── schemas.ts # 날짜/응답크기 검증 (truncateResponse)
│ ├── search-normalizer.ts # 검색어 정규화 (LexDiff)
│ ├── law-parser.ts # JO 코드 변환 (LexDiff)
│ ├── annex-file-parser.ts # 별표 파일 파서 (kordoc 통합 파서)
│ ├── tool-profiles.ts # 도구 프로필 (lite/full) + 카테고리 매핑
│ ├── article-parser.ts # 조문 파서 (항/호/목 단일객체 정규화)
│ ├── cache.ts # LRU 캐시 (TTL, 만료 우선 eviction)
│ ├── three-tier-parser.ts # 3단 비교 파서
│ ├── cli-format.ts # CLI 출력 포맷팅
│ ├── cli-executor.ts # CLI 쿼리 실행 엔진
│ ├── risk-rules.ts # 문서 분석 리스크 규칙
│ ├── date-parser.ts # 자연어 날짜 파서
│ ├── document-analysis.ts # 문서유형 분류/금액추출/리스크 탐지
│ └── types.ts # 공통 타입
└── server/ # HTTP/SSE 서버 (Express)
├── http-server.ts # Streamable HTTP (MCP 표준, 100kb body limit)
└── sse-server.ts # SSE 서버 (레거시, 세션 클린업)
Commands
npm install # 의존성 설치
npm run build # TypeScript 빌드
npm run watch # 개발 모드
LAW_OC=키 node build/index.js # MCP 서버 실행
CLI Usage (v2.0)
# 자연어 한 줄로 법령 조회
korean-law "민법 제1조" # 조문 직접 조회
korean-law "음주운전 처벌 기준" # 종합 리서치 자동 실행
korean-law "관세법 3단비교" # 법체계 분석
korean-law "건축허가 거부 판례" # 판례 검색
korean-law "서울시 주차 조례" # 자치법규 검색
# 대화형 모드
korean-law # REPL 모드 진입
korean-law interactive # 명시적 REPL 모드
# 기존 방식 (직접 도구 호출)
korean-law search_law --query "민법"
korean-law get_law_text --mst 160001 --jo "제1조"
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.
- 11d ago First seen · 132 lines · 1,835 tokens per session scan A 8b12ff613e76
kjh-law-mcp CLAUDE.md is an instructions file published in the GitHub repository Ramhori/kjh-law-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 1,835 tokens to every session, about $0.0092 per session on Opus 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-31.
Other instructions, from other repositories
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.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
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).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).