korea-living-weather-index-mcp: Instructions file for Claude Code

CLAUDE.md

korea-living-weather-index-mcp CLAUDE.md is an instructions file for Claude Code from hlucent/korea-living-weather-index-mcp. It costs 2,455 tokens per session, scanned A, original, MIT.

Project-specific instructions for an MCP server that provides South Korea weather-related indexes, including ultraviolet radiation and air stagnation. They document API details, data ranges, grading rules, testing limits, and deployment boundaries.

In plain words
What is it for?
Implementing and locally testing the two weather-index operations, applying their Korean grade mappings, and preparing deployment without running Fly.io deployment commands.
Why use it?
They prevent mistakes caused by inconsistent API fields, uncertain inputs, and unsafe deployment commands.

Instructions file for Claude Code

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

This is hlucent/korea-living-weather-index-mcp's own configuration. It tells Claude Code how to work on korea-living-weather-index-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 korea-living-weather-index-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hlucent/korea-living-weather-index-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/hlucent/korea-living-weather-index-mcp/master/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/hlucent/korea-living-weather-index-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 korea-living-weather-index-mcp CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/hlucent/korea-living-weather-index-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/hlucent/korea-living-weather-index-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,455 This file is loaded in full into every session.
When invoked 2,455 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.02455 $0.02455
Opus 5 $0.01228 $0.01228
Sonnet 5 $0.00491 $0.00491
Haiku 4.5 $0.00246 $0.00246

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

Security

Grade A, and why

korea-living-weather-index-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.

CLAUDE.md · 163 lines

How it starts

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

CLAUDE.md — korea-living-weather-index-mcp

절대 규칙

  • DEVPLAN.md 하나만 먼저 읽고 시작한다. 다른 문서 재탐색 금지.
  • 웹서치 금지 (API 스펙은 DEVPLAN.md에 이미 있음).
  • 불확실하면 추측성 재설계 대신 기본값 1개로 구현 후 DEVLOG.md에 "확인 필요"로 기록.
  • 동일 오류 최대 3회까지만 재시도. 3회 실패 시 기록하고 사용자에게 보고.
  • 역할은 "코드 구현 + 로컬 실측 테스트"까지다. fly launch, fly secrets set, flyctl deploy, fly logs 등 fly.io 관련 명령은 절대 스스로 실행하지 않는다.
  • 배포 준비(코드 구현, 로컬 테스트, git commit/push)가 끝나면 아래 "작업 순서"의 정지 시점에서 멈추고, 사용자에게 PowerShell에서 fly launch --no-deploy부터 진행하도록 안내한다.

이 프로젝트 고유 사항

API 특성

  • 오퍼레이션 2개: getUVIdxV5(자외선지수), getAirDiffusionIdxV5(대기정체지수)
  • 인증키는 쿼리 파라미터 serviceKey (공공데이터포털 표준 방식 — URL 경로 삽입 아님)
  • 응답은 XML이 기본이며, dataType=JSON 지정 시 JSON으로 온다
  • 시간 필드 범위가 오퍼레이션마다 다르다:
    • 자외선지수: h0, h3, h6, ..., h75 (0~75시간, 26개 필드)
    • 대기정체지수: h3, h6, ..., h78 (3~78시간, 26개 필드)
    • 이 차이를 코드에서 명확히 구분할 것 (딕셔너리나 상수로 분리 관리 권장)
  • areaNo가 필수(1)로 표기되어 있으나 "공백이면 전체지점조회"라는 설명이 공존 — 실측 필요 항목 (아래 참고)

등급 매핑 로직 (docstring에 반드시 명시)

자외선지수 (범위 기반):

def uv_grade(value: float) -> str:
    if value >= 11: return "위험"
    if value >= 8: return "매우높음"
    if value >= 6: return "높음"
    if value >= 3: return "보통"
    return "낮음"  # 0~2

대기정체지수 (값 기반, 25/50/75/100 근사 매핑 — 정확히 일치하지 않을 경우 가장 가까운 단계로 근사):

def air_diffusion_grade(value: float) -> str:
    if value >= 87.5: return "매우높음"   # 100 근사
    if value >= 62.5: return "높음"       # 75 근사
    if value >= 37.5: return "보통"       # 50 근사
    return "낮음"                          # 25 근사

실측 시 실제 값이 정확히 25/50/75/100 중 하나로만 오는지 먼저 확인하고, 그렇다면 근사 로직 대신 정확히 일치하는 값으로 매핑해도 된다. DEVLOG.md에 확인 결과를 기록할 것.

실측 필요 항목 (2-6절 절차 그대로 적용)

  1. areaNo= 빈 문자열이 실제로 "전체지점조회"로 동작하는지, 아니면 ERROR-10(잘못된 요청 파라메터)이 발생하는지 — 둘 다 시도해서 확인. 만약 전체지점조회가 실제로 동작한다면 응답 크기가 매우 클 수 있으므로(3,838개 지점), 툴 설계에서 이 옵션을 굳이 노출할지도 판단 필요(기본적으로는 특정 areaNo 필수로 유지 권장).
  2. 자외선지수 응답에 h78 필드가 실제로 포함되는지 (문서 표에는 h75까지만 정의, 응답 예제 XML에는 h78도 등장 — 불일치).
  3. 대기정체지수 값이 정확히 25/50/75/100인지, 중간값도 존재하는지.
  4. 에러 응답이 dataType=JSON 요청에도 XML로 오는지 (다른 공공데이터포털 API에서 흔한 패턴 — 아래 XML 폴백 파서로 대응).

Read the full file on GitHub · 163 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. 11d ago First seen · 163 lines · 2,455 tokens per session scan A 9721bbbce028

Subscribe to this mod's changes

korea-living-weather-index-mcp CLAUDE.md is an instructions file published in the GitHub repository hlucent/korea-living-weather-index-mcp (0 stars, last pushed 13d ago), licensed MIT. It adds 2,455 tokens to every session, about $0.0123 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.

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

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.

github/spec-kit · 7,126 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

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