- Home
- MCP servers
- Singapore Location Intelligence
Singapore Location Intelligence
- typescript
1
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"siva-sub-mcp-public-transport": {
"command": "npx",
"args": [
"-y",
"@siva-sub/mcp-public-transport"
],
"env": {
"ONEMAP_EMAIL": "you@example.com",
"ONEMAP_TOKEN": "YOUR_ONEMAP_TOKEN",
"LTA_ACCOUNT_KEY": "YOUR_LTA_API_KEY",
"ONEMAP_PASSWORD": "your_password"
}
}
}
}You are using an MCP server that delivers real-time Singapore location intelligence, including weather-aware routing, postal code resolution, and multi-modal transport guidance. This server helps AI plan routes with precise instructions, context-aware decisions, and robust fault handling for Singapore’s transport ecosystem.
How to use
You interact with the MCP server through your MCP client. Start by launching the MCP client that connects to the local stdio server exposed by the runtime command shown below. You can request comprehensive multi-modal journeys, weather-aware routing, and location intelligence such as postal code validation, reverse geocoding, and real-time transit data. Your client will return rich route plans, step-by-step directions, and weather advisories to adjust walking times and mode choices.
Common usage patterns include: performing fuzzy location searches, resolving postal codes to addresses, planning journeys that minimize transfers, and retrieving real-time transit or weather information to influence routing decisions. The server also provides weather advisories that can suggest covered routes or alternate modes during inclement weather.
How to install
# Install and run the MCP server via stdio Command
npx -y @siva-sub/mcp-public-transport
This server is designed to run in a client environment that can execute npm-based commands. Ensure you have Node.js installed on your machine before proceeding. The recommended approach is to run the provided npx command to bootstrap the server locally.
Configuration and security
Configure access to required services by supplying environment variables when you start the server. The following variables are shown as part of the runtime setup and should be provided in your environment or secret store:
Important environment variables for operation include your LTA DataMall and OneMap credentials. Keep these values secure and do not expose them in client-side code.
Examples and notes
Example startup configuration shows how to provide credentials to the MCP server in a local environment. You can customize the startup to fit your deployment method, such as containerized environments or local development shells. The server includes tooling for weather-aware routing, fuzzy search, and robust handling when external services are unavailable.
Troubleshooting
If you encounter failures during startup or API calls, verify that required API keys are valid and have not expired. Check the runtime logs for initialization errors, connectivity issues to OneMap or LTA services, and any weather data fetch problems. The server is designed to degrade gracefully when external APIs are unavailable.
Available tools
search_bus_stops
Advanced fuzzy search with Singapore abbreviations and typo tolerance to locate bus stops by block, street, or landmark.
get_bus_stop_details
Fetch real-time stop information, nearby amenities, accessibility details, and context.
plan_comprehensive_journey
Complete multi-modal journey planning with transfer minimization, real-time disruptions, and weather-aware routing.
search_location
Enhanced location search with fuzzy matching and smart suggestions for Singapore terms.
resolve_postal_code
High-accuracy postal code resolution to location matches and confidence scoring.
reverse_geocode
Convert coordinates to addresses with Singapore-specific accuracy.
get_bus_arrival
Real-time bus arrival times and crowding information.
find_bus_stops
Locate bus stops by location, name, or coordinates.
get_train_service_status
Real-time MRT/LRT service status and disruptions.
get_nearby_taxis
Find available taxis and estimate wait times near a location.
get_traffic_conditions
Live traffic conditions, incidents, and road speeds.
get_weather_conditions
Real-time weather data including temperature, rainfall, humidity, and wind.
get_weather_advisory
Activity-specific weather recommendations and safety guidance.
routing_enhanced
Weather-aware routing with time-based adjustments and preferences.