# MCP Server for Singapore Government Open Data

Provide seamless access to open datasets and collections from data.gov.sg. Enable searching, metadata retrieval, and filtered dataset downloads for analysis.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add aniruddha-adhikary/gahmen-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list aniruddha-adhikary/gahmen-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get aniruddha-adhikary/gahmen-mcp datagovsg_list_collections

# Call a tool
npx -y @smithery/cli@latest tool call aniruddha-adhikary/gahmen-mcp datagovsg_list_collections '{}'
```

## Direct MCP Connection

Endpoint: `https://gahmen-mcp--aniruddha-adhikary.run.tools`

## Tools (10)

- `datagovsg_list_collections` — List all collections on data.gov.sg
- `datagovsg_get_collection` — Get metadata for a specific data.gov.sg collection
- `datagovsg_list_datasets` — List all datasets on data.gov.sg
- `datagovsg_get_dataset_metadata` — Get metadata for a specific data.gov.sg dataset
- `datagovsg_search_dataset` — Search for data within a data.gov.sg dataset
- `datagovsg_initiate_download` — Initiate download of a data.gov.sg dataset with optional filtering
- `datagovsg_poll_download` — Check data.gov.sg download status and get download URL
- `singstat_search_resources` — Search for SingStat tables by keyword (works best with single words)
- `singstat_get_metadata` — Get metadata for a specific SingStat table
- `singstat_get_table_data` — Get data from a specific SingStat table with optional filtering

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get aniruddha-adhikary/gahmen-mcp <tool-name>
```

---

Source: https://github.com/aniruddha-adhikary/gahmen-mcp | License: MIT
