SG Data MCP

Real-time Singapore government data and ACRA company intelligence for AI agents. 13 tools: weather, air quality, dengue clusters, transport, and company verification.

SG Data MCP

Real-time Singapore government data and ACRA company intelligence for AI agents via the Model Context Protocol (MCP).

Live endpoint: https://sg-data-mcp.sgdata.workers.dev/mcp

What This Does

This MCP server gives any AI agent instant access to 13 real-time tools covering Singapore government data from data.gov.sg and ACRA company records. No API keys required for free tier.

Available Tools

Weather and Environment

ToolDescriptionSource
sg_weather_2h2-hour forecast by areaNEA
sg_weather_24h24-hour outlook with temp/humidity/windNEA
sg_weather_4day4-day forecast with daily conditionsNEA
sg_uv_indexReal-time UV exposure readingsNEA
sg_air_qualityPSI and PM2.5 by regionNEA
sg_rainfallLive rainfall from 50+ stationsNEA
sg_dengue_clustersActive dengue cluster locations and case countsNEA

Transport

ToolDescriptionSource
sg_carpark_availabilityLive HDB carpark lot availabilityHDB
sg_taxi_availabilityReal-time taxi count and locationsLTA

ACRA Company Intelligence

ToolDescriptionSource
sg_company_searchSearch companies by name - returns UEN, type, status, addressACRA
sg_company_uenLook up company by UEN numberACRA
sg_company_verifyVerify if a company exists and is activeACRA
sg_registered_entities_countTotal count of all ACRA-registered entitiesACRA

Quick Start

Connect via Streamable HTTP

Endpoint: https://sg-data-mcp.sgdata.workers.dev/mcp
Method: POST
Content-Type: application/json

Use in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "sg-data": {
      "url": "https://sg-data-mcp.sgdata.workers.dev/mcp"
    }
  }
}

Example: Search Companies

curl https://sg-data-mcp.sgdata.workers.dev/mcp -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"tools/call","id":1,"params":{"name":"sg_company_search","arguments":{"query":"DBS"}}}'

Example: Check Rainfall

curl https://sg-data-mcp.sgdata.workers.dev/mcp -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"tools/call","id":1,"params":{"name":"sg_rainfall","arguments":{}}}'

Tech Stack

  • Runtime: Cloudflare Workers (edge, near-zero cold start)
  • Protocol: MCP over Streamable HTTP (JSON-RPC 2.0)
  • Data: data.gov.sg public APIs and ACRA open datasets
  • Cost: Free tier available

Roadmap

  • Malaysia SSM company registry
  • Indonesia AHU company registry
  • Bus/MRT arrival times (LTA DataMall)
  • URA property transaction data
  • OneMap geocoding
  • API key gating for premium tier
  • Stripe MPP integration for agent-to-agent payments

Author

Dinesh Kumar - Singapore - [email protected]

License

MIT

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension