sg-lta-mcp-server

sivabalaji1986/sg-lta-mcp-server

3.1

If you are the rightful owner of sg-lta-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The sg-lta-mcp-server is designed to facilitate the integration and communication of the sg-lta-bus-arrivals service using the Model Context Protocol (MCP).

SG LTA MCP Server

This project implements a Model Context Protocol (MCP) Server that provides a tool to fetch real-time bus arrival information from Singapore's Land Transport Authority (LTA). The MCP server integrates with Claude Desktop or any local LLM-enabled environment via standard input/output, enabling conversational agents to query for bus arrivals.

🧩 Key Components

  • Spring Boot 3.5.3
  • Java 21
  • Spring AI MCP Server (STDIO-based)
  • Feign client for calling the sg-lta-bus-arrivals service
  • OpenAPI-based interface for tool specification and code generation

🔧 Setup

Prerequisites

  • Java 21
  • Maven 3.8+
  • sg-lta-bus-arrivals service running at http://localhost:8688

Configuration

# application.yml
server:
  port: 8689
  servlet:
    contextPath: /mcp

sg-lta:
  base-url: http://localhost:8688