nm_court_rule_set

Pack: new-mexico-code · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/nm_court_rule_set for the schema, then POST the same URL with its arguments for the data.

List the rules in a New Mexico Rules Annotated (NMRA) rule set with their numbers and titles, e.g. set 1 (Rules of Civil Procedure for the District Courts), set 5 (Rules of Criminal Procedure for the District Courts), set 11 (Rules of Evidence), set 12 (Rules of Appellate Procedure). Call with no set to list all rule sets; call nm_court_rule with a listed number for the full text. Source: New Mexico Compilation Commission, NMOneSource.

Parameters

NameTypeRequiredDescription
setstringnoRule set number, e.g. “1”, “5”, “11”, “17A”. Omit to list all rule sets.
limitnumbernoMax rules to return, default and max 1000.

Example call

Arguments

{
  "set": "1",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/new-mexico-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nm_court_rule_set","arguments":{"set":"1","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('nm_court_rule_set', {
  "set": "1",
  "limit": 5
});

Response shape

FieldTypeDescription
foundboolean
setstring
set_namestring
rules_totalnumber
rulesarray
truncatedboolean
hintstring
official_page_urlstring
sourcestring
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "set": {
      "type": "string"
    },
    "set_name": {
      "type": "string"
    },
    "rules_total": {
      "type": "number"
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "truncated": {
      "type": "boolean"
    },
    "hint": {
      "type": "string"
    },
    "official_page_url": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the new-mexico-code pack
{
  "mcpServers": {
    "new-mexico-code": {
      "url": "https://gateway.pipeworx.io/new-mexico-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 6, 2026