Skip to main content
Glama

Korea Data x402 MCP Server

MCP (stdio) server exposing the Korea Data API — official Korean public data (weather, air quality, real estate, business registration status, companies, food, tourism, trade, holidays...) cleaned to English JSON — as MCP tools. Each call is paid per request in USDC on Base via x402. No signup, no API key.

On startup the server reads /openapi.json from the API and creates one tool per endpoint (e.g. /v1/weather/forecast -> weather_forecast). Query parameters become tool arguments.

Install

npx -y korea-data-x402-mcp

Requires Node 18+.

Related MCP server: realestate-mcp

Configuration

Env var

Required

Description

X402_PRIVATE_KEY

no

Private key of your own EVM wallet holding USDC on Base. Used locally to sign x402 payments; never sent anywhere. Without it, tools return the price and payment instructions (HTTP 402) instead of data. Use a dedicated low-balance wallet.

KOREADATA_API_ORIGIN

no

API origin. Default https://koreadata-api.pages.dev.

X402_NETWORK

no

Default eip155:8453 (Base mainnet).

Claude Desktop

{
  "mcpServers": {
    "korea-data": {
      "command": "npx",
      "args": ["-y", "korea-data-x402-mcp"],
      "env": { "X402_PRIVATE_KEY": "<YOUR_BASE_WALLET_PRIVATE_KEY>" }
    }
  }
}

Smithery

smithery.yaml is included (stdio). Set x402PrivateKey in the Smithery config to enable payments; leave empty to browse prices only.

Pricing

Per successful call, USDC on Base. If the upstream data source fails, you are not charged (payment is settled only after a successful upstream response).

Tool

Endpoint

Price

Description

transit_seoul_subway

/v1/transit/seoul-subway

$0.003

Seoul Metro

region_population

/v1/region/population

$0.002

Resident registration population and households per administrative dong in a Korean district

region_households

/v1/region/households

$0.002

Households by household size

franchise_startup_cost

/v1/franchise/startup-cost

$0.003

Korean franchise startup cost per brand

weather_history

/v1/weather/history

$0.002

Historical daily weather observations in Korea

weather_midterm

/v1/weather/midterm

$0.002

KMA mid-term forecast

realestate_apt_complexes

/v1/realestate/apt-complexes

$0.002

List of apartment complexes in a Korean district

places_restaurants

/v1/places/restaurants

$0.005

Search licensed Korean restaurants

realestate_trades

/v1/realestate/trades

$0.005

Korean real-estate sale transactions by property type

weather_uv

/v1/weather/uv

$0.001

UV index forecast

food_nutrition

/v1/food/nutrition

$0.002

Korean food nutrition facts

company_pension_withdrawn

/v1/company/pension-withdrawn

$0.005

Search Korean workplaces that WITHDREW from the National Pension Service

prices_agri

/v1/prices/agri

$0.002

Latest Korean agricultural product wholesale/retail prices

franchise_brand

/v1/franchise/brand

$0.01

Korean franchise brand statistics

trade_hs

/v1/trade/hs

$0.005

South Korea monthly export/import by HS code

tourism_search

/v1/tourism/search

$0.002

Search Korean tourist attractions, restaurants, lodging, festivals by keyword

weather_warnings

/v1/weather/warnings

$0.001

Current Korean weather warnings/advisories list

realestate_apt_trades

/v1/realestate/apt-trades

$0.005

Korean apartment sale transactions

realestate_apt_rents

/v1/realestate/apt-rents

$0.005

Korean apartment lease/rent

weather_forecast

/v1/weather/forecast

$0.002

Korea Meteorological Administration short-term forecast

air_realtime

/v1/air/realtime

$0.002

Real-time air quality

places_stores_nearby

/v1/places/stores-nearby

$0.005

Small businesses/shops within a radius

company_pension_workplaces

/v1/company/pension-workplaces

$0.005

Search Korean companies registered with the National Pension Service by name

company_outline

/v1/company/outline

$0.005

Korean corporation basic info

bizstatus

/v1/bizstatus

$0.01

Korean business registration status from the National Tax Service

businessday

/v1/businessday

$0.001

Is a date a Korean business day

add

/v1/add

$0.001

Add N Korean business days to a date

realestate_rtms

/v1/realestate/rtms

$0.005

Korean real-estate sale transactions by property type

franchise_brand_stats

/v1/franchise/brand-stats

$0.005

Korean franchise

tourism_area

/v1/tourism/area

$0.002

List Korean tourist attractions/restaurants/lodging/festivals by province

company_business

/v1/company/business

$0.005

Korean company profile

company_nps

/v1/company/nps

$0.005

Korean National Pension Service workplace registry

food_restaurant

/v1/food/restaurant

$0.002

Korean food-business permits

region_code

/v1/region/code

$0.001

Korean legal dong

food_nutrition2

/v1/food/nutrition2

$0.002

Korean food nutrition facts

food_category

/v1/food/category

$0.002

Browse Korean food composition DB by category

weather_living

/v1/weather/living

$0.001

Korean living-weather indices

air_forecast

/v1/air/forecast

$0.002

Korean fine-dust forecast grades by province

air_station

/v1/air/station

$0.001

Korean real-time air quality at one monitoring station

tourism_places_nearby

/v1/tourism/places-nearby

$0.002

Korean tourist sights, restaurants, shops near a lat/lon

tourism_festivals

/v1/tourism/festivals

$0.002

Upcoming Korean festivals/events

tourism_detail

/v1/tourism/detail

$0.001

Korean tourist sight detail by content_id

building_registry

/v1/building/registry

$0.005

Korean building ledger

realestate_apt_info

/v1/realestate/apt-info

$0.002

Korean apartment complex profile

weather_now

/v1/weather/now

$0.001

Korean real-time current weather

weather_nowcast

/v1/weather/nowcast

$0.002

Korean hourly ultra-short forecast for the next 6 hours

Prices are set by the API; the 402 response returned by each tool is authoritative.

License

MIT

Available Tools

46 tools
addB

Add N Korean business days to a date. ?date=YYYY-MM-DD&days=N (paid via x402, USDC on Base)

Inputs: date (required), days (required).

air_forecastA

Korean fine-dust forecast grades by province (AirKorea): PM10/PM2.5 grade map and headline. ?date=YYYY-MM-DD (defaults today) (paid via x402, USDC on Base)

Inputs: date (required).

air_realtimeA

Real-time air quality (PM10, PM2.5, O3, NO2, CO, SO2, CAI) per monitoring station in a Korean province/city (AirKorea). ?sido=서울|부산|대구|인천|광주|대전|울산|경기|강원|충북|충남|전북|전남|경북|경남|제주|세종 (paid via x402, USDC on Base)

Inputs: sido (required).

air_stationB

Korean real-time air quality at one monitoring station (AirKorea): PM10, PM2.5, O3, NO2, CO, SO2, CAI for the latest 24h. ?station= (Korean station name, e.g. 종로구) (paid via x402, USDC on Base)

Inputs: station (required).

bizstatusA

Korean business registration status from the National Tax Service (active/suspended/closed, tax type). ?b_no=10-digit, comma-separated up to 100 (paid via x402, USDC on Base)

Inputs: b_no (required).

building_registryA

Korean building ledger (MOLIT BuildingHUB): address, purpose, structure, floors, land/floor area, coverage and floor-area ratio, approval date, households, energy grade. ?sigungu_cd=5-digit&bjdong_cd=5-digit&bun=1-4 digit&ji=1-4 digit (region_code from /v1/region/code = sigungu+bjdong+00) (paid via x402, USDC on Base)

Inputs: ji (required), bun (required), bjdong_cd (required), sigungu_cd (required).

businessdayA

Is a date a Korean business day (public holidays incl.). ?date=YYYY-MM-DD (paid via x402, USDC on Base)

Inputs: date (required).

company_businessA

Korean company profile (FSC corporation registry): corp name, stock market, biz no, CEO, address, phone, homepage, founding date, employees, average salary. ?name= (exact-ish corp name works best) (paid via x402, USDC on Base)

Inputs: name (required).

company_npsA

Korean National Pension Service workplace registry (employer verification): workplace name, masked biz no, road address, enrollment status, data month. ?name=&status=enrolled|withdrawn (paid via x402, USDC on Base)

Inputs: name (required), status (required).

company_outlineB

Korean corporation basic info (Financial Services Commission): corp registration no, biz no, CEO, address, founding date, homepage, employees. ?name= (paid via x402, USDC on Base)

Inputs: name (required).

company_pension_withdrawnA

Search Korean workplaces that WITHDREW from the National Pension Service (often closed/merged companies). Useful for counterparty due diligence. ?name= (paid via x402, USDC on Base)

Inputs: name (required).

company_pension_workplacesA

Search Korean companies registered with the National Pension Service by name (workplace name, masked biz no, address, status). Useful for verifying a Korean employer exists. ?name= (paid via x402, USDC on Base)

Inputs: name (required).

food_categoryA

Browse Korean food composition DB by category (Korean substring, e.g. 찌개, 면류, 떡, 음료): nutrition per 100g. ?category= and/or ?name= (paid via x402, USDC on Base)

Inputs: category (required).

food_nutritionB

Korean food nutrition facts (MFDS food composition DB): kcal, protein, fat, carbohydrate, sugar, sodium per serving basis. ?name= Korean food name (paid via x402, USDC on Base)

Inputs: name (required).

food_nutrition2A

Korean food nutrition facts (MFDS food composition DB v3): kcal, water, protein, fat, carb, sugar, fiber, minerals, sodium per 100g. Broader match than /v1/food/nutrition. ?name= Korean food name (paid via x402, USDC on Base)

Inputs: name (required).

food_restaurantA

Korean food-business permits (MOIS): restaurant/cafe/bakery by business name — category, open/closed status, address, license date, floor area. ?name= (Korean, partial) (paid via x402, USDC on Base)

Inputs: name (required).

franchise_brandB

Korean franchise brand statistics (Fair Trade Commission): store count, openings, closures, average annual sales per store. ?name=brand (partial match)&year=optional (paid via x402, USDC on Base)

Inputs: name (required).

franchise_brand_statsB

Korean franchise (FTC) brand roster: store counts, openings/closures/cancellations, name changes, average annual sales per store. ?brand= and/or ?category= (Korean substring)&year= optional (paid via x402, USDC on Base)

Inputs: brand (required), category (required).

franchise_startup_costA

Korean franchise startup cost per brand (Fair Trade Commission disclosure): franchise fee, training fee, deposit, other costs, total. ?name=brand (partial match)&year=optional (paid via x402, USDC on Base)

Inputs: name (required).

places_restaurantsA

Search licensed Korean restaurants (MOIS food business permits, updated daily) by business name: category, open/closed status, address, license date, floor area. ?name= (Korean, partial) (paid via x402, USDC on Base)

Inputs: name (required).

places_stores_nearbyA

Small businesses/shops within a radius (m, max 1000) of a lat/lon in South Korea (SEMAS commercial district DB): name, category, road address (paid via x402, USDC on Base)

Inputs: lat (required), lon (required), radius (required).

prices_agriA

Latest Korean agricultural product wholesale/retail prices (aT KAMIS): today vs 1 day / 1 month / 1 year ago. ?item= Korean item name (e.g. 배추, 사과, 쌀) or empty for all (paid via x402, USDC on Base)

Inputs: item (required).

realestate_apt_complexesA

List of apartment complexes in a Korean district (MOLIT apartment registry): complex code, name, legal dong. ?sigungu=5-digit district code (paid via x402, USDC on Base)

Inputs: sigungu (required).

realestate_apt_infoA

Korean apartment complex profile (MOLIT housing registry): address, developers, households, buildings, area, built date, heating, manager, parking, security, elevator, facilities, subway access. ?kapt_code= (from /v1/realestate/apt-complexes) (paid via x402, USDC on Base)

Inputs: kapt_code (required).

realestate_apt_rentsB

Korean apartment lease/rent (jeonse/wolse) contracts (MOLIT). ?lawd_cd=5-digit district code&ym=YYYYMM (paid via x402, USDC on Base)

Inputs: ym (required), lawd_cd (required).

realestate_apt_tradesB

Korean apartment sale transactions (MOLIT official registry). ?lawd_cd=5-digit district code (e.g. 11680 Gangnam-gu)&ym=YYYYMM (paid via x402, USDC on Base)

Inputs: ym (required), lawd_cd (required).

realestate_rtmsA

Korean real-estate sale transactions by property type (MOLIT RTMS): officetel|rowhouse (villa/multiplex)|commercial. ?type=&lawd_cd=5-digit district code&ym=YYYYMM (paid via x402, USDC on Base)

Inputs: ym (required), type (required), lawd_cd (required).

realestate_tradesA

Korean real-estate sale transactions by property type (MOLIT): type=officetel|house (detached/multi-family)|rowhouse (villa/multiplex)|commercial|land. ?type=&lawd_cd=5-digit district code&ym=YYYYMM (paid via x402, USDC on Base)

Inputs: ym (required), type (required), lawd_cd (required).

region_codeA

Korean legal dong (beopjeong-dong) codes by name — region_code gives the district (lawd) codes used by real-estate endpoints. ?name= (Korean partial, e.g. 종로구, 해운대) (paid via x402, USDC on Base)

Inputs: name (required).

region_householdsA

Households by household size (1-person to 10+) per administrative dong in a Korean district (MOIS resident registration). Useful for single-person household / market sizing. ?sigungu=5-digit district code&ym=YYYYMM (optional, latest) (paid via x402, USDC on Base)

Inputs: sigungu (required).

region_populationA

Resident registration population and households per administrative dong in a Korean district (MOIS): total/male/female population, households, persons per household. ?sigungu=5-digit district code&ym=YYYYMM (optional, latest) (paid via x402, USDC on Base)

Inputs: sigungu (required).

tourism_areaB

List Korean tourist attractions/restaurants/lodging/festivals by province (Korea Tourism Organization). ?area=seoul|busan|daegu|incheon|gwangju|daejeon|ulsan|sejong|gyeonggi|gangwon|chungbuk|chungnam|jeonbuk|jeonnam|gyeongbuk|gyeongnam|jeju &content_type=attraction|culture|festival|leisure|lodging|shopping|restaurant (both optional) (paid via x402, USDC on Base)

Inputs: area (required), content_type (required).

tourism_detailA

Korean tourist sight detail by content_id (from /v1/tourism/search, area, places-nearby): overview, address, homepage, images. ?content_id= (paid via x402, USDC on Base)

Inputs: content_id (required).

tourism_festivalsB

Upcoming Korean festivals/events (Korea Tourism Organization) from a start date. ?from=YYYYMMDD (defaults today) (paid via x402, USDC on Base)

Inputs: from (required).

tourism_places_nearbyB

Korean tourist sights, restaurants, shops near a lat/lon (Korea Tourism Organization): radius in m (max 20000). ?lat=&lon=&radius= (paid via x402, USDC on Base)

Inputs: lat (required), lon (required), radius (required).

trade_hsA

South Korea monthly export/import by HS code (Korea Customs Service): USD value, weight, trade balance. ?hs=2-10 digit HS code&from=YYYYMM&to=YYYYMM (max 12 months) (paid via x402, USDC on Base)

Inputs: hs (required), to (required), from (required).

transit_seoul_subwayA

Seoul Metro (lines 1-8) daily boardings/alightings per station with hourly breakdown (Seoul Metro, recent 7 days only). ?station= Korean station name (partial)&date=YYYYMMDD (optional, default 2 days ago KST) (paid via x402, USDC on Base)

Inputs: date (required), station (required).

weather_forecastA

Korea Meteorological Administration short-term forecast (3 days, hourly) for a lat/lon in South Korea. Categories: TMP temp C, POP precip %, SKY, PTY, REH humidity, WSD wind m/s (paid via x402, USDC on Base)

Inputs: lat (required), lon (required).

weather_historyA

Historical daily weather observations in Korea (KMA ASOS): avg/min/max temp, rainfall, wind, humidity, sunshine. ?city=seoul|busan|incheon|daegu|gwangju|daejeon|ulsan|jeju|suwon|gangneung|chuncheon|jeonju|cheongju&from=YYYYMMDD&to=YYYYMMDD (max 366 days, up to yesterday) (paid via x402, USDC on Base)

Inputs: to (required), city (required), from (required).

weather_livingB

Korean living-weather indices (KMA), 3-hourly up to 75h: index=uv (UV), diffusion (ventilation air diffusion). ?index=&area=10-digit area code (1100000000 Seoul) (paid via x402, USDC on Base)

Inputs: area (required), index (required).

weather_midtermA

KMA mid-term forecast (days 4-10): daily min/max temperature, sky/precip text and rain probability. ?city=seoul|incheon|suwon|chuncheon|gangneung|daejeon|cheongju|jeonju|gwangju|daegu|busan|ulsan|jeju (paid via x402, USDC on Base)

Inputs: city (required).

weather_nowA

Korean real-time current weather (KMA ultra-short observation, updated hourly) for a lat/lon: temperature, humidity, 1h rainfall, wind, precipitation type. ?lat=&lon= (paid via x402, USDC on Base)

Inputs: lat (required), lon (required).

weather_nowcastA

Korean hourly ultra-short forecast for the next 6 hours (KMA) at a lat/lon: temperature, 1h rainfall, sky, precipitation type, wind. ?lat=&lon= (paid via x402, USDC on Base)

Inputs: lat (required), lon (required).

weather_uvA

UV index forecast (KMA living weather index), 3-hourly up to 75h ahead. ?area=10-digit administrative area code (e.g. 1100000000 Seoul, 2600000000 Busan) (paid via x402, USDC on Base)

Inputs: area (required).

weather_warningsA

Current Korean weather warnings/advisories list (KMA): typhoon, heavy rain/snow, cold wave, high seas etc. No params. (paid via x402, USDC on Base)

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 46 tools

    Disambiguation2/5

    Several near-identical pairs compete for the same query: realestate_trades vs realestate_rtms (both MOLIT sale transactions by property type), food_restaurant vs places_restaurants (both MOIS restaurant permit lookups), company_pension_workplaces vs company_nps (both NPS workplace registry), company_outline vs company_business (both FSC corporation profiles), and franchise_brand vs franchise_brand_stats. Version siblings like food_nutrition/food_nutrition2 and weather_uv/weather_living (UV index) also overlap, so an agent must guess which twin to call.

    Naming Consistency3/5

    The dominant pattern is domain_prefix_action (weather_now, realestate_apt_trades, tourism_search, company_pension_workplaces), which is readable and mostly predictable. However, bare names like bizstatus, businessday, and add break the convention, and suffix variants (food_nutrition2, realestate_rtms vs realestate_trades, franchise_brand vs franchise_brand_stats) show inconsistent disambiguation-by-name.

    Tool Count2/5

    46 tools for a broad Korean public-data aggregator is heavy; the surface would be far tighter if duplicate/versioned endpoints (food_nutrition2, realestate_rtms, company_nps, franchise_brand) were consolidated. The breadth is real, but the count exceeds what an agent can reliably route among without collisions.

    Completeness4/5

    Coverage across weather (now, nowcast, 3-day, 10-day, history, warnings, UV/living indices), real estate (complexes, info, trades, rents, building registry), companies, food, tourism, air quality, and region codes is broad with search+detail flows in most domains. Minor gaps exist (e.g. transit limited to Seoul Metro, no bus/train coverage, no update/lifecycle operations since it is read-only reference data), but agents can work around them.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides 12 tools to query South Korean building register data, including title sheets, floor details, and official house prices via the data.go.kr API. It enables users to perform smart building lookups and region code searches using natural language.
      12
      2
      Apache 2.0
    • F
      license
      A
      quality
      B
      maintenance
      Enables querying Korean apartment sales and rental transaction data from the public data portal through natural language, with tools for searching transactions and computing price statistics.
      7
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI to query real-time Korean public data including weather, real estate prices, air quality, economic indicators, and business registration via natural language.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Korean public data API gateway that enables searching, inspecting, and calling 80,000+ data.go.kr APIs (weather, real estate, air quality, etc.) via natural language.
      MIT