Skip to main content
Glama
hlucent

korea-living-weather-index-mcp

by hlucent

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,800개 예시가 포함되었습니다.

자외선지수 단계

段階

指数範囲

危険

11 이상

非常に高い

8~10

高い

6~7

普通

3~5

低い

0~2

get_air_diffusion_forecast

지점코드(areaNo)와 발표일시(time)를 기준으로 대기정취지수 예보를 조회합니다. 0시간 후부터 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

환경변수

変数名

説明

KMA_LIVING_WEATHER_SERVICE_KEY

공공데이터포털에서 발급받은 "기상청_생활기상지수 조회서비스(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만 존재, 명세서 yield의 h78은 오기로 판단). 야간 시간대의 값은 빈 문자열로 들어와 결측(None) 처리됩니다.

  • 대기정령지수 값은 실측 결과 정확히 25/50/75/100 중 하나임을 확인했습니다. 코드에는 안전하게 가까운 매핑 로직 (37.5/62.5/87.5 기준)을 유지하고 있습니다.

  • 에러 응답도 dataType=JSON 요청 시 JSON으로 오는 것을 확인했습니다 (XML 아님). XML fallback 파서는 안전장치로 남겨두었습니다.

  • Rate limit: 분당 3회 (IP 기준), 1시간 이내 5회 초과 시 24시간 차단, 일일 30회 상한 (멀티 머신 배포 시 머신 수에 비례해 실제 완화될 수 있음)

관련 프로젝트

  • safemap-uv-index-mcp — 행정안전부 생활안전지도 + 기상청 자외선수 배포 예보 (기존 별도 운영 중)

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    B
    quality
    D
    maintenance
    Connects 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 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.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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