home / mcp / new zealand law mcp server

New Zealand Law MCP Server

Provides full NZ Acts, instruments, and case law with full-text search and cross-references.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-newzealand-law-mcp": {
      "url": "https://newzealand-law-mcp.vercel.app/api/mcp"
    }
  }
}

You can access a comprehensive New Zealand law database via the Model Context Protocol (MCP), enabling full-text search, cross-references, and structured access to major Acts, regulations, and case law. This MCP serves as a ready-to-use data source for legal research, compliance checks, and automated workflows that need up-to-date NZ legislation and related materials.

How to use

You can connect to the NZ law MCP using either the public HTTP endpoint or a local MCP client runtime. The HTTP endpoint provides a remote, hosted MCP service you can query directly. The local runtime lets you run the MCP client on your machine to interact with the bundled dataset.

How to install

Prerequisites you need before installation:

  • Node.js 14+ (with npm) or a compatible JavaScript runtime

Choose one of the two installation options below based on whether you want a remote HTTP endpoint or a local runtime.

Install the HTTP endpoint (remote MCP)

Visit and use the public HTTP endpoint:
- https://newzealand-law-mcp.vercel.app/api/mcp

Install the local stdio MCP client

Run the MCP client locally using the bundled dataset with a standard Node.js package execution flow.

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

Available tools

get_provision

Retrieve a specific section or article from a New Zealand Act.

search_legislation

Perform a full-text search across all New Zealand legislation in the MCP.

list_acts

List all available Acts with their metadata.

get_act_structure

Fetch the table of contents or structure of a selected Act.

get_provision_eu_basis

Cross-reference New Zealand law to EU or international equivalents.

search_case_law

Search case law from New Zealand courts via NZLII.