Singapore LTA MCP Server

by arjunkmrm

195 downloads
Not rated
GitHub

About

Access real-time transportation data from Singapore's LTA DataMall API, including bus arrivals and traffic conditions.

Details

Author
arjunkmrm
Downloads
195
Categories
Database, Other

- Real-time bus arrival information for specific stops
- Live crowding levels at MRT and LRT stations
- Train service alerts, disruptions, and shuttle services
- Carpark availability for HDB, LTA, and URA lots
- Expressway segment travel time estimates
- Current road incidents, accidents, and roadworks
- Forecasted MRT and LRT station crowdedness

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Singapore LTA MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install automatically via Smithery using npx -y @smithery/cli install @arjunkmrm/mcp-sg-lta --client claude, or configure manually in claude_desktop_config.json with npx -y arjunkmrm/mcp-sg-lta as the command and your LTA API key set in the LTA_API_KEY environment variable. Obtain an API key by registering on the LTA DataMall portal, subscribing to the API services, and retrieving the key from your account dashboard.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "singapore lta mcp server": {
            "lta-mcp": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@arjunkmrm/mcp-sg-lta",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "lta-mcp": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@arjunkmrm/mcp-sg-lta",
            "--client",
            "claude"
        ]
    }
}

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 reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.