Borrowing it
Nothing to install: this file belongs to hlucent/seoul-uncomfort-report-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/hlucent/seoul-uncomfort-report-mcp/master/CLAUDE.mdgit clone --depth 1 https://github.com/hlucent/seoul-uncomfort-report-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/hlucent/seoul-uncomfort-report-mcp/claude-md)<a href="https://agentmods.dev/instructions/hlucent/seoul-uncomfort-report-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/hlucent/seoul-uncomfort-report-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/hlucent/seoul-uncomfort-report-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/hlucent/seoul-uncomfort-report-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.02071 | $0.02071 |
| Opus 5 | $0.01035 | $0.01035 |
| Sonnet 5 | $0.00414 | $0.00414 |
| Haiku 4.5 | $0.00207 | $0.00207 |
Grade A, and why
seoul-uncomfort-report-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 10d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — seoul-uncomfort-report-mcp 실행 지침
0. 절대 규칙 (최우선 준수)
- DEVPLAN.md 하나만 먼저 읽고 시작한다. 다른 문서 재탐색 금지.
- 웹서치 금지. API 스펙은 DEVPLAN.md에 이미 정리되어 있음.
- 불확실하면 추측성 재설계 대신 기본값 1개로 구현 후 DEVLOG.md에 "확인 필요"로 기록한다.
- 동일 오류 최대 3회까지만 재시도. 3회 실패 시 기록하고 사용자에게 보고한다.
- 역할 범위는 "코드 구현 + 로컬 실측 테스트"까지다.
fly launch,fly secrets set,flyctl deploy,fly logs등 fly.io 관련 명령은 절대 스스로 실행하지 않는다. - 배포 준비(코드 구현, 로컬 테스트, git commit/push)가 끝나면 아래 "정지 시점"에서 멈추고, 안내 문구를 출력한다.
1. 기술적으로 반드시 적용할 것
1-1. .env
BOM 없는 UTF-8로 저장. 갱신 시:
# [System.IO.File]::WriteAllText(경로, "KEY=값", [System.Text.UTF8Encoding]::new($false))
1-2. server.py의 mcp.run() — stateless_http=True 필수
mcp.run(transport="streamable-http", host="0.0.0.0", port=port, stateless_http=True)
이 옵션 누락 시 Claude.ai 커넥터에서 "사용 가능한 도구 없음"으로 보이는 문제 발생 전례 있음. 절대 빠뜨리지 않는다.
1-3. 응답 파싱 — JSON 우선, XML 폴백 필수
response.json()이 실패하면 정규식으로 <CODE>/<MESSAGE> 패턴을 추출하는 폴백을 구현한다.
1-4. row 필드 정규화
API 응답에서 결과가 1건이면 row가 단일 dict, 여러 건이면 list로 올 수 있다 (JSON 변환기
특성). 항상 list로 정규화하는 방어 로직을 넣는다:
rows = data.get("row", [])
if isinstance(rows, dict):
rows = [rows]
1-5. 빈 값 필드 처리 (SmartUncomfStatMonth 전용)
아직 지나지 않은 달은 <MON_08/>처럼 빈 태그로 온다. JSON 변환 시 빈 문자열이나 None이 될
수 있으므로, 숫자 필드 파싱 시 다음과 같이 안전 변환한다:
def _safe_int(v):
if v is None or v == "":
return None # 또는 0 — DEVLOG.md에 어느 쪽으로 확정했는지 기록
return int(v)
1-6. 인증키 위치 — 경로 세그먼트 방식 우선 시도
DEVPLAN.md 1-1절 참고. 요청 URL은 다음 형태를 기본으로 시도한다:
http://openapi.seoul.go.kr:8088/{KEY}/{TYPE}/{SERVICE}/{START_INDEX}/{END_INDEX}/{YEAR}/{MONTH}
ERROR-300(필수값 누락)이 반복되면 쿼리 파라미터 방식(?KEY=)도 시도해 실측 결과를
DEVLOG.md에 남긴다.
1-7. IP 추출 — Fly-Client-IP 우선
def _get_client_ip(request: Request) -> str:
fly_client_ip = request.headers.get("fly-client-ip")
if fly_client_ip:
return fly_client_ip.strip()
forwarded = request.headers.get("x-forwarded-for")
if forwarded:
return forwarded.split(",")[0].strip()
return request.client.host if request.client else "unknown"
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.
- 10d ago First seen · 162 lines · 2,071 tokens per session scan A 718ff91092ec
seoul-uncomfort-report-mcp CLAUDE.md is an instructions file published in the GitHub repository hlucent/seoul-uncomfort-report-mcp (0 stars, last pushed 18d ago), licensed MIT. It adds 2,071 tokens to every session, about $0.0104 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).