sg-data-mcp
Real-time Singapore government data for AI agents. Weather forecasts, air quality (PSI/PM2.5), HDB carpark availability, and taxi supply from data.gov.sg.
README
SG Data MCP
Real-time Singapore government data 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 real-time Singapore government data from data.gov.sg. No API keys required. No rate limits. Free and open.
Available Tools
| Tool | Description | Data Source |
|---|---|---|
sg_weather_forecast |
2-hour weather forecast by area | NEA |
sg_weather_24h |
24-hour weather outlook with temperature, humidity, wind | NEA |
sg_air_quality |
Real-time PSI and PM2.5 readings by region | NEA |
sg_carpark_availability |
Live HDB carpark lot availability across Singapore | HDB |
sg_taxi_availability |
Real-time count and locations of available taxis | LTA |
Quick Start
Connect via Streamable HTTP
Endpoint: https://sg-data-mcp.sgdata.workers.dev/mcp
Method: POST
Content-Type: application/json
Example: List Tools
curl https://sg-data-mcp.sgdata.workers.dev/mcp \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Example: Get Weather
curl https://sg-data-mcp.sgdata.workers.dev/mcp \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/call","id":2,"params":{"name":"sg_weather_24h","arguments":{}}}'
Use in Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"sg-data": {
"url": "https://sg-data-mcp.sgdata.workers.dev/mcp"
}
}
}
Tech Stack
- Runtime: Cloudflare Workers (edge deployment, ~0ms cold start)
- Protocol: MCP over Streamable HTTP (JSON-RPC 2.0)
- Data source: data.gov.sg public APIs
- Cost: $0 (Cloudflare free tier)
Roadmap
- [ ] ACRA company lookup and verification
- [ ] Bus/MRT arrival times
- [ ] Dengue cluster locations
- [ ] URA property transaction data
- [ ] MOM foreign worker levy rates
- [ ] OneMap geocoding and routing
- [ ] SGX market data
Author
Dinesh Kumar — Singapore
- hello@levylens.co
- GitHub
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.