nm_court_rule
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 for the schema, then POST the same URL with its arguments for the data.
New Mexico court rules (New Mexico Rules Annotated, NMRA, published by the New Mexico Compilation Commission on NMOneSource): the full text of a rule by number, e.g. Rule 1-007.2 NMRA (Time limit for filing motion to compel arbitration), Rule 1-001, Rule 5-101 or Rule 12-201. Returns the rule number, title, rule set name (set 1 is the Rules of Civil Procedure for the District Courts), the complete rule text, its history line, committee commentary where the rule has one, and the official page URL; case annotations are available on request. Accepts “1-007.2”, “Rule 1-007.2”, “1-007.2 NMRA” and unpadded “1-7.2”. Answers “what does Rule 1-007.2 NMRA say” for civil, criminal, evidence, appellate and professional-conduct rules of New Mexico state courts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
rule | string | yes | NMRA rule number in set-rule form, e.g. “1-007.2” (also “Rule 1-007.2 NMRA” or “1-7.2”). The number before the hyphen is the rule set, e.g. 1 civil district court, 5 criminal district court, 11 evidence, 12 appellate. |
include_annotations | boolean | no | Also return the rule’s case annotations (capped at 40,000 characters). Default false. |
Example call
Arguments
{
"rule": "1-007.2"
}
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","arguments":{"rule":"1-007.2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nm_court_rule', {
"rule": "1-007.2"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
rule | string | |
citation | string | |
title | string | |
rule_set | string | |
rule_set_name | string | |
text | string | |
text_chars | number | |
history | string | |
committee_commentary_and_notes | null | |
annotations_available | boolean | |
rule_set_pdf_url | string | |
official_page_url | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"rule": {
"type": "string"
},
"citation": {
"type": "string"
},
"title": {
"type": "string"
},
"rule_set": {
"type": "string"
},
"rule_set_name": {
"type": "string"
},
"text": {
"type": "string"
},
"text_chars": {
"type": "number"
},
"history": {
"type": "string"
},
"committee_commentary_and_notes": {
"type": "null"
},
"annotations_available": {
"type": "boolean"
},
"rule_set_pdf_url": {
"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.