daegu-transit-mcp
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., "@daegu-transit-mcp 동대구역 버스 언제 와?"
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.
daegu-transit-mcp
대구광역시 실시간 교통 오픈데이터를 MCP(Model Context Protocol) 도구로 감싼 서버입니다.
구성
영역 | 제공기관 | 데이터셋 |
버스 도착예정/위치 | 대구광역시 (data.go.kr) | |
도로 구간 소통정보 | 대구광역시 (data.go.kr) | |
주차장 실시간 여유/혼잡 | 대구광역시 통합주차정보시스템 |
Related MCP server: realestate-mcp
사전 준비
data.go.kr 회원가입 → 아래 2개 데이터셋 활용신청 (개발계정 자동승인, 즉시 발급)
pis.daegu.go.kr 개발자 등록 →
실시간주차혼잡도 조회API 키 발급 (관리자 검토 후 승인) →DAEGU_PARKING_API_KEY
설치
git clone https://github.com/wlstmd/daegu-transit-mcp && cd daegu-transit-mcp
npm install && npm run build
claude mcp add daegu-transit \
-e DATA_GO_KR_KEY=YOUR_KEY \
-e DAEGU_PARKING_API_KEY=YOUR_KEY \
--scope user \
-- node $(pwd)/dist/index.js/mcp로 6개 도구가 로드됐는지 확인 후 "동대구역 버스 언제 와?" 같은 질문으로 테스트하세요.
로컬 개발 시 .env.example을 .env로 복사해 키를 채우면 npm run dev로 바로 실행됩니다.
도구 목록
도구 | 설명 |
| 정류소 이름 → bsId 검색 |
| 버스 번호 → routeId 검색 |
| 정류소 실시간 도착예정 버스 |
| 노선 실시간 버스 위치 |
| 도로 구간별 실시간 속도/소통상황 |
| 주차장 실시간 여유/혼잡 + 상세정보 |
참고 사항
apis.data.go.kr계열 API는Accept-Language헤더가 없으면 영문으로 응답합니다. 클라이언트(src/client/dataGoKr.ts,daeguParking.ts)가ko-KR,ko;q=0.9를 항상 보냅니다.get_road_traffic은 API에 위치 필터가 없어 넓은 풀(500건)을 가져와 클라이언트에서 도로명/구간명으로 걸러냅니다. 아주 드문 지명은 안 잡힐 수 있습니다.get_parking은 통합주차정보시스템에 등록된 주차장(주로 공영)만 커버합니다. 건물 부설주차장 전체 목록(data.go.kr 15108762)은 실시간 데이터가 없고 ID 체계도 달라 제외했습니다.
Available Tools
6 toolsget_bus_arrivals정류소 실시간 버스 도착예정A
정류소 ID(bsId) 기준 실시간 도착예정 버스 목록을 가져온다. bsId는 search_bus_stop으로 먼저 찾는다. 버스 운영 시간이 아니면 데이터가 없을 수 있다.
Inputs: bsId (required), routeNo.
get_bus_location노선 실시간 버스 위치A
노선 ID(routeId) 기준 그 노선을 운행 중인 버스들의 실시간 위치를 가져온다. routeId는 search_bus_route로 먼저 찾는다.
Inputs: routeId (required).
get_parking대구 주차장 실시간 여유/혼잡 조회A
대구시 통합주차정보시스템에 등록된 주차장의 위치·요금 등 상세정보와 실시간 여유/혼잡 상태, 잔여 주차면수를 가져온다. 구(gu) 이름과 주차장 이름 키워드로 좁힐 수 있다. 실시간정보(hasRealtime=true)가 없는 주차장은 정적 정보만 나온다.
Inputs: gu, name, limit.
get_road_traffic대구 도로 구간별 실시간 소통정보A
표준노드링크 기준 도로 구간의 실시간 속도/소통상황(소통원활·서행·정체)을 가져온다. keyword로 도로명·구간명·지점명을 부분 검색한다 (예: '동대구로', '달구벌대로'). 이 API는 서버 측 위치 필터가 없어 넓은 풀을 가져와 클라이언트에서 걸러내므로, 너무 드문 지명은 안 잡힐 수 있다.
Inputs: limit, keyword.
search_bus_route대구 버스노선 검색A
버스 번호로 노선 ID(routeId)를 찾는다. get_bus_location을 쓰기 전에 먼저 호출해서 routeId를 확보한다. 예: '급행1', '805' 같은 노선번호로 검색.
Inputs: query (required), limit.
search_bus_stop대구 버스정류소 검색A
정류소 이름으로 정류소 ID(bsId)를 찾는다. get_bus_arrivals를 쓰기 전에 먼저 호출해서 bsId를 확보한다. 예: '동대구역', '반월당' 같은 키워드로 검색.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct resource and action: bus stop search, route search, arrivals, bus locations, road traffic, and parking. There is no meaningful overlap or ambiguity between them.
All tool names follow a consistent snake_case verb_noun pattern, with search_ prefix for ID lookups and get_ prefix for data retrieval. The naming is predictable and easy to navigate.
Six tools is a well-scoped count for a city transit information server. Each tool covers a necessary part of the domain without redundancy or bloat.
The tool set covers the main real-time transit and mobility workflows: finding stops and routes, arrivals, live bus locations, road traffic, and parking. Minor gaps like route stop-list or schedule details exist, but core use cases are well supported.
Maintenance
Related MCP Connectors
Seoul Open Data MCP — city data for Seoul via the Seoul Open Data Plaza API (openapi.seoul.go.kr).…
DataDallas MCP — Dallas open data (www.dallasopendata.com, Socrata SODA API).
Provide real-time transportation data including bus arrivals, train service alerts, carpark availa…
Korea-native MCP gateway: Korean commerce, payments, messaging, gov & finance APIs for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceBridges Korean public data APIs (data.go.kr) into MCP with automatic OpenAPI normalization, quota management, caching, and backoff. Enables natural language interaction with Korean government data through MCP.38 PyPIApache 2.0
- AlicenseAqualityDmaintenanceProvides South Korean real estate transaction price lookup (sales and rent) for apartments, row houses, single-family homes, and officetels via MCP tools using public data from data.go.kr.8MIT
- FlicenseAqualityCmaintenanceProvides South Korea tourist congestion and concentration forecasts, quiet-area recommendations, and attraction/festival search via MCP clients using a public data portal key.8-
- AlicenseNot gradedqualityBmaintenanceEnables realtime bus arrival queries, route and stop searches, nearby station lookups, and transit planning for Chelaile-supported cities through MCP tools.12MIT