korea-data-x402-mcp
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-mcpRequires Node 18+.
Related MCP server: realestate-mcp
Configuration
Env var | Required | Description |
| 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. |
| no | API origin. Default |
| no | Default |
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 |
|
| $0.003 | Seoul Metro |
|
| $0.002 | Resident registration population and households per administrative dong in a Korean district |
|
| $0.002 | Households by household size |
|
| $0.003 | Korean franchise startup cost per brand |
|
| $0.002 | Historical daily weather observations in Korea |
|
| $0.002 | KMA mid-term forecast |
|
| $0.002 | List of apartment complexes in a Korean district |
|
| $0.005 | Search licensed Korean restaurants |
|
| $0.005 | Korean real-estate sale transactions by property type |
|
| $0.001 | UV index forecast |
|
| $0.002 | Korean food nutrition facts |
|
| $0.005 | Search Korean workplaces that WITHDREW from the National Pension Service |
|
| $0.002 | Latest Korean agricultural product wholesale/retail prices |
|
| $0.01 | Korean franchise brand statistics |
|
| $0.005 | South Korea monthly export/import by HS code |
|
| $0.002 | Search Korean tourist attractions, restaurants, lodging, festivals by keyword |
|
| $0.001 | Current Korean weather warnings/advisories list |
|
| $0.005 | Korean apartment sale transactions |
|
| $0.005 | Korean apartment lease/rent |
|
| $0.002 | Korea Meteorological Administration short-term forecast |
|
| $0.002 | Real-time air quality |
|
| $0.005 | Small businesses/shops within a radius |
|
| $0.005 | Search Korean companies registered with the National Pension Service by name |
|
| $0.005 | Korean corporation basic info |
|
| $0.01 | Korean business registration status from the National Tax Service |
|
| $0.001 | Is a date a Korean business day |
|
| $0.001 | Add N Korean business days to a date |
|
| $0.005 | Korean real-estate sale transactions by property type |
|
| $0.005 | Korean franchise |
|
| $0.002 | List Korean tourist attractions/restaurants/lodging/festivals by province |
|
| $0.005 | Korean company profile |
|
| $0.005 | Korean National Pension Service workplace registry |
|
| $0.002 | Korean food-business permits |
|
| $0.001 | Korean legal dong |
|
| $0.002 | Korean food nutrition facts |
|
| $0.002 | Browse Korean food composition DB by category |
|
| $0.001 | Korean living-weather indices |
|
| $0.002 | Korean fine-dust forecast grades by province |
|
| $0.001 | Korean real-time air quality at one monitoring station |
|
| $0.002 | Korean tourist sights, restaurants, shops near a lat/lon |
|
| $0.002 | Upcoming Korean festivals/events |
|
| $0.001 | Korean tourist sight detail by content_id |
|
| $0.005 | Korean building ledger |
|
| $0.002 | Korean apartment complex profile |
|
| $0.001 | Korean real-time current weather |
|
| $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 toolsaddB
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).
tourism_searchA
Search Korean tourist attractions, restaurants, lodging, festivals by keyword (Korea Tourism Organization): address, coordinates, image. ?keyword= (Korean works best) (paid via x402, USDC on Base)
Inputs: keyword (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
Scored across 46 tools
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.
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.
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.
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
Related MCP Connectors
Pay-per-call data APIs for AI agents. USDC on Base via x402. 33 tools, no signup.
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
zh-TW/Taiwan data + AI for agents. 24 tools, pay-per-call USDC on Base via x402.
64 x402 tools for agents: LLM prices, GPU prices, token prices, weather, SEC. 3 free calls/day
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides 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.122Apache 2.0
- FlicenseAqualityBmaintenanceEnables 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-
- AlicenseNot gradedqualityCmaintenanceEnables AI to query real-time Korean public data including weather, real estate prices, air quality, economic indicators, and business registration via natural language.1MIT

FieldCure PublicData.Krofficial
AlicenseNot gradedqualityDmaintenanceKorean 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