datagovsg
Model Context Protocol Server for Data.gov.sg (localized dataset search)
How to use
The datagovsg Model Context Protocol (MCP) server is designed to facilitate access to localized datasets available on Data.gov.sg. Developers can leverage this server to perform efficient searches and retrieve structured data from Singapore's public sector, enhancing their applications with relevant and up-to-date information. With its support for the Model Context Protocol, this server enables seamless integration with various data sources, allowing for dynamic querying and context-aware responses.
Once you are connected to the datagovsg MCP server, you can interact with it using standard MCP commands to query datasets. You can perform searches based on dataset metadata, such as keywords, categories, or specific data attributes. While the server does not currently document specific tools, using standard HTTP requests with appropriate parameters will yield the best results. Familiarity with the MCP protocol will enhance your ability to customize queries to meet your specific needs.
How to install
To install the datagovsg MCP server, ensure you have the following prerequisites:
- Node.js (version 12 or later)
You can quickly start the server using npx with the following command:
npx -y https://github.com/aniruddha-adhikary/datagovsg-mcp-server
Alternatively, you can install it globally by cloning the repository and running it directly:
git clone https://github.com/aniruddha-adhikary/datagovsg-mcp-server
cd datagovsg-mcp-server
npm install
node server.js
Additional notes
When configuring the datagovsg MCP server, ensure you set any necessary environment variables according to your deployment needs. Check the server's documentation for common configuration options and be aware that network issues may affect dataset availability. Also, remember to monitor your application's performance to prevent excessive load on the server during high-traffic periods.