data-gov-sg
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@data-gov-sgWhat is the current PSI reading in the central region?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@pipeworx/data-gov-sg
Singapore data.gov.sg MCP — open government data (~2000 datasets covering population, economy, transport, environment) + real-time feeds. No auth.
Part of Pipeworx — an MCP gateway connecting AI agents to 1856+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
Tabular
search_datasets(query?, page?, page_size?)— browse datasetsget_dataset(dataset_id)— dataset metadata + schemaquery_dataset(dataset_id, limit?, offset?, filters?)— fetch rows
Real-time environment
weather_now()— current temperature, humidity, wind, rain across 50+ weather stationsair_quality_psi()— PSI air quality readings (5 regions)air_quality_pm25()— PM2.5 readingsuv_index()— current UV index
Real-time transport
taxi_availability()— live taxi positionstraffic_incidents()— current incidents on expressways
Related MCP server: sg-data-mcp
Data source
https://api-open.data.gov.sg/v2/ — public, keyless.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"data-gov-sg": {
"url": "https://gateway.pipeworx.io/data-gov-sg/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/data-gov-sg/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1856+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/data_gov_sg_search_datasets \
-H 'Content-Type: application/json' \
-d '{"query":"rainfall"}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/data_gov_sg_search_datasets. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-data-gov-sg is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/data-gov-sg/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"data-gov-sg": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-data-gov-sg"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Data Gov Sg data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Provide real-time transportation data including bus arrivals, train service alerts, carpark availa…
Live HDB carpark availability for Singapore from the official data.gov.sg feed.
Singapore property & financial data APIs for AI agents. 27 MCP tools. x402 micropayments.
Public hazard, water, weather and EPA data with source, age and licence on every reading.
Related MCP Servers
- FlicenseAqualityNot gradedmaintenanceFacilitates real-time access to Singapore's Land Transport Authority (LTA) transportation data, offering insights into bus arrivals, train services, traffic conditions, and more through integration with the LTA DataMall API.473-
- AlicenseNot gradedqualityDmaintenanceReal-time Singapore government data for AI agents. Weather forecasts, air quality (PSI/PM2.5), HDB carpark availability, and taxi supply from data.gov.sg.4 npm2ISC
- FlicenseAqualityDmaintenanceProvides real-time access to Singapore's Land Transport Authority data, including bus arrivals, traffic conditions, train updates, and carpark availability.7-
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with live, structured access to Singapore government open data including weather, transport, property, and company registry via 35 well-described tools.1-