korea-living-weather-index-mcp
korea-living-weather-index-mcp
기상청이 공공데이터포털을 통해 제공하는 생활기상지수 조회서비스(4.0)
(LivingWthrIdxServiceV5)를 MCP로 구현한 서버입니다. 자외선지수와
대기정체지수 예보를 전국 약 3,838개 지점(시군구읍면동 단위) 기준으로
3시간 간격, 최대 7578시간 후까지 조회할 수 있습니다.
기존에 운영 중인 safemap-uv-index-mcp(행정안전부 생활안전지도 자외선지수 +
기상청 예보)와는 별개의 프로젝트입니다.
제공 툴
get_uv_forecast
지점코드(areaNo)와 발표시간(time)을 기준으로 자외선지수 예보를 조회합니다. 0시간 후부터 75시간 후까지 3시간 간격 예측값을 반환합니다.
자외선지수 단계
단계 | 지수범위 |
위험 | 11 이상 |
매우높음 | 8~10 |
높음 | 6~7 |
보통 | 3~5 |
낮음 | 0~2 |
get_air_diffusion_forecast
지점코드(areaNo)와 발표시간(time)을 기준으로 대기정체지수 예보를 조회합니다. 3시간 후부터 78시간 후까지 3시간 간격 예측값을 반환합니다.
대기정체지수 단계
단계 | 자료값 |
매우높음 | 100 |
높음 | 75 |
보통 | 50 |
낮음 | 25 |
search_area_code
지역명(시/도, 시/군/구, 읍/면/동)으로 지점코드(areaNo)를 검색합니다.
Related MCP server: korea-weather-mcp
설치 및 실행
pip install -r requirements.txt
cp .env.example .env # KMA_LIVING_WEATHER_SERVICE_KEY 값 입력
python server.py환경변수
변수명 | 설명 |
| 공공데이터포털에서 발급받은 "기상청_생활기상지수 조회서비스(4.0)" 일반 인증키(Decoding) |
배포
fly.io에 배포합니다. 자세한 절차는 프로젝트 부트스트랩 문서를 따릅니다.
fly launch --no-deploy
fly secrets set KMA_LIVING_WEATHER_SERVICE_KEY=발급받은키
flyctl deploy배포 후 커넥터 연결 시 /mcp 경로를 붙여서 연결합니다:
https://<앱이름>.fly.dev/mcp
데이터 출처
제공기관: 기상청
플랫폼: 공공데이터포털(data.go.kr)
API명: 생활기상지수 조회서비스(4.0) (
LivingWthrIdxServiceV5)라이선스: 공공누리 (공공데이터포털 이용약관에 따름)
알려진 제약사항 (실측 완료, 2026-08-23 기준)
areaNo를 빈 문자열로 보내면 전체지점조회로 정상 동작함(ERROR-10 아님). 다만 응답이 매우 클 수 있어 이 옵션은 툴 파라미터로 노출하지 않았습니다.area_no또는area_name으로 특정 지점을 지정해 조회하세요.자외선지수 응답에는
h78필드가 포함되지 않음을 확인했습니다(h0~h75만 존재, 명세서 예제의 h78은 오기로 판단). 야간 시간대 값은 빈 문자열로 와서 결측(None) 처리됩니다.대기정체지수 값은 실측 결과 정확히 25/50/75/100 중 하나로만 확인되었으나, 표본이 제한적이라 코드에는 안전하게 근사 매핑 로직(37.5/62.5/87.5 경계)을 유지하고 있습니다.
에러 응답도
dataType=JSON요청 시 JSON으로 옴을 확인했습니다(XML 아님). XML 폴백 파서는 안전장치로 남겨두었습니다.Rate limit: 분당 3회(IP 기준), 1시간 내 5회 초과 시 24시간 차단, 일일 30회 상한 (멀티 머신 배포 시 머신 수에 비례해 실질 완화될 수 있음)
관련 프로젝트
safemap-uv-index-mcp— 행정안전부 생활안전지도 + 기상청 자외선지수 예보 (기존 별도 운영 중)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceConnects to the Korea Meteorological Administration (KMA) Open API to provide short-term and ultra-short-term weather forecasts for South Korea. It enables users to query current weather conditions and future forecasts based on latitude and longitude.2
- AlicenseNot gradedqualityDmaintenanceProvides real-time weather information for South Korea, including temperature, sky condition, precipitation type, humidity, and precipitation amount, based on latitude and longitude coordinates using public data from the Korea Meteorological Administration.1MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying real-time air quality data by region in Seoul, South Korea, using the Seoul Open Data Platform API, supporting multiple regions and monitoring stations.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Korean air quality forecasts, weekly ultrafine dust forecasts, high-concentration PM2.5 forecasts, particulate matter alarm statuses, ozone advisories, and yellow dust advisories from the AirKorea OpenAPI.MIT
Related MCP Connectors
Korean government open data - weather, population, law search via data.go.kr
Look up Korean drug ingredient and product data by HIRA component and product codes via Pilldoc. V…
Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlucent/korea-living-weather-index-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server