Singapore Open Data MCP Server

by valued_paperweight

An MCP server that connects AI agents directly to Singapore's official open data (data.gov.sg). Automate access to property, demographic, and transport datasets for your workflows.

6 runs
2 users
Try This Actor

Opens on Apify.com

About Singapore Open Data MCP Server

Need to pull Singapore government data into your AI workflows? This MCP server gives your agents direct access to data.gov.sg, turning public datasets into actionable insights. It's built specifically for developers and teams using AI agents who need reliable, structured data from Singapore's official open data portal—think property trends, demographic stats, or transport information. I've used it to feed real estate pricing data into analysis bots, saving hours of manual API calls and data cleaning. The server handles authentication and formatting, so your agent can just ask for what it needs. It's perfect for automating market research, enriching reports with official statistics, or building smarter internal tools that leverage Singapore's public data. You get the raw data without the usual hassle of parsing different government API formats. If you're working on anything related to Singapore's market, from housing analysis to urban planning prototypes, this server plugs that data directly into your existing AI agent stack. It just makes the data part of your project one less thing to worry about.

What does this actor do?

Singapore Open Data MCP Server is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Singapore Open Data MCP Server

An MCP (Model Context Protocol) server that provides AI agents with programmatic access to Singapore's government open data from data.gov.sg. It enables querying real-time and historical datasets including weather, transport, property, and air quality.

Key Features

The server exposes several tools for AI agents to interact with Singapore's open data:

  • sg.weather_forecast: Fetches the 2-hour weather forecast for all areas in Singapore. No parameters required.
  • sg.carpark_availability: Gets real-time parking lot availability. Accepts an optional limit parameter (default: 20).
  • sg.taxi_availability: Retrieves live taxi locations and total count. No parameters required.
  • sg.psi: Returns current air quality (PSI, PM2.5, PM10) readings by region. No parameters required.
  • sg.query_dataset: A generic tool to query any dataset from the platform using its datasetId. Supports optional limit and full-text search (q) parameters.
  • sg.get_popular_datasets: Lists commonly used datasets (e.g., HDB Resale Prices, COE Results) with their resource IDs. No parameters required.

How to Use

Connect to the server from any MCP-compatible client (like Claude Desktop) using Streamable HTTP transport.

Endpoint: https://YOUR_USERNAME--sg-open-data-mcp.apify.actor/mcp

Authentication: Requires an Authorization: Bearer YOUR_APIFY_API_TOKEN header.

Example Configuration for Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "sg-open-data": {
      "url": "https://YOUR_USERNAME--sg-open-data-mcp.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_API_TOKEN"
      }
    }
  }
}

Input/Output Examples

Tool: sg.weather_forecast
Input: {}
Output (example):

{
  "updated": "2024-01-15T14:00:00+08:00",
  "forecasts": [
    { "area": "Ang Mo Kio", "forecast": "Partly Cloudy" },
    { "area": "Bedok", "forecast": "Light Showers" }
  ]
}

Tool: sg.carpark_availability
Input: { "limit": 5 }
Output (example):

{
  "timestamp": "2024-01-15T14:30:00+08:00",
  "carparks": [
    {
      "carpark_number": "ACB",
      "info": [{ "lot_type": "C", "total_lots": "105", "available": "23" }]
    }
  ]
}

Tool: sg.query_dataset
Input: { "datasetId": "d_8b84c4ee58e3cfc0ece0d773c8ca6abc", "limit": 10 }
Output: Returns the specific dataset's records and field metadata.

Once connected, an AI agent can use natural language to trigger these tools—for example, asking "What's the weather forecast for Tampines?" will invoke the sg.weather_forecast tool and parse the response.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Singapore Open Data MCP Server now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
valued_paperweight
Pricing
Paid
Total Runs
6
Active Users
2
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support