
Singapore LTA MCP Server
MCP server for Singapore's Land Transport Authority (LTA) DataMall API
what is Singapore LTA MCP Server?
The Singapore LTA MCP Server is an MCP server designed to provide real-time access to transportation information from Singapore's Land Transport Authority (LTA) DataMall API, including bus arrivals, traffic conditions, and train service updates.
how to use Singapore LTA MCP Server?
To use the Singapore LTA MCP Server, install it via Smithery using the command: npx -y @smithery/cli install @arjunkmrm/mcp-sg-lta --client claude
. You will also need to register for an API key from the LTA DataMall.
key features of Singapore LTA MCP Server?
- Real-time bus arrival information
- Updates on MRT/LRT station crowding levels
- Alerts for train service disruptions
- Availability of parking lots in real-time
- Estimated travel times on expressways
- Current traffic incidents updates
use cases of Singapore LTA MCP Server?
- Commuters checking bus arrival times before heading to the bus stop.
- Travelers monitoring MRT station crowding to avoid peak hours.
- Drivers looking for real-time traffic updates to plan their routes.
- Users checking carpark availability before arriving at their destination.
FAQ from Singapore LTA MCP Server?
- How do I get an API key?
Register for an account on LTA DataMall, subscribe to the API services, and obtain your API key from the dashboard.
- Is the server free to use?
Yes, the server is free to use, but you need an API key from LTA DataMall.
- How often is the data updated?
Data is updated at various intervals, ranging from every 2 minutes for traffic incidents to every 10 minutes for station crowding.
Singapore LTA MCP Server
An MCP server for Singapore's Land Transport Authority (LTA) DataMall API, providing real-time access to transportation information including bus arrivals, traffic conditions, and train service updates.
Installing via Smithery
To install Singapore LTA MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @arjunkmrm/mcp-sg-lta --client claude
Tools
bus_arrival
Get real-time bus arrival information for specific bus stops.
Inputs:
busStopCode
(string, required): The unique 5-digit bus stop codeserviceNo
(string, optional): Specific bus service number to filter results
station_crowding
Get real-time crowding levels at MRT/LRT stations (Updates every 10 minutes).
Inputs:
trainLine
(string, required): Code of train network line- Supported values: CCL, CEL, CGL, DTL, EWL, NEL, NSL, BPL, SLRT, PLRT, TEL
train_alerts
Get real-time train service alerts including disruptions and shuttle services.
Inputs: None required
carpark_availability
Get real-time availability of parking lots for HDB, LTA, and URA carparks (Updates every minute).
Inputs: None required
travel_times
Get estimated travel times on expressway segments (Updates every 5 minutes).
Inputs: None required
traffic_incidents
Get current road incidents including accidents, roadworks, and heavy traffic (Updates every 2 minutes).
Inputs: None required
station_crowd_forecast
Get forecasted MRT/LRT station crowdedness levels in 30-minute intervals.
Inputs:
trainLine
(string, required): Code of train network line- Supported values: CCL, CEL, CGL, DTL, EWL, NEL, NSL, BPL, SLRT, PLRT, TEL
Configuration
Getting an API Key
- Register for an account on LTA DataMall
- Subscribe to the API services
- Obtain your API key from the account dashboard
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"lta": {
"command": "npx",
"args": [
"-y",
"arjunkmrm/mcp-sg-lta"
],
"env": {
"LTA_API_KEY": "YOUR-API-KEY"
}
}
}
}