# Data Gov Sg [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pipeworx-io/mcp-data-gov-sg  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1000  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/data-gov-sg

## Description
data.gov.sg MCP — Singapore open data + real-time environment/transport feeds

## Tools
Capabilities this server exposes over MCP:

- **search_datasets** — Search the data.gov.sg dataset catalog by keyword (e.g. "rainfall", "hawker centres", "resale flat prices") — real text search via data.gov.sg's own site search, since the official v2 catalog API has none. Returns matching COLLECTIONS (topics that may bundle several datasets, e.g. one per year) with each dataset's real dataset_id for get_dataset / query_dataset. Omit `query` to browse the raw catalog unfiltered instead, paged 10/page (~4,600 datasets total).
- **get_dataset** — Dataset metadata + column schema.
- **query_dataset** — Fetch rows from a dataset. Supports limit, offset, and filter map (column → value).
- **weather_now** — Current temperature, humidity, wind, rain across Singapore weather stations.
- **air_quality_psi** — Current Pollutant Standards Index (PSI) from Singapore's National Environment Agency, by Singapore region (north, south, east, west, central).
- **air_quality_pm25** — Current PM2.5 µg/m³ readings from Singapore's National Environment Agency, by Singapore region (north, south, east, west, central).
- **uv_index** — Current UV index for Singapore, from Singapore's National Environment Agency.
- **taxi_availability** — Live taxi positions across Singapore.
- **traffic_incidents** — Current incidents on Singapore expressways and major roads.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## 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:

```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`:

```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.

_Full upstream README: https://allmcps.com/mcp/data-gov-sg/readme_

