Singapore LTA MCP Server
通过与新加坡陆路交通管理局 (LTA) DataMall API 集成,实现对 LTA 交通运输数据的实时访问,从而提供对巴士抵达时间、火车服务、交通状况等信息的深入了解。
Tools
bus_arrival
Get real-time bus arrival information for a specific bus stop and optionally a specific service number. Returns estimated arrival times, bus locations, and crowding levels.
station_crowding
Get real-time MRT/LRT station crowdedness level for a particular train network line. Updates every 10 minutes.
train_alerts
Get real-time train service alerts including service disruptions and shuttle services. Updates when there are changes.
carpark_availability
Get real-time availability of parking lots for HDB, LTA, and URA carparks. Updates every minute.
travel_times
Get estimated travel times on expressway segments. Updates every 5 minutes.
traffic_incidents
Get current road incidents including accidents, roadworks, and heavy traffic. Updates every 2 minutes.
station_crowd_forecast
Get forecasted MRT/LRT station crowdedness levels in 30-minute intervals.
README
新加坡陆路交通管理局 MCP 服务器
一个为新加坡陆路交通管理局 (LTA) DataMall API 提供的 MCP 服务器,提供对交通信息的实时访问,包括巴士到达信息、交通状况和列车服务更新。
通过 Smithery 安装
要通过 Smithery 自动为 Claude Desktop 安装新加坡陆路交通管理局 MCP 服务器,请执行以下操作:
npx -y @smithery/cli install @arjunkmrm/mcp-sg-lta --client claude
工具
bus_arrival
获取特定巴士站的实时巴士到达信息。
输入:
busStopCode
(字符串,必需): 唯一的 5 位巴士站代码serviceNo
(字符串,可选): 用于过滤结果的特定巴士服务编号
station_crowding
获取地铁/轻轨站的实时拥挤程度(每 10 分钟更新一次)。
输入:
trainLine
(字符串,必需): 轨道交通线路代码- 支持的值:CCL, CEL, CGL, DTL, EWL, NEL, NSL, BPL, SLRT, PLRT, TEL
train_alerts
获取实时列车服务警报,包括中断和接驳服务。
输入: 无需输入
carpark_availability
获取建屋发展局 (HDB)、陆路交通管理局 (LTA) 和市区重建局 (URA) 停车场的实时停车位可用性(每分钟更新一次)。
输入: 无需输入
travel_times
获取高速公路路段的预计通行时间(每 5 分钟更新一次)。
输入: 无需输入
traffic_incidents
获取当前道路事件,包括事故、道路工程和交通拥堵(每 2 分钟更新一次)。
输入: 无需输入
station_crowd_forecast
获取以 30 分钟为间隔预测的地铁/轻轨站拥挤程度。
输入:
trainLine
(字符串,必需): 轨道交通线路代码- 支持的值:CCL, CEL, CGL, DTL, EWL, NEL, NSL, BPL, SLRT, PLRT, TEL
配置
获取 API 密钥
- 在 LTA DataMall 上注册一个帐户
- 订阅 API 服务
- 从帐户仪表板获取您的 API 密钥
与 Claude Desktop 一起使用
将以下内容添加到您的 claude_desktop_config.json
:
{
"mcpServers": {
"lta": {
"command": "npx",
"args": [
"-y",
"arjunkmrm/mcp-sg-lta"
],
"env": {
"LTA_API_KEY": "YOUR-API-KEY"
}
}
}
}
推荐服务器
mcp-server-airbnb
搜索爱彼迎房源并获取特定房产的详细信息。无需 API 密钥,即可轻松规划您的下一次旅行,并以结构化数据呈现,同时遵守爱彼迎的准则。

TripAdvisor Vacation Planner MCP Server
这个 MCP 服务器提供对 TripAdvisor 数据的访问,用于规划假期,使用户能够通过交互式的规划体验搜索并获取关于地点、景点、餐厅和酒店的详细信息。

LumbreTravel MCP Server
通过 MCP 客户端,方便访问 LumbreTravel API,以管理旅行计划、活动和相关实体。