MCP (Model Context Protocol) server for Singapore's data.gov.sg APIs, providing easy access to government datasets and collections.
- Access to data.gov.sg collections and datasets
- Search within datasets using CKAN datastore API
- Dataset download functionality with filtering support
- Built-in rate limiting to respect API quotas (5 requests per minute)
list_collections- List all collections on data.gov.sgget_collection- Get metadata for a specific collection
list_datasets- List all datasets on data.gov.sgget_dataset_metadata- Get metadata for a specific datasetsearch_dataset- Search for data within a dataset using CKAN datastoreinitiate_download- Start downloading a dataset with optional filteringpoll_download- Check download status and get download URL
npm installnpx @smithery/cli devnpx @smithery/cli build// Search population data
search_dataset({
resource_id: "d_8b84c4ee58e3cfc0ece0d773c8ca6abc",
q: { "year": "2023" },
limit: 10
})// Get collection 522 with all dataset metadata
get_collection({
collectionId: "522",
withDatasetMetadata: true
})The server implements automatic rate limiting:
- Maximum 5 requests per minute
- 12-second minimum interval between requests
data.gov.sg APIs are public and don't require authentication.
MIT