AA

aniruddha-adhikary/gahmen-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

4 stars 5 forks 품질 43 트렌드 12MIT

MCP for Publicly available datasets of the Government of Singapore [Unofficial]

개요

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.sg - get_collection - Get metadata for a specific collection - list_datasets - List all datasets on data.gov.sg - get_dataset_metadata - Get metadata for a specific dataset - search_dataset - Search for data within a dataset using CKAN datastore - initiate_download - Start downloading a dataset with optional filtering - poll_download - Check download status and get download URL 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.

README

Gahmen MCP Server

MCP (Model Context Protocol) server for Singapore’s data.gov.sg APIs, providing easy access to government datasets and collections.

Features

  • 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)

Available Tools

Collections

  • list_collections - List all collections on data.gov.sg
  • get_collection - Get metadata for a specific collection

Datasets

  • list_datasets - List all datasets on data.gov.sg
  • get_dataset_metadata - Get metadata for a specific dataset
  • search_dataset - Search for data within a dataset using CKAN datastore
  • initiate_download - Start downloading a dataset with optional filtering
  • poll_download - Check download status and get download URL

Installation

npm install

Development

npx @smithery/cli dev

Build

npx @smithery/cli build

Usage Examples

Search a Dataset

// Search population data
search_dataset({
  resource_id: "d_8b84c4ee58e3cfc0ece0d773c8ca6abc",
  q: { "year": "2023" },
  limit: 10
})

Get Collection with Datasets

// Get collection 522 with all dataset metadata
get_collection({
  collectionId: "522",
  withDatasetMetadata: true
})

API Rate Limits

The server implements automatic rate limiting:

  • Maximum 5 requests per minute
  • 12-second minimum interval between requests

No Authentication Required

data.gov.sg APIs are public and don’t require authentication.

License

MIT

GitHub에서 전체 README 보기

설치

npx @smithery/cli dev
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →