Data Gov Sg logo

Data Gov Sg

Access Singapore government datasets plus live weather, air-quality, taxi, and traffic data through MCP.

Install Data Gov Sg

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "data-gov-sg": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-data-gov-sg"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 9 tools correctly (Today).

Overview

Data Gov Sg connects MCP clients to Singapore’s public data.gov.sg API, covering roughly 2,000 datasets and several real-time environment and transport feeds. Its tools search dataset catalogs, inspect schemas, retrieve rows, and read current weather, air quality, UV, taxi, and traffic conditions. Use it for Singapore-focused research, monitoring, or applications that need current public-sector data without an upstream API key. Connections can use the hosted MCP endpoint or a local npm stdio bridge that forwards requests to the Pipeworx gateway.

Use cases

  • Search Singapore government datasets by topic
  • Retrieve rows and schemas for tabular datasets
  • Monitor current weather and air quality
  • Check live taxi availability and expressway incidents

Key features

  • Dataset catalog search and metadata lookup
  • Filtered tabular data queries
  • Current weather and UV readings
  • PSI and PM2.5 air-quality feeds
  • Live taxi and traffic information

Tools9

What Data Gov Sg lets your agent do. Expand a tool for its parameters.

Verified live~641 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

10/10 checks healthy over the last 50d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Makes network requests · 9Read-only tools · 9
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age179 days
Maintainers1

Observed 2026-11-08 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-data-gov-sg (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit7d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.

How Data Gov Sg works

What Data Gov Sg does

Data Gov Sg exposes Singapore open government data through MCP. The catalog spans approximately 2,000 datasets across areas such as population, the economy, transport, and the environment. It also provides live feeds for current conditions, including weather observations, air quality, UV levels, taxi availability, and expressway incidents.

The upstream source is the public, keyless data.gov.sg v2 API. The integration is independent and unofficial; it is not published, endorsed, or affiliated with the Singapore government data provider.

How it works

An MCP client can connect directly to the hosted pack endpoint:

config.json
{
  "mcpServers": {
    "data-gov-sg": {
      "url": "https://gateway.pipeworx.io/data-gov-sg/mcp"
    }
  }
}

The hosted endpoint runs through the Pipeworx gateway. Its tool list includes the Data Gov Sg tools and shared gateway meta-tools, such as ask_pipeworx, discover_tools, search_within, and memory-related tools. ask_pipeworx can route a plain-language question across the wider Pipeworx catalog, including from this scoped connection. A full gateway connection is also available when an agent should list all packs directly.

Clients without MCP support can call tools over HTTP. For example, the dataset search tool is available at POST https://gateway.pipeworx.io/v1/tools/data_gov_sg_search_datasets with a JSON request body.

Setup and configuration

The npm package, @pipeworx/mcp-data-gov-sg, provides a local stdio bridge. Configure an MCP client to start it with npx:

config.json
{
  "mcpServers": {
    "data-gov-sg": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-data-gov-sg"]
    }
  }
}

The bridge requires network access and has no offline mode. Anonymous use is capped at 50 calls per day. Setting PIPEWORX_API_KEY with a key from Pipeworx raises the allowance to 200 calls per day; authenticated calls use a Bearer token and are metered and billed as hosted calls. Set PIPEWORX_META_TOOLS=1 if the local bridge should also list the shared gateway tools. Proxy users may need NODE_USE_ENV_PROXY=1 for Node’s fetch implementation to honor HTTPS_PROXY.

Tools and capabilities

  • search_datasets(query?, page?, page_size?) browses the catalog.
  • get_dataset(dataset_id) returns dataset metadata and its schema.
  • query_dataset(dataset_id, limit?, offset?, filters?) retrieves tabular rows.
  • weather_now() reports temperature, humidity, wind, and rain across more than 50 stations.
  • air_quality_psi() returns PSI readings for five regions.
  • air_quality_pm25() returns PM2.5 readings.
  • uv_index() provides the current UV index.
  • taxi_availability() reports live taxi positions.
  • traffic_incidents() returns current expressway incidents.

Limitations and notes

The local bridge forwards requests to the hosted gateway rather than running the data service locally. The public data source is keyless, but Pipeworx usage limits apply to anonymous and authenticated gateway calls. Pack endpoints always include shared Pipeworx meta-tools; use the local bridge without PIPEWORX_META_TOOLS, or connect to the full gateway when choosing a different tool-listing arrangement.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Data Gov Sg

Data Gov Sg is an MCP server that connects AI clients to Singapore’s public data.gov.sg API and Pipeworx gateway. Its main tools search datasets, inspect schemas, query rows, and retrieve live weather, air-quality, UV, taxi, and traffic information without requiring an upstream data.gov.sg API key.

Install it through an MCP client by running `npx -y @pipeworx/mcp-data-gov-sg` as a stdio server. Alternatively, configure the hosted URL `https://gateway.pipeworx.io/data-gov-sg/mcp` directly in the client.

Yes, Data Gov Sg works with Cursor through the hosted MCP URL or the npm stdio bridge. Add the server configuration to Cursor, then connect it to the gateway or start the package with `npx`.

No, anonymous use does not require an API key, but it is limited to 50 calls per day. Add `PIPEWORX_API_KEY` to use a free Pipeworx account and raise the allowance to 200 calls per day.

Call the Pipeworx HTTP tool endpoints directly with JSON requests. For example, send a POST request to `/v1/tools/data_gov_sg_search_datasets` with a query such as `{"query":"rainfall"}`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewData Gov Sg AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/data-gov-sg?style=directory)](https://allmcps.com/mcp/data-gov-sg)
HTML Embed
<a href="https://allmcps.com/mcp/data-gov-sg"><img src="https://allmcps.com/api/badge/data-gov-sg?style=directory" alt="Data Gov Sg on AllMCPs" /></a>