home / mcp / malaysian law mcp server

Malaysian Law MCP Server

Provides full-text search and access to Malaysian legislation including PDPA, CMA, and other acts via MCP.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-malaysian-law-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ansvar/malaysian-law-mcp"
      ]
    }
  }
}

You can query and browse Malaysian legislation through a Model Context Protocol (MCP) server that provides full-text search and structured access to major Acts, including the PDPA, the Computer Crimes Act, the CMA, and more. This server is designed to help you research legal texts, cross-reference provisions, and discover how acts relate to international frameworks, all via a consistent MCP interface.

How to use

To use this MCP server, you connect via an MCP client or configuration that points to the server as a standard MCP endpoint. You can perform full-text searches across Malaysian legislation in English and Malay, retrieve specific provisions from Acts, and look up cross-references to international frameworks.

How to install

Install the MCP package globally so you can run the server locally.

npm install -g @ansvar/malaysian-law-mcp

Additional setup and usage notes

Start the MCP server from the command line to begin serving requests to your MCP client.

malaysian-law-mcp

Claude Desktop / MCP client configuration

If you use Claude Desktop or another MCP client, configure the server connection using an MCP configuration block that references the server package.

{
  "mcpServers": {
    "malaysian-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/malaysian-law-mcp"]
    }
  }
}

Available tools

get_provision

Retrieve a specific section from a Malaysian Act.

search_legislation

Perform a full-text search across all Malaysian legislation in English and Malay.

get_provision_eu_basis

Cross-reference lookup for international framework relationships (GDPR, ASEAN, etc.).