SG Gov MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SG_LTA_KEY | No | API key for LTA DataMall (bus, train, traffic, carpark, etc.) | |
| SG_ONEMAP_EMAIL | No | Email for OneMap geocoding and routing services | |
| SG_ONEMAP_PASSWORD | No | Password for OneMap geocoding and routing services |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| sg_setup_statusA | Check configuration status for all SG Gov MCP tiers and get links for missing API keys |
| sg_weatherA | Get Singapore weather forecast. 2h gives per-area forecast, 24h gives temperature/humidity overview with time periods, 4day gives multi-day outlook. |
| sg_air_qualityA | Get Singapore air quality — PM2.5 and PSI readings by region with health advisory band (Good/Moderate/Unhealthy). |
| sg_uv_indexA | Get Singapore UV index readings (hourly). Values: 0-2 Low, 3-5 Moderate, 6-7 High, 8-10 Very High, 11+ Extreme. |
| sg_dengueA | Get Singapore active dengue cluster locations and case counts. |
| sg_dataset_searchA | Search for Singapore government datasets on data.gov.sg. Returns known dataset IDs and browse links. |
| sg_dataset_fetchB | Fetch rows from a data.gov.sg dataset by resource ID. Supports sorting and full-text search. |
| sg_hdb_pricesA | Get HDB resale flat prices (most recent first). Filter by town and flat type. |
| sg_coe_pricesA | Get COE (Certificate of Entitlement) bidding results and prices. Shows quota premiums by vehicle category. |
| sg_schoolsA | Search Singapore school directory (MOE schools with address, principal, subjects) |
| sg_holidaysA | Get Singapore public holidays |
| sg_hawker_centresC | Get Singapore hawker centre information |
| sg_rainfallA | Get real-time rainfall readings across Singapore (76 weather stations) |
| sg_nus_modulesA | Search NUS modules by code or title. Returns module code, title, and credits. Use a specific module code for full details including description and prerequisites. |
| sg_ntu_modulesA | Search NTU modules by code or title. Returns module code, title, AUs, and description. |
| sg_bus_arrivalA | Get real-time bus arrival times at a bus stop (shows next 3 buses per service). Requires SG_LTA_KEY. Common stops: 83139 (Opp Blk 1 Hougang), 46009 (Orchard Blvd). |
| sg_train_alertsA | Get MRT/LRT service alerts and disruptions. Requires SG_LTA_KEY. |
| sg_traffic_incidentsA | Get current traffic incidents on Singapore roads. Requires SG_LTA_KEY. |
| sg_traffic_imagesA | Get live traffic camera image links. Requires SG_LTA_KEY. |
| sg_carparkA | Get real-time carpark availability (HDB, LTA, URA). Requires SG_LTA_KEY. |
| sg_taxi_availabilityA | Get locations of available taxis in Singapore (from data.gov.sg, no key needed). |
| sg_ev_chargingA | Get electric vehicle charging point availability in Singapore. Requires SG_LTA_KEY. |
| sg_flood_alertsA | Get current flood alerts in Singapore (from PUB via LTA). Requires SG_LTA_KEY. |
| sg_mrt_crowdA | Get MRT/LRT station crowd density (real-time or forecast). Requires SG_LTA_KEY. |
| sg_geocodeA | Convert Singapore address or postal code to coordinates. Requires SG_ONEMAP_EMAIL + SG_ONEMAP_PASSWORD. |
| sg_reverse_geocodeA | Convert coordinates to Singapore address. Requires SG_ONEMAP_EMAIL + SG_ONEMAP_PASSWORD. |
| sg_routeA | Get route between two points in Singapore. Supports driving, walking, and public transport. Requires SG_ONEMAP_EMAIL + SG_ONEMAP_PASSWORD. Use sg_geocode first to get coordinates. |
| sg_nearbyA | Find nearby amenities using OneMap themes. Requires SG_ONEMAP_EMAIL + SG_ONEMAP_PASSWORD. Common themes: hawkercentre, kindergartens, parks, libraries, communityclubs, healthierdiningpartners. |
| sg_company_searchA | Search ACRA-registered companies in Singapore by name. Returns UEN, status, entity type, and address. |
| sg_neighbourhood_reportA | Get a comprehensive neighbourhood report for a Singapore area — combines HDB prices, schools, hawker centres, dengue clusters, and weather into one overview. |
| sg_myinfo_personA | Get personal information from SingPass MyInfo — name, DOB, nationality, address, marital status, email, mobile. 🎭 SHOWCASE MODE (sandbox data) |
| sg_myinfo_cpfA | Get CPF (Central Provident Fund) information — balances, recent contributions, employer history. 🎭 SHOWCASE MODE (sandbox data) |
| sg_myinfo_passportA | Get passport and travel document information — passport number, expiry date, pass status. 🎭 SHOWCASE MODE (sandbox data) |
| sg_myinfo_hdbA | Get HDB ownership and housing information — flat type, address, ownership details. 🎭 SHOWCASE MODE (sandbox data) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DarKSanjan/sg-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server