subway-mcp
Click on "Install 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., "@subway-mcp수원역 1호선 상행 도착정보 알려줘"
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.
subway-mcp — 수원역 지하철 실시간 도착정보 MCP 서버
수원역의 1호선 / 수인분당선 실시간 도착정보를, Claude 같은 MCP 클라이언트가 조회할 수 있게 해주는 로컬 stdio MCP 서버입니다. 첫 MCP 서버 학습용 프로젝트.
구조
파일 | 역할 |
| FastMCP 서버 + |
| 도착정보 API 호출/파싱 (도메인 로직 격리) |
|
|
| 키 이름만 적어둔 템플릿 |
Related MCP server: ShippingTracker
개발 환경 준비 (uv)
cd C:\Users\admin\HJ\subway-mcp
uv sync # 의존성 설치 + 가상환경 생성실행 / 디버깅 (MCP Inspector)
uv run fastmcp dev server.py # 브라우저로 Inspector 가 열리고 툴을 직접 호출 가능진행 상태 (마일스톤)
M1 — 빈 서버 +
hello더미 툴M2 — 데이터 소스 검증 → TOPIS 확정 (역명은 "수원"으로 조회)
M3 —
get_subway_arrivals(전체 도착정보)M4 —
get_line_arrivals(호선/방향 필터)M5 — Claude Code / Desktop 연결
M6 — 에러 처리·한국어 포맷 (역명 오류/노선 오류/타임아웃/키 없음)
Claude 연결
Claude Code (모든 프로젝트에서 사용):
claude mcp add --scope user subway-info -- uv run --directory C:\Users\admin\HJ\subway-mcp python server.pyClaude Desktop: %APPDATA%\Claude\claude_desktop_config.json 의 mcpServers 에 등록 후 앱 재시작.
{
"mcpServers": {
"subway-info": {
"command": "C:\\Users\\admin\\.local\\bin\\uv.exe",
"args": ["run", "--directory", "C:\\Users\\admin\\HJ\\subway-mcp", "python", "server.py"]
}
}
}키 발급
.env.example 을 .env 로 복사한 뒤 발급받은 서비스키를 넣으세요.
TOPIS: https://data.seoul.go.kr — "지하철 실시간 도착정보" 인증키 신청
Maintenance
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
- AlicenseBqualityDmaintenanceMCP server that provides Korean weather information using grid coordinates and the Korea Meteorological Administration API, allowing users to query current weather conditions and forecasts for specific locations in Korea.27Apache 2.0
- AlicenseCqualityDmaintenance한국 택배 배송 조회를 위한 MCP 서버 MCP Server for Korean Shipment Tracking21MIT
- FlicenseAqualityFmaintenanceAn MCP server that provides access to the Koleo API for Polish train timetables, including station information, departures, and arrivals. It allows users to search for connections, view train routes, and access real-time timetable data and seat occupancy statistics.146
- FlicenseNot gradedqualityBmaintenanceThis MCP server provides accessibility risk assessment for Seoul subway trips, considering wheelchair, stroller, and other mobility constraints. It offers tools to check station facilities, elevator status, and calculates risk scores for routes based on a deterministic engine.
Related MCP Connectors
SEPTA MCP — Philadelphia SEPTA real-time transit (www3.septa.org/api, keyless)
BART MCP — San Francisco Bay Area Rapid Transit real-time data (api.bart.gov)
MBTA MCP — Boston real-time transit via the MBTA v3 API (api-v3.mbta.com)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Sungsanmerrygoround/subway-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server