korean-law-alio-mcp: Instructions file for Claude Code

CLAUDE.md

korean-law-alio-mcp CLAUDE.md is an instructions file for Claude Code from scvcoder/korean-law-alio-mcp. It costs 3,809 tokens per session, scanned A, original, MIT.

Development instructions for a Korean law and public-institution information server. It describes a codebase that provides searchable Korean legal data and ALIO public-institution disclosures through MCP tools, a standard way for AI assistants to call external tools.

In plain words
What is it for?
Use it when developing or contributing to the server, especially its legal-data tools, ALIO internal-regulation collection, labor-agreement disclosures, command-line interface, and HTTP or streaming server.
Why use it?
It gives contributors the project's structure, supported data areas, commands, and working rules in one place. This reduces guesswork when changing the server or its data-collection jobs.

Instructions file for Claude Code

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

This is scvcoder/korean-law-alio-mcp's own configuration. It tells Claude Code how to work on korean-law-alio-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-alio-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to scvcoder/korean-law-alio-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/scvcoder/korean-law-alio-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/scvcoder/korean-law-alio-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-alio-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/scvcoder/korean-law-alio-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/scvcoder/korean-law-alio-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/scvcoder/korean-law-alio-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/scvcoder/korean-law-alio-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-alio-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/scvcoder/korean-law-alio-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/scvcoder/korean-law-alio-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,809 This file is loaded in full into every session.
When invoked 3,809 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.03809 $0.03809
Opus 5 $0.01904 $0.01904
Sonnet 5 $0.00762 $0.00762
Haiku 4.5 $0.00381 $0.00381

Measured 9d ago against content hash 4662ae11a71f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

korean-law-alio-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 9d 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.

CLAUDE.md · 212 lines

How it starts

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

CLAUDE.md

이 문서는 본 fork (korean-law-alio-mcp, 2026-04-25 fork by scvcoder) 의 현재 코드 가이드입니다. AI 코딩 어시스턴트(Claude Code 등)와 외부 기여자를 위한 개발 가이드.

  • 사용자용 설치/실행 안내는 README.md, 도구 레퍼런스는 docs/API.md
  • 본 fork 의 변경 동기와 향후 계획은 ROADMAP.md, 변경 이력은 CHANGELOG.md
  • 원작자(@chrisryugj/@Mongmini)의 v2.2 시점 원문 가이드CLAUDE-UPSTREAM.md 에 그대로 보존되어 있습니다.

Korean Law + ALIO MCP Server — 법제처 OpenAPI(법령·판례·행정규칙·자치법규·해석례 등) 87개 도구 + ALIO 공공기관 내부규정 23개 + ALIO 보고서형 공시(단체협약·임금협약·노사협의회 각 5개) 15개 = 총 125개 MCP 도구 + 자연어 CLI.

Structure

src/
├── index.ts              # 엔트리포인트 (STDIO/HTTP 모드 선택)
├── cli.ts                # CLI v2 — 자연어 라우팅 + REPL
├── tool-registry.ts      # 모든 도구(법제처 87 + ALIO 38) 정의/등록
├── tools/                # 도구 구현 (각 ~200줄 목표)
│   ├── alio/             # ALIO 공공기관 내부규정 도구 (23개)
│   └── alio-report/      # ALIO 보고서형 공시 도구 팩토리 — 단체협약/임금협약/노사협의회 (각 5개)
├── scripts/
│   └── alio-sync.ts      # ALIO 일괄 수집 배치 (npm run alio:sync)
├── lib/                  # 공통 유틸/파서/클라이언트
│   └── alio/             # ALIO 도메인 모듈 (client/manifest/index-loader/config 등)
└── server/               # HTTP/SSE 서버

자세한 모듈 책임은 아래 Key Files 참고.

Commands

npm install           # 의존성 설치
npm run build         # TypeScript 빌드
npm run watch         # 개발 모드 (tsc --watch)
LAW_OC=키 node build/index.js  # MCP 서버 실행 (STDIO 모드)

# ALIO 공공기관 내부규정 일괄 수집 (배치)
npm run alio:sync                              # ALIO 공시 전체 기관 (default: 내부규정 21110)
npm run alio:sync -- --only C0xxx              # 단일 기관 (apbaId 지정)
npm run alio:sync -- --only C0xxx --limit 10   # smoke test
npm run alio:sync -- --resume                  # 실패 기관만 재시도
npm run alio:sync -- --retry-failed            # parseError 가 남은 규정만 재시도
npm run alio:sync -- --retry-fallback          # 기존 fallback 결과를 새 엔진으로 재생성
npm run alio:sync -- --docling-fallback        # 스캔 이미지 PDF 를 docling OCR 로 복구
npm run alio:sync -- --concurrency 3 --keep-raw

# 보고서형 공시 카테고리 (reportGbn=Y) — 단체협약/임금협약/노사협의회
npm run alio:sync -- --category labor-agreements                    # 단체협약 (21026, v1.1.0)
npm run alio:sync -- --category wage-agreements                     # 임금협약 (21027, v1.2.0)
npm run alio:sync -- --category labor-council                       # 노사협의회 의결사항 (21028, v1.3.0)
npm run alio:sync -- --category wage-agreements --only C0187        # 단일 기관

Read the full file on GitHub · 212 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. 9d ago First seen · 212 lines · 3,809 tokens per session scan A 4662ae11a71f

Subscribe to this mod's changes

korean-law-alio-mcp CLAUDE.md is an instructions file published in the GitHub repository scvcoder/korean-law-alio-mcp (20 stars, last pushed 5d ago), licensed MIT. It adds 3,809 tokens to every session, about $0.0190 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-30.

Related

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.

vercel/next.js · 7,296 tokens

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.

openai/codex · 5,153 tokens

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 · 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens