🚌 Singapore Bus MCP Server

This is a Model Context Protocol (MCP) server that provides real-time Singapore bus information using the LTA DataMall API.

Available Tools

get_bus_arrivals

Get real-time bus arrival times for a specific bus stop

Parameters: bus_stop_code (required), service_no (optional)

get_bus_routes

Get the full route information for a specific bus service

Parameters: service_no (required)

search_bus_stops

Search for bus stops by name, road name, or landmark

Parameters: query (required)

get_bus_stop_info

Get detailed information about a specific bus stop

Parameters: bus_stop_code (required)

Connect to this MCP Server

Add this to your MCP client configuration:

{
  "mcpServers": {
    "sg-bus": {
      "url": "https://your-deployment-url.vercel.app/api/mcp"
    }
  }
}

Data Source

Bus data is provided by the LTA DataMall API.