sg-data-mcp

sg-data-mcp

vdineshk

Access Singapore government data via MCP: weather, air quality, transport, carpark availability, and company records for

Real-time Singapore government data MCP server providing weather, air quality, transport, carpark availability, and ACRA company intelligence for AI agents.

273 viewsLocal (stdio)

About sg-data-mcp

sg-data-mcp is a community-built MCP server published by vdineshk that provides AI assistants with tools and capabilities via the Model Context Protocol. Access Singapore government data via MCP: weather, air quality, transport, carpark availability, and company records for It is categorized under other. This server exposes 13 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install sg-data-mcp in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

sg-data-mcp is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (13)

sg_weather_2h

2-hour weather forecast by area from NEA

sg_weather_24h

24-hour weather outlook with temperature, humidity, and wind data

sg_weather_4day

4-day weather forecast with daily conditions

sg_uv_index

Real-time UV exposure readings from NEA

sg_air_quality

PSI and PM2.5 air quality data by region

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 - hello@levylens.co

License

MIT

Alternatives

Related Skills

Browse all skills
drawio-diagrams-enhanced

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

916
pptx

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

133
video-downloader

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

50
docx

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

38
skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

23
stock-analyzer

Provides comprehensive technical analysis for stocks and ETFs using RSI, MACD, Bollinger Bands, and other indicators. Activates when user requests stock analysis, technical indicators, trading signals, or market data for specific ticker symbols.

22