Skip to main content
Glama
singapore-datagovsg-catalog-mcp

singapore-datagovsg-catalog-mcp

README.md
# singapore-datagovsg-catalog-mcp

Official Singapore Data.gov.sg public catalog API over Model Context Protocol (MCP). APAC market analysts, trade teams, and regulatory researchers can browse ministry datasets, inspect curated collections, and pull structured metadata without registering for keys. It works out of the box.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

```text
https://singapore-datagovsg-catalog-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `list_singapore_datasets` | List paginated public datasets from the Singapore Data.gov.sg v2 catalog |
| `get_singapore_dataset_metadata` | Retrieve full metadata, schema columns, and agency owner details for a Singapore dataset ID |
| `list_singapore_collections` | List paginated curated ministry collections published on Data.gov.sg |
| `get_singapore_collection_details` | Retrieve collection metadata and child dataset IDs for a Data.gov.sg collection |
| `search_singapore_datasets_by_topic` | Filter Singapore Data.gov.sg datasets and collections by keyword across catalog pages |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "singapore-datagovsg-catalog": {
      "url": "https://singapore-datagovsg-catalog-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run this server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `api-production.data.gov.sg/v2/public/api/` with a polite `User-Agent` header (`mcpstamp-singapore-datagovsg-catalog/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.singapore-datagovsg-catalog-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation4/5

Each tool targets a distinct action+resource pair: listing datasets, fetching dataset metadata, listing collections, fetching collection details, and keyword search. The only mild overlap is between list_singapore_datasets and search_singapore_datasets_by_topic, since both return paginated datasets, though the descriptions make the browse-vs-filter distinction clear.

Naming Consistency4/5

All five names follow a predictable verb_singapore_noun pattern (list/get/search), giving a coherent set. The 'search_..._by_topic' suffix is a minor structural deviation from the plain list/get forms but remains readable and consistent in style.

Tool Count5/5

Five tools is well-scoped for a read-only public catalog API: two list operations, two detail lookups, and one search. No tool feels redundant or like filler.

Completeness3/5

The metadata/lifecycle surface (list + detail for both datasets and collections, plus search) is reasonably covered. However, there is no tool to actually fetch dataset data rows (e.g. datastore query), nor filtering by agency/format, which are notable gaps for a data-catalog server and would force agents to dead-end when they need the actual data.