Seoul OpenData MCP
A Seoul open-data MCP server that exposes ~19 tools over the Seoul Open Data Plaza — real-time city data (population, transit, culture, environment), batch statistics, real estate, health, and a raw dataset catalog.
Place resolution —
search_placefuzzy-matches a free-form name ("강남역", "홍대", "Gangnam") to one of 121 official hotspots; call it first before other hotspot tools.One-shot snapshot —
get_city_snapshotreturns population/congestion + weather + road traffic + top events in a single call;get_disaster_alertsreturns recent emergency text alerts for a hotspot.Population & commerce —
get_populationgives real-time population, 4-level congestion (여유/보통/약간 붐빔/붐빔), demographics, and an optional 12-hour AI forecast;get_commercial_activitygives card-payment-based activity plus per-industry breakdown (82 of 121 hotspots).Transit —
get_subway_arrivals(realtime arrivals, limit 1–30),get_bike_stations(따릉이 availability by keyword and/or lat/lng + radius),get_parking(public lot spaces by place/district keyword),get_road_traffic(road speed, congestion message, incidents).Culture —
search_cultural_eventsfilters events by keyword, category, district, date range, and free-only.Environment —
get_air_qualityfor one district or all 25 (PM10/PM2.5 + grade);get_weatherfor temperature, precipitation, fine dust, UV, sunrise/sunset and warnings at a hotspot.Batch statistics —
get_subway_ridership(per-station daily boarding/alighting for a YYYYMMDD, ~2–4 day lag) andget_living_population(de-facto population by admin dong and hour slot).Real estate —
get_real_estate_pricesfor sale transactions filtered by district, legal dong, and year (amounts in 만원).Health —
find_pharmaciesby district or name keyword with per-day operating hours.Dataset catalog —
search_datasetover the curated catalog,get_dataset_specfor path params/fields/example, andcall_datasetto invoke any dataset by id and get raw non-normalized rows (limit max 50).Zero-config start — runs without a key in sample mode (citydata tools limited to 광화문·덕수궁, other tools return at most 5 rows); a free
SEOUL_API_KEYlifts the limits.Not in this schema —
get_subway_schedule,get_subway_hourly_ridership,search_public_reservations, andget_land_priceare advertised in the README but absent here; real-estate rent/전월세, building filters, andincludeNonRealtimeparking options are also missing, and the catalog is 28 datasets rather than 52.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Seoul OpenData MCP Is Gangnam crowded right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Seoul OpenData MCP
An MCP server that wraps Seoul's real-time city data (Seoul Open Data Plaza) into 23 tools any MCP client can call, with zero setup beyond an optional API key. | 서울 열린데이터광장의 실시간 도시데이터를 23개 tool로 감싸는 MCP 서버로, 인증키 없이도 바로 사용할 수 있습니다.
English
Overview
Seoul OpenData MCP is a stdio MCP server, written in TypeScript, that exposes Seoul's real-time city data (Seoul Open Data Plaza) as 23 tools grouped into 9 categories — population and commercial activity, transit, culture and public reservations, environment, batch statistics, real estate, health, and a dataset catalog. It also ships a searchable catalog covering 52 raw Seoul Open Data datasets, so an MCP client such as Claude can go from a dataset id straight to a live API call. The server needs no setup beyond an optional API key — it runs in a scope-limited sample mode out of the box.
Related MCP server: k-skill-korea
Features
Hotspot resolution & live snapshot —
search_placefuzzy-matches a free-form place name to one of 121 official real-time hotspots, andget_city_snapshot/get_disaster_alertsreturn a combined population + weather + traffic + events snapshot, or recent emergency alerts, for one.12-hour AI population forecast & congestion —
get_populationreports real-time population, a 4-level congestion label (여유/보통/약간 붐빔/붐빔), demographics, and an optional 12-hour AI-generated forecast.Card-payment commercial activity —
get_commercial_activitysurfaces real-time, card-payment-based commercial activity levels and per-industry breakdowns across 82 of the 121 hotspots.Transit suite —
get_subway_arrivals,get_subway_schedule,get_bike_stations,get_parking, andget_road_trafficcover realtime subway arrivals, first/last trains and station timetables, Ttareungi bike-share availability, public parking space counts with fees and hours, and road speed/incidents.Batch statistics —
get_subway_ridership,get_subway_hourly_ridership,get_living_population, andfind_pharmaciescover daily and hourly ridership, de-facto living population, and pharmacy hours from batch (lagged) datasets.Public service reservations —
search_public_reservationssearches bookable Seoul public services (sports facilities, cultural and kids programs, rooms and camping, classes, clinics) with status, fee, and booking URL.Real estate —
get_real_estate_pricesreturns sale and rent (jeonse / monthly rent) transactions filtered on the server by year, district, legal dong, building name, and building type, andget_land_pricereturns the officially assessed land price per square meter for a parcel.Dataset catalog —
search_dataset,get_dataset_spec, andcall_datasetsearch, inspect, and directly call any of the 52 curated Seoul Open Data datasets, including the 27 that have no dedicated tool.Zero-config sample mode, dual API keys, caching — runs with no keys at all, supports two independent API keys (general + subway) with fallback, and caches every upstream response in memory (TTL tuned per dataset) to protect the ~1,000-call/day free quota.
Architecture
Inside the server, a request passes through these layers:
flowchart TD
MCPClient["MCP Client<br/>(Claude Desktop / Code)"] -->|"stdio JSON-RPC"| Server["seoul-opendata-mcp<br/>23 tools"]
Server --> ToolsLayer["Tools layer"]
ToolsLayer --> Normalize["Normalize<br/>(envelope unwrap · 8 shapes + normalizers)"]
Normalize --> Client["SeoulApiClient<br/>TTL cache · retry · key masking · sample clamp"]
Client --> APIs[("Seoul Open Data Plaza<br/>openapi.seoul.go.kr")]
Client --> Subway[("swopenapi<br/>realtime arrivals")]
Client -.->|"STORE_URI set, asked first"| Store[("Snapshot store<br/>S3 or a directory, optional")]
ENV[".env / env keys"] -.-> ClientEvery upstream call goes through a single HTTP path in
SeoulApiClient(recorded as ADR-003), so caching, retry, sample clamping, and error handling are implemented once for every tool.Every tool returns the same
{data, asOf, source, notes}envelope, regardless of which of the 8 raw upstream shapes it started from.Per-service cache TTLs (5 min citydata/bike/parking/air, 6h cultural events, 15s subway arrivals) protect the ~1,000-call/day free quota.
API keys are masked before they can ever appear in a log line or an error message.
With
STORE_URIset, slow-changing datasets are answered from pre-collected snapshots with no upstream call, and the responsenotescarry the collection date (recorded as ADR-007).
Prerequisites
Node.js 18 or later
An MCP client (Claude Desktop, Claude Code, or any MCP-compatible client)
(Optional) Seoul Open Data API keys — the server runs in sample mode without them
Installation
Claude Desktop
Add this to your claude_desktop_config.json (config file location):
{
"mcpServers": {
"seoul-opendata": {
"command": "npx",
"args": ["-y", "seoul-opendata-mcp"],
"env": { "SEOUL_API_KEY": "YOUR_KEY" }
}
}
}Restart Claude Desktop and the 23 tools below become available.
Claude Code
The
.mcpbbundle is for Claude Desktop (the chat app) only. For Claude Code (CLI and desktop app), install as below — register once in the terminal and the same server is available in the Claude Code desktop app as well.
Install from source
git clone https://github.com/whchoi98/seoul-opendata-mcp.git && cd seoul-opendata-mcp
npm install && npm run build
claude mcp add seoul-opendata \
-e SEOUL_API_KEY=YOUR_KEY \
-e SEOUL_SUBWAY_API_KEY=YOUR_SUBWAY_KEY \
--scope user \
-- node $(pwd)/dist/index.jsSEOUL_API_KEY— issued free at data.seoul.go.kr. Leave empty for sample mode (single 광화문·덕수궁 hotspot only). Several keys may be given separated by commas; the server moves to the next key when one reaches its daily limitSEOUL_SUBWAY_API_KEY— dedicated key for realtime subway arrivals (optional). Falls back to the first key ofSEOUL_API_KEYwhen empty--scope user— available in every project. Omit it to register for the current project only (default: local)
Verify the installation
claude mcp list # look for ✓ seoul-opendataRun /mcp inside a Claude Code session (desktop app included) to confirm the 23 tools are loaded, then test with "지금 강남역 지하철 도착 알려줘".
Import from Claude Desktop (macOS/WSL)
If the server is already installed in Claude Desktop, import the configuration as-is:
claude mcp add-from-claude-desktopCodex CLI
codex mcp add seoul-opendata --env SEOUL_API_KEY=YOUR_KEY -- npx -y seoul-opendata-mcpOr add it directly to ~/.codex/config.toml:
[mcp_servers.seoul-opendata]
command = "npx"
args = ["-y", "seoul-opendata-mcp"]
env = { SEOUL_API_KEY = "YOUR_KEY" }Kiro CLI
kiro-cli mcp add --name seoul-opendata --command npx --args "-y,seoul-opendata-mcp" \
--env SEOUL_API_KEY=YOUR_KEY --scope globalThe server is saved to ~/.kiro/settings/mcp.json (use --scope workspace for a per-project setup). Verify with kiro-cli mcp list.
One-click (MCPB)
Download the .mcpb bundle from the latest release and double-click it — Claude Desktop installs the server with no terminal required.
Deploy to AgentCore Runtime
Besides the stdio server above, this repo also ships a Streamable HTTP entrypoint (src/http.ts → dist/http.js) that satisfies the Amazon Bedrock AgentCore Runtime contract: a container listening on 0.0.0.0:8000, POST /mcp for JSON-RPC, and GET /ping for health checks.
Warning: this creates real, billable AWS resources (an ECR repository, AgentCore Runtime session compute, and — if you opt into
CACHE_TABLE_NAMEbelow — a DynamoDB table). Only run these steps if you intend to provision and pay for them; nothing here runs automatically.
Build the container and push it to ECR — the
Dockerfileis a multi-stage,linux/arm64build (AgentCore Runtime requires ARM64) that ends inCMD ["node", "dist/http.js"]:docker build --platform linux/arm64 -t seoul-opendata-mcp . aws ecr create-repository --repository-name seoul-opendata-mcp docker tag seoul-opendata-mcp:latest <account-id>.dkr.ecr.<region>.amazonaws.com/seoul-opendata-mcp:latest aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <account-id>.dkr.ecr.<region>.amazonaws.com docker push <account-id>.dkr.ecr.<region>.amazonaws.com/seoul-opendata-mcp:latestThen create (or update) the AgentCore Runtime from that image — see
docs/runbooks/agentcore-deploy.mdfor the full copy-pastecreate-agent-runtime/rollback/incident sequence.(Optional) Create the shared DynamoDB cache/quota table — setting
CACHE_TABLE_NAMEturns on a second cache tier (L2) shared by every concurrent AgentCore Runtime session, plus a durable daily quota ledger; without it, each session only has its own in-memory (L1) cache and its own quota count. Pre-create the table before setting the env var:aws dynamodb create-table --table-name seoul-mcp-cache \ --attribute-definitions AttributeName=pk,AttributeType=S \ --key-schema AttributeName=pk,KeyType=HASH \ --billing-mode PAY_PER_REQUEST aws dynamodb update-time-to-live --table-name seoul-mcp-cache \ --time-to-live-specification "Enabled=true,AttributeName=expireAt"Environment variables
Variable
Description
Default
SEOUL_API_KEYGeneral API key (same as stdio mode). Comma-separated keys rotate when one reaches its daily limit.
sampleSEOUL_SUBWAY_API_KEYSubway-only key (same as stdio mode).
falls back to the first key of
SEOUL_API_KEYCACHE_TABLE_NAMEOptional — DynamoDB table name for the shared global L2 cache and daily quota ledger. Unset means L1-only, per-session cache and quota.
(unset)
QUOTA_DAILY_LIMITDaily per-key call budget before the server switches to stale-only responses.
1000STORE_URIOptional —
s3://<bucket>/store/v1or a directory holding pre-collected snapshots. When set, 40 slow-changing datasets are answered from snapshots before the cache and the Seoul API. See docs/workshop.md.(unset)
PORTHTTP listen port.
8000Extending via AgentCore Gateway — to expose these 23 tools to other agents/orchestrators without touching any code, register the deployed Runtime endpoint as an
mcpServer-type target on an AgentCore Gateway. The Streamable HTTP contract this server already implements is exactly what a Gateway target expects, so this is a registration-only step — no changes to this repository.Workshop gateway with a shared code —
npm run workshop:deploydeploys a workshop-only runtime behind an AgentCore Gateway that acceptsAuthorization: Bearer <workshop code>. See docs/workshop.md (Korean).
Getting API Keys (5 minutes)
The server works out of the box in sample mode (see limits below), but real keys remove the limits and are free:
Sign in (or sign up) at data.seoul.go.kr.
Open the authentication-key request page ("인증키 신청") and submit the short application form.
The key is issued immediately — no waiting for approval.
Put it in
SEOUL_API_KEY(as shown above) and restart your MCP client.
Without SEOUL_API_KEY, the server falls back to a built-in sample key: the citydata-family tools (get_city_snapshot, get_population, get_commercial_activity, get_road_traffic, get_weather, get_disaster_alerts) only work for the single 광화문·덕수궁 (Gwanghwamun·Deoksugung) hotspot, and the other tools return at most 5 rows. Every sample-mode response includes a note reminding you of this.
There are two keys in total:
SEOUL_API_KEY— the general key, used by every tool except realtime subway arrivals.SEOUL_SUBWAY_API_KEY— a separate key forget_subway_arrivals(realtime subway arrivals), requested independently on data.seoul.go.kr. Optional — if unset, the server falls back to the first key ofSEOUL_API_KEY.
Local development with .env
Copy .env.example to .env and fill in your key(s):
cp .env.example .env
# then edit .env: SEOUL_API_KEY=... (and optionally SEOUL_SUBWAY_API_KEY=...).env is listed in .gitignore and is never committed — only the empty .env.example template is tracked in the repo.
Usage
"지금 강남역 혼잡도 어때?"— congestion level right now"홍대 앞으로 12시간 동안 인구가 어떻게 변할까?"— 12-hour population forecast"성수동 상권 요즘 분위기 어때?"— commercial activity trend"여의도 근처에 따릉이 자전거 있어?"— nearby Ttareungi bike availability"이번 주말 마포구 무료 공연 있어?"— free cultural events this weekend"오늘 강남구 미세먼지 어때?"— today's fine dust level"어제 강남역 승하차 몇 명이야?"— yesterday's boarding/alighting count at Gangnam station"서울 공공와이파이 데이터 찾아줘"— find Seoul's public WiFi dataset
Configuration
Variable | Description | Default |
| General API key, used by every tool except realtime subway arrivals. Falls back to a built-in, scope-limited sample key when unset. |
|
| Optional, dedicated key for | (falls back to the first key of |
.env is read by a dependency-free loader that only fills variables not already set on process.env. Precedence is: explicit environment variables > .env file > built-in sample key.
Tools
23 tools grouped into 9 categories:
Tool | Description | Key arguments |
Common | ||
| Resolve a free-form place name to one of Seoul's 121 official real-time hotspots. Use this first when the user mentions a Seoul location. |
|
| One-shot combined snapshot (population/congestion + weather + road traffic + top events) of a hotspot. Best for broad "how is X right now?" questions. |
|
| Recent emergency disaster text alerts (긴급재난문자) issued for a hotspot area. |
|
Population & Commerce | ||
| Real-time population, congestion level (여유/보통/약간 붐빔/붐빔), demographics, and optional 12-hour AI forecast. |
|
| Real-time card-payment-based commercial activity level and per-industry breakdown (82 supported places). |
|
Transit | ||
| Real-time subway train arrivals for a station. |
|
| First and last train times (both directions) for a station on lines 1-9, with an optional timetable of upcoming departures. |
|
| Find Ttareungi (서울 공공자전거) stations by name keyword and/or coordinates, with real-time available bike counts. |
|
| Real-time available spaces in Seoul public parking lots, filtered by a place/district keyword, plus fees and hours of public lots without realtime data ( |
|
| Average road speed, congestion message, and accident/control incidents around a hotspot. |
|
Culture | ||
| Search Seoul cultural events (concerts, exhibitions, festivals) by keyword/category/district/date range/free-only. |
|
| Search bookable public services on yeyak.seoul.go.kr (sports facilities, cultural and kids programs, rooms and camping, classes, clinics) with status, fee, and booking URL. |
|
Environment | ||
| Real-time air quality by district: PM10/PM2.5 with their own grades and the composite air index. Omit district for all 25; use |
|
| Current temperature, precipitation, fine dust (PM10/PM2.5), UV, sunrise/sunset and weather warnings at a hotspot. |
|
Statistics (batch) | ||
| Per-station daily subway boarding/alighting counts for a date (from about 9 months back up to ~3 days ago). |
|
| Monthly boarding/alighting counts by hour (04-03h) for a station, with the busiest and quietest hours. |
|
| De-facto (living) population estimates by administrative dong and hour (batch, ~5-day lag). |
|
Real Estate | ||
| Seoul real-estate sale or rent transactions (amounts in 만원/10k KRW), newest contract first, filtered on the server by year, district, legal dong, building name, and building type. Cancelled sales are excluded by default. |
|
| Officially assessed individual land price (KRW per m²) for parcels in a district, narrowed by legal dong and lot number. |
|
Health | ||
| Find Seoul pharmacies by district or name keyword, with per-day operating hours. |
|
Catalog | ||
| Search the curated catalog of 52 Seoul Open Data datasets by keyword (e.g. public WiFi, cold-wave shelters, public toilets). |
|
| Get the path parameters, response fields, and a call example for a catalog dataset id. |
|
| Call a catalog dataset by id and get raw (non-normalized) rows — for datasets without a dedicated tool. |
|
Coverage & Limits
121 official hotspots, 5 official categories —
search_place,get_city_snapshot,get_population,get_road_traffic, andget_weatheronly cover these named locations: palaces & cultural heritage (고궁·문화유산), tourist zones (관광특구), parks (공원), commercial districts (발달상권), and dense hotspots (인구밀집지역).Commercial activity: 82 of the 121 hotspots —
get_commercial_activityreturnssupported: falsewith nearby alternatives for the other 39.Population has ~15 minutes of delay — it's a telecom-based estimate with correction, not instantaneous.
Free quota is ~1,000 calls/day per key — the server caches responses in memory (5 min for city data/air/bike/parking, 6 hours for cultural events) to help stay within this.
Even after the daily quota is exhausted, the server keeps serving from cache for up to 24 hours and flags this with a note on the response; only past that 24-hour window does it fall back to an empty result with an explanatory note instead of an error.
Subway timetables cover lines 1-9 only —
get_subway_scheduleskips other lines at the station (e.g. 경의선, 공항철도) and says so innotes. Holidays are not detected; passday: "holiday".Public reservations list only services registered on yeyak.seoul.go.kr — services not registered there do not appear (for example, no 송파구 tennis court was listed as of 2026-11).
Bike stations, parking lots, air quality, cultural events, subway arrivals and timetables, public reservations, pharmacies, and the batch statistics tools are not limited to the 121 hotspots — they cover their respective full Seoul-wide datasets (e.g. all 25 districts for air quality, ~3,000 bike stations).
Real-estate filters — year, district, legal dong (when given with
district), building name, and building type are applied by the upstream API.rentType, and adonggiven withoutdistrict, are applied only within the latest 500 rows.get_land_pricereturns parcels in API order, not sorted by price.Catalog tools cover 52 curated datasets —
search_dataset/get_dataset_spec/call_datasetgive raw access to datasets that don't (yet) have a dedicated normalized tool.
Project Structure
seoul-opendata-mcp/
src/
client/ # HTTP client: SeoulApiClient (cache, retry, env loading)
store/ # Optional snapshot store: rules, engine, S3/directory stores, reader, collector
normalize/ # Envelope unwrap (8 shapes) + per-domain normalizers
tools/ # 23 MCP tools grouped into 9 categories
data/ # 121 hotspots + 52-dataset catalog
tests/ # 290+ unit tests + 9 live tests; fixtures are real captures
scripts/ # capture-fixtures, live-sweep, setup, workshop deploy and code
infra/ # workshop gateway stack (CloudFormation) + interceptor Lambda
docs/ # architecture, api-reference, workshop guide, ADRs, referenceTesting
# Unit tests (434 tests, fixtures are real captured API responses)
npm test
# Live tests against the real Seoul Open Data API (9 tests, needs a real key)
RUN_LIVE=1 npx vitest run live
# Exercise all 23 tools end-to-end against the real API
npx tsx scripts/live-sweep.tsData Attribution
Data is provided by the Seoul Open Data Plaza (서울 열린데이터광장, data.seoul.go.kr) "Seoul Real-time City Data" (서울 실시간 도시데이터) service, which fuses telecom population data (KT/SKT), card-payment data (Shinhan Card), and transit tap-in/tap-out data (Tmoney), along with the Seoul public bike, parking, air-quality, cultural-event, and subway-arrival open APIs.
Contributing
Fork the repository
Create your branch (
git checkout -b feat/amazing-feature)Commit changes (
git commit -m 'feat: add amazing feature')Push to the branch (
git push origin feat/amazing-feature)Open a Pull Request
Commit messages follow Conventional Commits (feat:, fix:, docs:, test:, chore:, ...).
License
MIT © 2026 whchoi98
Contact
Maintainer: whchoi98
Issues: https://github.com/whchoi98/seoul-opendata-mcp/issues
Email: whchoi98@gmail.com
한국어
개요
Seoul OpenData MCP는 TypeScript로 작성된 stdio MCP 서버로, 서울 열린데이터광장의 실시간 도시데이터를 9개 카테고리, 23개 tool로 노출합니다 — 인구·상권, 교통, 문화와 공공예약, 환경, 배치 통계, 부동산, 보건, 데이터셋 카탈로그. 또한 서울 열린데이터광장 원본 데이터셋 52종을 검색할 수 있는 카탈로그를 함께 제공해, Claude 같은 MCP 클라이언트가 데이터셋 id만으로 바로 실시간 API를 호출할 수 있습니다. 인증키 없이도 범위가 제한된 샘플 모드로 바로 동작하므로 별도 설정이 필요 없습니다.
주요 기능
핫스팟 매칭 & 실시간 스냅샷 —
search_place가 자연어 장소명을 서울 실시간 도시데이터 핫스팟 121곳 중 하나로 매칭하고,get_city_snapshot/get_disaster_alerts가 핫스팟의 인구+날씨+도로교통+주요 행사를 한 번에 조회하거나 최근 긴급재난문자를 반환합니다.12시간 AI 인구 예측 & 혼잡도 —
get_population이 실시간 인구, 4단계 혼잡도(여유/보통/약간 붐빔/붐빔), 성연령 비율, 선택적 12시간 AI 예측을 제공합니다.카드 결제 기반 상권 활성도 —
get_commercial_activity가 121개 핫스팟 중 82곳에 대해 신한카드 실시간 결제 기반 상권 활성도와 업종별 현황을 제공합니다.교통 tool 모음 —
get_subway_arrivals,get_subway_schedule,get_bike_stations,get_parking,get_road_traffic이 지하철 실시간 도착, 첫차·막차와 역별 시간표, 따릉이 잔여 대수, 공영주차장 여석과 요금·운영시간, 도로 속도·사고/통제 현황을 다룹니다.배치 통계 —
get_subway_ridership,get_subway_hourly_ridership,get_living_population,find_pharmacies가 지하철 일별·시간대별 승하차, 생활인구, 약국 운영시간을 배치(지연) 데이터로 제공합니다.공공서비스예약 —
search_public_reservations가 서울시 공공서비스예약(체육시설, 문화체험과 키즈카페, 공간 대관과 캠핑장, 교육강좌, 진료복지)을 접수 상태, 요금, 예약 링크와 함께 검색합니다.부동산 —
get_real_estate_prices가 매매와 전월세 실거래를 연도, 자치구, 법정동, 건물명, 건물 용도로 서버에서 걸러 조회하고,get_land_price가 필지별 개별공시지가(원/㎡)를 조회합니다.데이터셋 카탈로그 —
search_dataset,get_dataset_spec,call_dataset이 서울 열린데이터광장 큐레이션 데이터셋 52종(정식 tool이 없는 27종 포함)을 검색·조회·직접 호출합니다.무설정 샘플 모드, 키 2종, 캐싱 — 인증키가 전혀 없어도 동작하고, 독립된 키 2종(일반+지하철)을 폴백과 함께 지원하며, 데이터셋별로 조정된 TTL로 응답을 메모리에 캐시해 하루 약 1,000회 무료 쿼터를 보호합니다.
아키텍처
서버 안에서 요청은 다음 계층을 거칩니다.
flowchart TD
MCPClient["MCP Client<br/>(Claude Desktop / Code)"] -->|"stdio JSON-RPC"| Server["seoul-opendata-mcp<br/>23 tools"]
Server --> ToolsLayer["Tools layer"]
ToolsLayer --> Normalize["Normalize<br/>(envelope unwrap · 8 shapes + normalizers)"]
Normalize --> Client["SeoulApiClient<br/>TTL cache · retry · key masking · sample clamp"]
Client --> APIs[("Seoul Open Data Plaza<br/>openapi.seoul.go.kr")]
Client --> Subway[("swopenapi<br/>realtime arrivals")]
Client -.->|"STORE_URI set, asked first"| Store[("Snapshot store<br/>S3 or a directory, optional")]
ENV[".env / env keys"] -.-> Client모든 업스트림 호출은
SeoulApiClient내 단 하나의 HTTP 경로를 거칩니다(ADR-003으로 기록). 캐싱, 재시도, 샘플 클램핑, 에러 처리를 모든 tool에 대해 한 곳에서만 구현합니다.모든 tool은 업스트림의 8가지 원본 형태 중 무엇에서 시작했든 동일한
{data, asOf, source, notes}봉투로 응답합니다.서비스별 캐시 TTL(citydata/따릉이/주차/대기질 5분, 문화행사 6시간, 지하철 도착 15초)이 하루 약 1,000회 무료 쿼터를 보호합니다.
API 키는 로그나 에러 메시지에 노출되기 전에 항상 마스킹됩니다.
STORE_URI를 설정하면 느린 데이터는 미리 받아 둔 스냅샷으로 답해 서울 API를 부르지 않고, 응답의notes에 수집 날짜가 들어갑니다(ADR-007).
사전 요구 사항
Node.js 18 이상
MCP 클라이언트 (Claude Desktop, Claude Code, 또는 다른 MCP 호환 클라이언트)
(선택) 서울 열린데이터광장 인증키 — 없어도 샘플 모드로 동작합니다
설치 방법
Claude Desktop
claude_desktop_config.json(설정 파일 위치)에 아래 내용을 추가하세요.
{
"mcpServers": {
"seoul-opendata": {
"command": "npx",
"args": ["-y", "seoul-opendata-mcp"],
"env": { "SEOUL_API_KEY": "YOUR_KEY" }
}
}
}Claude Desktop을 재시작하면 아래 23개 tool을 바로 사용할 수 있습니다.
Claude Code
.mcpb파일은 Claude Desktop(채팅 앱) 전용입니다. Claude Code(CLI 및 데스크톱 앱)는 아래 방법으로 설치하세요. 터미널에서 한 번 등록하면 Claude Code 데스크톱 앱에서도 동일하게 사용할 수 있습니다.
소스에서 설치
git clone https://github.com/whchoi98/seoul-opendata-mcp.git && cd seoul-opendata-mcp
npm install && npm run build
claude mcp add seoul-opendata \
-e SEOUL_API_KEY=YOUR_KEY \
-e SEOUL_SUBWAY_API_KEY=YOUR_SUBWAY_KEY \
--scope user \
-- node $(pwd)/dist/index.jsSEOUL_API_KEY— data.seoul.go.kr에서 무료 발급. 비우면 샘플 모드(광화문·덕수궁 단일 핫스팟 한정)로 동작. 쉼표로 여러 키를 넣으면 한 키가 하루 한도에 닿을 때 다음 키로 넘어갑니다SEOUL_SUBWAY_API_KEY— 지하철 실시간 도착 전용 키(선택). 비우면SEOUL_API_KEY의 첫 키로 폴백--scope user— 모든 프로젝트에서 사용. 현재 프로젝트에서만 쓰려면 생략(기본값 local)
설치 확인
claude mcp list # ✓ seoul-opendata 표시 확인Claude Code 세션(데스크톱 앱 포함)에서 /mcp를 실행하면 23개 tool이 로드된 것을 확인할 수 있습니다. "지금 강남역 지하철 도착 알려줘"로 동작을 테스트하세요.
Claude Desktop에서 가져오기 (macOS/WSL)
Claude Desktop에 이미 설치한 경우 구성을 그대로 가져올 수 있습니다.
claude mcp add-from-claude-desktopCodex CLI
codex mcp add seoul-opendata --env SEOUL_API_KEY=YOUR_KEY -- npx -y seoul-opendata-mcp또는 ~/.codex/config.toml에 직접 추가할 수 있습니다.
[mcp_servers.seoul-opendata]
command = "npx"
args = ["-y", "seoul-opendata-mcp"]
env = { SEOUL_API_KEY = "YOUR_KEY" }Kiro CLI
kiro-cli mcp add --name seoul-opendata --command npx --args "-y,seoul-opendata-mcp" \
--env SEOUL_API_KEY=YOUR_KEY --scope global서버 설정은 ~/.kiro/settings/mcp.json에 저장됩니다(프로젝트 단위로 쓰려면 --scope workspace). kiro-cli mcp list로 등록을 확인할 수 있습니다.
원클릭 설치 (MCPB)
최신 릴리스에서 .mcpb 파일을 내려받아 더블클릭하면, 터미널 없이 Claude Desktop에 서버가 설치됩니다.
AgentCore Runtime에 배포
위 stdio 서버 외에, 이 저장소는 Amazon Bedrock AgentCore Runtime 계약을 만족하는 Streamable HTTP 진입점(src/http.ts → dist/http.js)도 함께 제공합니다: 0.0.0.0:8000에서 리스닝하는 컨테이너, JSON-RPC용 POST /mcp, 헬스체크용 GET /ping입니다.
주의: 아래 단계는 실제로 과금되는 AWS 리소스를 생성합니다 (ECR 리포지토리, AgentCore Runtime 세션 컴퓨트, 그리고 아래
CACHE_TABLE_NAME을 사용하기로 하면 DynamoDB 테이블까지). 이 섹션의 어떤 단계도 자동으로 실행되지 않으며, 실제로 이 리소스들을 생성하고 비용을 지불할 의도가 있을 때만 진행하세요.
컨테이너 빌드 후 ECR로 push —
Dockerfile은CMD ["node", "dist/http.js"]로 끝나는 멀티스테이지linux/arm64빌드입니다(AgentCore Runtime은 ARM64를 요구합니다).docker build --platform linux/arm64 -t seoul-opendata-mcp . aws ecr create-repository --repository-name seoul-opendata-mcp docker tag seoul-opendata-mcp:latest <account-id>.dkr.ecr.<region>.amazonaws.com/seoul-opendata-mcp:latest aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <account-id>.dkr.ecr.<region>.amazonaws.com docker push <account-id>.dkr.ecr.<region>.amazonaws.com/seoul-opendata-mcp:latest이후 해당 이미지로 AgentCore Runtime을 생성(또는 갱신)합니다 —
create-agent-runtime/롤백/장애 대응까지 복붙 가능한 전체 절차는docs/runbooks/agentcore-deploy.md를 참고하세요.(선택) 공유 DynamoDB 캐시·쿼터 테이블 생성 —
CACHE_TABLE_NAME을 설정하면 동시에 실행 중인 모든 AgentCore Runtime 세션이 공유하는 2단계 캐시(L2)와, 하루 단위로 지속되는 쿼터 원장이 활성화됩니다. 설정하지 않으면 각 세션은 자신만의 인메모리(L1) 캐시와 쿼터 카운트만 가집니다. env 변수를 설정하기 전에 테이블을 먼저 만들어 두세요.aws dynamodb create-table --table-name seoul-mcp-cache \ --attribute-definitions AttributeName=pk,AttributeType=S \ --key-schema AttributeName=pk,KeyType=HASH \ --billing-mode PAY_PER_REQUEST aws dynamodb update-time-to-live --table-name seoul-mcp-cache \ --time-to-live-specification "Enabled=true,AttributeName=expireAt"환경 변수
Variable
Description
Default
SEOUL_API_KEY일반 API 키(stdio 모드와 동일). 쉼표로 여러 키를 넣으면 하루 한도에 닿은 키 다음 키를 씁니다.
sampleSEOUL_SUBWAY_API_KEY지하철 전용 키(stdio 모드와 동일).
SEOUL_API_KEY의 첫 키로 폴백CACHE_TABLE_NAME선택 — 전역 L2 캐시와 일일 쿼터 원장에 쓰이는 DynamoDB 테이블명. 미설정 시 L1 전용, 세션별 캐시·쿼터로 동작.
(미설정)
QUOTA_DAILY_LIMIT쿼터 소진 시 stale-only 응답으로 전환되기 전까지의 키별 일일 호출 예산.
1000STORE_URI선택 사항. 미리 받아 둔 스냅샷이 있는
s3://<버킷>/store/v1또는 디렉터리. 설정하면 느린 데이터 40종을 캐시와 서울 API보다 먼저 스냅샷으로 답합니다. docs/workshop.md 참조.(미설정)
PORTHTTP 리슨 포트.
8000AgentCore Gateway로 확장 — 코드를 전혀 바꾸지 않고 이 23개 tool을 다른 에이전트/오케스트레이터에 노출하려면, 배포된 Runtime 엔드포인트를 AgentCore Gateway의
mcpServer타입 타깃으로 등록하세요. 이 서버가 이미 구현하고 있는 Streamable HTTP 계약이 Gateway 타깃이 기대하는 형태와 정확히 일치하므로, 등록만 하면 되는 단계이며 이 저장소에는 어떤 변경도 필요 없습니다.공용 코드로 접속하는 워크숍 Gateway —
npm run workshop:deploy가Authorization: Bearer <워크숍 코드>를 받는 AgentCore Gateway 뒤에 워크숍 전용 런타임을 배포합니다. docs/workshop.md를 참고하세요.
API 키 발급 (5분)
인증키 없이도 샘플 모드로 바로 동작합니다(아래 한계 참고). 하지만 실제 키는 무료이고 이런 제한이 사라지니 발급을 권장합니다.
data.seoul.go.kr에 로그인(또는 회원가입)합니다.
"인증키 신청" 페이지에서 간단한 신청서를 작성해 제출합니다.
승인 대기 없이 즉시 발급됩니다.
발급받은 키를 위 설정의
SEOUL_API_KEY에 넣고 MCP 클라이언트를 재시작하세요.
SEOUL_API_KEY를 설정하지 않으면 서버는 내장된 sample 키로 동작합니다. 이 경우 citydata 계열 tool(get_city_snapshot, get_population, get_commercial_activity, get_road_traffic, get_weather, get_disaster_alerts)은 광화문·덕수궁 단일 핫스팟 1곳만 조회 가능하고, 나머지 tool은 최대 5건까지만 반환됩니다. 샘플 모드 응답에는 이 제약을 알리는 안내가 항상 포함됩니다.
인증키는 총 2종입니다.
SEOUL_API_KEY— 일반 인증키. 지하철 실시간 도착을 제외한 모든 tool이 사용합니다.SEOUL_SUBWAY_API_KEY— 지하철 실시간 도착(get_subway_arrivals) 전용 인증키. data.seoul.go.kr에서 별도로 신청합니다. 선택 항목이며, 설정하지 않으면SEOUL_API_KEY의 첫 키를 대신 사용합니다.
.env로 로컬 개발하기
.env.example을 .env로 복사한 뒤 키를 입력하세요.
cp .env.example .env
# 이후 .env를 편집: SEOUL_API_KEY=... (선택적으로 SEOUL_SUBWAY_API_KEY=...).env는 .gitignore에 등록되어 있어 절대 커밋되지 않습니다 — 저장소에는 값이 빈 .env.example 템플릿만 추적됩니다.
사용법
"지금 강남역 혼잡도 어때?"— 실시간 혼잡도"홍대 앞으로 12시간 동안 인구가 어떻게 변할까?"— 12시간 인구 예측"성수동 상권 요즘 분위기 어때?"— 상권 활성도 추이"여의도 근처에 따릉이 자전거 있어?"— 인근 따릉이 잔여 대수"이번 주말 마포구 무료 공연 있어?"— 주말 무료 문화행사"오늘 강남구 미세먼지 어때?"— 오늘의 미세먼지 수준"어제 강남역 승하차 몇 명이야?"— 어제 강남역 승하차 인원"서울 공공와이파이 데이터 찾아줘"— 공공와이파이 데이터셋 검색
환경 설정
Variable | Description | Default |
| 일반 인증키. 지하철 실시간 도착을 제외한 모든 tool이 사용합니다. 미설정 시 범위가 제한된 내장 샘플 키로 폴백합니다. |
|
| 지하철 실시간 도착( | ( |
.env는 process.env에 아직 설정되지 않은 값만 채우는 의존성 없는 로더가 읽습니다. 우선순위는 명시적 환경변수 > .env 파일 > 내장 샘플 키 순입니다.
Tools
23개 tool을 9개 카테고리로 나누어 제공합니다.
Tool | 설명 | 주요 인자 |
공통 | ||
| 자연어 장소명을 서울 실시간 도시데이터 핫스팟 121곳 중 하나로 매칭합니다. 사용자가 서울의 특정 장소를 언급하면 가장 먼저 사용하세요. |
|
| 핫스팟의 인구/혼잡도 + 날씨 + 도로교통 + 주요 행사를 한 번에 조회합니다. "지금 홍대 어때?" 같은 포괄적 질문에 적합합니다. |
|
| 핫스팟 지역에 발령된 최근 긴급재난문자를 조회합니다. |
|
생활인구 | ||
| 실시간 인구, 혼잡도(여유/보통/약간 붐빔/붐빔), 성연령 비율, 선택적으로 12시간 AI 예측을 조회합니다. |
|
| 신한카드 실시간 결제 기반 상권 활성도와 업종별 현황을 조회합니다(지원 82곳). |
|
교통 | ||
| 지하철역의 실시간 열차 도착 정보를 조회합니다. |
|
| 1~9호선 역의 첫차·막차 시간(양방향)과, 선택하면 다음 열차 시간표를 조회합니다. |
|
| 이름 키워드 및/또는 좌표로 따릉이 대여소를 찾고 실시간 잔여 대수를 조회합니다. |
|
| 장소/자치구 키워드로 서울 공영주차장의 실시간 주차 가능 면수를 조회하고, 실시간 연계가 없는 공영주차장의 요금과 운영시간( |
|
| 핫스팟 주변의 평균 도로 속도, 소통 메시지, 사고/통제 현황을 조회합니다. |
|
문화 | ||
| 키워드/분류/자치구/기간/무료 여부로 서울시 문화행사(공연·전시·축제)를 검색합니다. |
|
| 서울시 공공서비스예약(yeyak.seoul.go.kr)에서 체육시설, 문화체험과 키즈카페, 공간 대관과 캠핑장, 교육강좌, 진료복지를 접수 상태, 요금, 예약 링크와 함께 검색합니다. |
|
환경 | ||
| 자치구별 실시간 대기질(PM10/PM2.5와 각각의 등급, 통합대기환경지수)을 조회합니다. 자치구를 생략하면 25개 전체를 반환합니다. 특정 장소는 |
|
| 핫스팟 기준 현재 기온, 강수, 미세먼지(PM10/PM2.5), 자외선, 일출/일몰, 기상특보를 조회합니다. |
|
통계(배치) | ||
| 지하철 역별 일별 승하차 인원을 조회합니다(약 9개월 전부터 보통 3일 전까지 제공). |
|
| 역의 시간대별(04~03시) 승하차 인원 월 합계와 가장 붐비는, 한산한 시간대를 조회합니다. |
|
| 행정동·시간대별 생활인구 통계를 조회합니다(배치, 약 5일 지연). |
|
부동산 | ||
| 서울 부동산 매매 또는 전월세 실거래(단위: 만원)를 계약일 최신순으로 조회합니다. 연도, 자치구, 법정동, 건물명, 건물 용도는 서버에서 거르고, 해제된 매매 거래는 기본으로 뺍니다. |
|
| 자치구 안 필지의 개별공시지가(원/㎡)를 법정동과 지번으로 좁혀 조회합니다. |
|
보건 | ||
| 자치구 또는 약국명 키워드로 서울 약국을 찾고 요일별 운영시간을 조회합니다. |
|
카탈로그 | ||
| 서울 열린데이터광장 카탈로그(52개 데이터셋)를 키워드로 검색합니다(예: 공공와이파이, 한파쉼터, 공중화장실). |
|
| 카탈로그 데이터셋 id의 경로 파라미터, 응답 필드, 호출 예시를 확인합니다. |
|
| 정식 tool이 없는 카탈로그 데이터셋을 id로 직접 호출해 원본(비정규화) 데이터를 가져옵니다. |
|
커버리지와 한계
핫스팟 121곳, 정식 카테고리 5종 —
search_place,get_city_snapshot,get_population,get_road_traffic,get_weather는 지정된 121개 장소만 지원합니다: 고궁·문화유산, 관광특구, 공원, 발달상권, 인구밀집지역.상권은 121곳 중 82곳만 지원 —
get_commercial_activity는 나머지 39곳에 대해supported: false와 인접 대안 장소를 반환합니다.인구는 약 15분 지연 — 통신사 집계 기반 추정치에 보정을 거치기 때문에 실시간이 아닙니다.
무료 쿼터는 키당 하루 약 1,000회 — 서버는 메모리 캐시(도시데이터/대기질/따릉이/주차 5분, 문화행사 6시간)로 쿼터 소진을 완화합니다.
쿼터 소진 시에도 24시간 이내 캐시로 응답하며 note로 고지합니다 — 24시간이 지난 캐시만 에러 대신 안내 문구와 함께 빈 결과를 반환합니다.
지하철 시간표는 1~9호선만 지원합니다 —
get_subway_schedule은 그 역의 다른 노선(예: 경의선, 공항철도)을 빼고notes로 알립니다. 공휴일은 알아내지 못하므로day: "holiday"로 지정합니다.공공서비스예약은 yeyak.seoul.go.kr에 등록된 서비스만 나옵니다 — 등록되지 않은 시설은 나오지 않습니다(예: 2026-11 기준 송파구 테니스장은 목록에 없음).
따릉이 대여소, 공영주차장, 대기질, 문화행사, 지하철 도착 정보와 시간표, 공공서비스예약, 약국, 배치 통계 tool은 121개 핫스팟에 한정되지 않고 서울 전역 데이터를 다룹니다(예: 대기질은 25개 자치구 전체, 따릉이는 약 3천 개 대여소).
부동산 필터 — 연도, 자치구, 법정동(
district와 함께 지정할 때), 건물명, 건물 용도는 업스트림 API가 거릅니다.rentType과district없이 준dong은 최신 500건 안에서만 거릅니다.get_land_price는 가격순이 아니라 API 순서로 필지를 돌려줍니다.카탈로그 tool은 52개 큐레이션 데이터셋을 다룹니다 —
search_dataset/get_dataset_spec/call_dataset은 아직 정규화된 정식 tool이 없는 데이터셋을 원본 그대로 조회할 수 있게 해줍니다.
프로젝트 구조
seoul-opendata-mcp/
src/
client/ # HTTP 클라이언트: SeoulApiClient (캐시, 재시도, env 로딩)
store/ # 선택적 사전 적재 저장소: 규칙, 엔진, S3와 디렉터리 저장소, 읽기 경로, 수집기
normalize/ # 봉투 언랩(8가지 형태) + 도메인별 정규화
tools/ # 9개 카테고리로 묶인 23개 MCP tool
data/ # 121개 핫스팟 + 52개 데이터셋 카탈로그
tests/ # 유닛 테스트 290개 이상 + 라이브 테스트 9개, fixture는 실제 캡처본
scripts/ # capture-fixtures, live-sweep, setup, 워크숍 배포와 코드 관리
infra/ # 워크숍 Gateway 스택(CloudFormation) + 인터셉터 Lambda
docs/ # architecture, api-reference, 워크숍 안내, ADR, reference테스트
# 유닛 테스트 (434개, fixture는 실제 캡처한 API 응답)
npm test
# 실제 서울 열린데이터광장 API를 대상으로 하는 라이브 테스트 (9개, 실제 키 필요)
RUN_LIVE=1 npx vitest run live
# 23개 tool 전체를 실제 API로 전수 점검
npx tsx scripts/live-sweep.ts데이터 출처 고지
이 서버는 서울 열린데이터광장(data.seoul.go.kr)의 '서울 실시간 도시데이터' 서비스를 사용합니다. 이 데이터는 통신사(KT/SKT) 인구 데이터, 신한카드 결제 데이터, 티머니(Tmoney) 대중교통 승하차 데이터를 융합한 것이며, 서울시 공공자전거·주차장·대기환경·문화행사·지하철 도착정보 오픈 API도 함께 사용합니다.
기여 방법
Fork the repository
Create your branch (
git checkout -b feat/amazing-feature)Commit changes (
git commit -m 'feat: add amazing feature')Push to the branch (
git push origin feat/amazing-feature)Open a Pull Request
커밋 메시지는 Conventional Commits 규약(feat:, fix:, docs:, test:, chore: 등)을 따릅니다.
라이선스
MIT © 2026 whchoi98
연락처
Maintainer: whchoi98
Issues: https://github.com/whchoi98/seoul-opendata-mcp/issues
Email: whchoi98@gmail.com
Available Tools
19 toolscall_datasetCall a catalog dataset (raw fields)A
Invoke a catalog dataset by id and get RAW (non-normalized) rows; check get_dataset_spec first for required params. 카탈로그 데이터셋을 직접 호출합니다. 응답은 정규화되지 않은 원본 필드입니다.
Inputs: id (required), limit, params.
find_pharmaciesFind pharmacies with operating hoursA
Find Seoul pharmacies by district or name keyword, with per-day operating hours. 약국 위치·전화·요일별 운영시간. "강남구 약국 몇 시까지 해?" 류 질문에 사용.
Inputs: name, limit, district.
get_air_qualityReal-time air quality by districtA
Get real-time air quality (PM10/PM2.5, grade) for Seoul districts. Omit district to get all 25. 자치구별 실시간 대기질. "오늘 강남구 미세먼지 어때?" 류 질문에 사용.
Inputs: district.
get_bike_stationsTtareungi (Seoul bike) station availabilityA
Find Seoul public bike (따릉이) stations by name keyword and/or coordinates, with real-time available bike counts. 따릉이 대여소 실시간 잔여 대수. 장소 기반은 대여소 이름 키워드 매칭으로 동작 (예: query="강남역").
Inputs: lat, lng, limit, query, +1 more.
get_city_snapshotOne-shot city snapshot of a hotspotA
Get a combined snapshot (population/congestion + weather + road + top events) of a Seoul hotspot in ONE call. Prefer this for broad "how is X right now?" questions. 핫스팟 종합 현황 1회 요약. "지금 홍대 어때?" 같은 포괄 질문에 사용.
Inputs: place (required).
get_commercial_activityReal-time commercial (card payment) activityA
Get real-time card-payment based commercial activity level (한산한→분주한 4 levels) and per-industry breakdown for a Seoul hotspot (82 supported places). 신한카드 실시간 결제 기반 상권 현황. "지금 성수동 장사 잘돼?" 류 질문에 사용.
Inputs: place (required).
get_dataset_specGet dataset call specificationA
Get the path parameters, response fields, and call example for a catalog dataset id. call_dataset 호출 전 파라미터 명세를 확인합니다.
Inputs: id (required).
get_disaster_alertsEmergency disaster alerts near a hotspotA
Get recent emergency disaster text alerts (긴급재난문자) issued for a Seoul hotspot area. 핫스팟 지역 긴급재난문자. "지금 재난문자 온 거 있어?" 류 질문에 사용.
Inputs: place (required).
get_living_populationLiving population by administrative dongA
Get de-facto (living) population estimates by administrative dong and hour. 행정동·시간대별 생활인구 통계. 실시간 아님 — 실시간 혼잡은 get_population 사용.
Inputs: date, limit, dongCode, timeSlot.
get_parkingPublic parking availabilityA
Get real-time available spaces in Seoul public parking lots, filtered by place/district keyword matched against lot name and address. 공영주차장 실시간 주차 가능 면수 (실시간 연계 122곳 한정). "종로 주차 자리 있어?" 류 질문에 사용.
Inputs: query (required), limit.
get_populationReal-time population & congestionA
Get real-time population, congestion level (여유/보통/약간 붐빔/붐빔), demographics, and optional 12-hour AI forecast for a Seoul hotspot. 서울 핫스팟의 실시간 인구·혼잡도·성연령 비율·12시간 예측을 조회합니다. "지금 강남역 혼잡해?" 류 질문에 사용.
Inputs: place (required), includeForecast.
get_real_estate_pricesReal estate transaction pricesA
Get Seoul real-estate sale transaction records (price in 만원), filterable by district/dong/year. 부동산 매매 실거래가. "강남구 아파트 실거래가?" 류 질문에 사용.
Inputs: dong, year, limit, district.
get_road_trafficRoad traffic & incidents around a hotspotA
Get average road speed, congestion message, and accident/control incidents around a Seoul hotspot. 핫스팟 주변 도로소통·사고통제 현황. "광화문 근처 길 막혀?" 류 질문에 사용.
Inputs: place (required).
get_subway_arrivalsReal-time subway arrivalsA
Get real-time subway train arrivals for a Seoul station. Pass the station name WITHOUT the "역" suffix if possible (e.g. "강남"). 지하철역 실시간 도착 정보. "2호선 강남역 열차 언제 와?" 류 질문에 사용.
Inputs: station (required), limit.
get_subway_ridershipDaily subway ridership statisticsA
Get per-station daily subway boarding/alighting counts for a date (data available up to ~2-4 days ago). 지하철 역별 일별 승하차 인원. "강남역 하루 승객 몇 명?" 류 질문에 사용.
Inputs: date (required), line, limit, station.
get_weatherWeather & fine dust at a hotspotA
Get current temperature, precipitation, fine dust (PM10/PM2.5), UV, sunrise/sunset and weather warnings for a Seoul hotspot. 핫스팟 기준 날씨·미세먼지·기상특보. "지금 여의도 날씨 어때?" 류 질문에 사용.
Inputs: place (required).
search_cultural_eventsSearch Seoul cultural eventsA
Search Seoul cultural events (concerts, exhibitions, festivals) by keyword/category/district/date-range/free-only. 서울시 문화행사 검색. "이번 주말 마포구 무료 공연 있어?" 류 질문에 사용.
Inputs: to, from, limit, keyword, +3 more.
search_datasetSearch the Seoul dataset catalogA
Search the curated catalog of 28 Seoul Open Data datasets by keyword; entries with a dedicated tool point you to it. 카탈로그에서 데이터셋을 검색합니다. 정식 tool이 없는 데이터는 call_dataset으로 호출하세요.
Inputs: query (required).
search_placeSearch Seoul hotspot placesA
Resolve a free-form place name to one of Seoul's 121 official real-time hotspots. Use FIRST when the user mentions a Seoul location. 자연어 장소명을 서울 실시간 도시데이터 핫스팟 121곳에 매칭합니다.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Most tools target distinct domains (subway, parking, weather, etc.), but get_weather and get_air_quality overlap on fine dust data, and get_population vs get_living_population could be confused despite clarifying descriptions. Overall, boundaries are clear enough with the provided intent examples.
All tools follow a consistent verb_noun pattern (get_, search_, find_, call_). Verbs are semantically appropriate and nouns are specific, making the set predictable and easy to navigate.
19 tools is slightly heavy but well-justified for a comprehensive city data server covering real-time, historical, and catalog-based access. The count is within a manageable range and each tool has a distinct role, though a few could arguably be consolidated.
The tool surface covers a wide range of Seoul open data domains: place resolution, real-time congestion, weather, transport, commercial activity, cultural events, and administrative statistics. The catalog tools (search_dataset, get_dataset_spec, call_dataset) provide a fallback for any dataset without a dedicated tool, ensuring no dead ends.
Maintenance
Related MCP Connectors
Seoul Open Data MCP — city data for Seoul via the Seoul Open Data Plaza API (openapi.seoul.go.kr).…
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
MCP server for searching Airweave collections with natural language queries.
Hosted MCP server for live public-data APIs and Skills for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server providing access to 1M synthetic Korean personas based on KOSIS statistics, enabling persona sampling, search, and analysis via natural language queries.MIT
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server providing access to various Korean public data such as subway arrivals, weather, fine dust, bike availability, real estate, and more.-
- FlicenseNot gradedqualityDmaintenanceThis MCP server integrates South Korea's national law information, building registers from MOLIT, and KOSIS statistics for housing development research. It enables searching laws, retrieving building details, and accessing statistical data through natural language.-
- FlicenseAqualityDmaintenanceEnables querying Korean public datasets (apartment prices, weather, air quality) via natural language using an MCP server and local LLM agent.5-