Malaysia Government Data (data.gov.my) logo

Malaysia Government Data (data.gov.my)

Community
manfye

Data.gov.my MCP Server is a Model Context Protocol (MCP) server that provides seamless access to Malaysia's official government data catalogue. It enables developers to discover, explore, and fetch…

Publishermanfye
Repositorydata-dosm-mcp-nodejs
LanguageJavaScript
Forks
3
Stars
12
Available tools
4
Transport typestdio
Categories
LicenseISC
Links
  • Connect tools to AI workflows

    Malaysia Government Data (data.gov.my) exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 4 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    12 stars and 3 forks from the linked repository.

Data.gov.my MCP Server

Data.gov.my MCP Server is a Model Context Protocol (MCP) server that provides seamless access to Malaysia's official government data catalogue. It enables developers to discover, explore, and fetch datasets from the Malaysian government's open data platform through a simple, unified interface.

🔧 Installation

Install the package via npm:

bash
npm install -g datagovmy-mcp-server

Note: No API key required! This server directly accesses Malaysia's public data catalogue.

💬 Example Usage

Configure the MCP server in your Claude Desktop or compatible MCP client:

json
{
  "mcpServers": {
    "datagovmy": {
      "command": "npx",
      "args": ["datagovmy-mcp-server"]
    }
  }
}

Once the server is running, you can:

  • Discover datasets: Browse all available Malaysian government datasets
  • Search by keyword: Find specific datasets related to topics like "pollution", "population", or "economy"
  • Explore metadata: Get detailed information about dataset structure, descriptions, and sources
  • Fetch actual data: Retrieve real government data for analysis and visualization

🚀 Available Tools

list_catalogue_ids

Fetch a complete list of all available data catalogue IDs from the Malaysian government repository.

get_catalogue_metadata

Get detailed metadata for a specific dataset, including:

  • Dataset description and methodology
  • Data structure and field definitions
  • Publication schedule and sources
  • Data quality information

search_catalogues

Search through available datasets using keywords to find relevant data about specific topics.

get_catalogue_data

Fetch the actual data from Malaysia's data.gov.my API for analysis, visualization, or integration into your applications.

📊 Example Datasets

Access hundreds of Malaysian government datasets including:

  • Economic indicators: GDP, inflation, trade statistics
  • Demographics: Population data, census information
  • Environment: Air quality, water quality, climate data
  • Health: Healthcare statistics, disease surveillance
  • Education: School enrollment, literacy rates
  • Transportation: Traffic data, public transport usage

🔍 Data Sources

All data is sourced directly from:

  • API: https://api.data.gov.my - Official Malaysian government data API
  • Metadata: https://github.com/data-gov-my/datagovmy-meta - Dataset documentation and structure

📚 References

This MCP server integrates with:

📩 Contact

For questions about the Malaysian government datasets or data.gov.my platform, please visit the official Data.gov.my website.

For issues with this MCP server, please file an issue on the GitHub repository.

🏢 About Data.gov.my

Data.gov.my is Malaysia's official open data portal, managed by the Malaysian government to promote transparency, innovation, and data-driven decision making. The platform provides free access to government datasets across various sectors and ministries.

🏷️ Tags

malaysia • government-data • open-data • mcp-server • data-catalogue • api • claude • ai-integration • typescript • nodejs

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "datagovmy": {
      "command": "npx",
      "args": [
        "datagovmy-mcp-server"
      ]
    }
  }
}

Available Tools

  • list_catalogue_ids

    Fetch list of available data catalogue IDs from GitHub repository.

  • get_catalogue_metadata

    Fetch metadata for a specific data catalogue by ID from GitHub.

  • get_catalogue_data

    Fetch actual data from the data.gov.my API for a specific catalogue.

  • search_catalogues

    Search for catalogues by keyword in their names or descriptions.

Use Malaysia Government Data (data.gov.my) MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Malaysia Government Data (data.gov.my) is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Malaysia Government Data (data.gov.my) as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Malaysia Government Data (data.gov.my) MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "malaysia-government-data-data-gov-my": {
      "command": "npx",
      "args": [
        "-y",
        "datagovmy-mcp-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Malaysia Government Data (data.gov.my) MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Malaysia Government Data (data.gov.my) MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Malaysia Government Data (data.gov.my) to help me with this task?
Malaysia Government Data (data.gov.my)
Sure. I read it.
Here is what I found using Malaysia Government Data (data.gov.my).

Frequently asked questions

What is the Malaysia Government Data (data.gov.my) MCP server used for?

Malaysia Government Data (data.gov.my) is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Malaysia Government Data (data.gov.my) MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Malaysia Government Data (data.gov.my) with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Malaysia Government Data (data.gov.my) MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Malaysia Government Data (data.gov.my) connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Malaysia Government Data (data.gov.my) MCP to TypingMind?

Malaysia Government Data (data.gov.my) runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Malaysia Government Data (data.gov.my) MCP provide in TypingMind?

Malaysia Government Data (data.gov.my) exposes 4 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Malaysia Government Data (data.gov.my) MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Malaysia Government Data (data.gov.my) requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇