Singapore LTA MCP Server

Singapore LTA MCP Server

By arjunkmrm GitHub

MCP server for Singapore's Land Transport Authority (LTA) DataMall API

mcp-sg-lta transportation
Overview

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?

  1. Commuters checking bus arrival times before heading to the bus stop.
  2. Travelers monitoring MRT station crowding to avoid peak hours.
  3. Drivers looking for real-time traffic updates to plan their routes.
  4. 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.

Content

Singapore LTA MCP Server

smithery badge

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 code
  • serviceNo (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

  1. Register for an account on LTA DataMall
  2. Subscribe to the API services
  3. 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"
        }
    }
  }
}
No tools information available.

MCP server to access Singapore's LTA data

sg-lta transportation
View Details