New Mexico Code
liveDeveloperNew Mexico Statutes Annotated 1978 (NMSA 1978) — section lookup, chapter list, and catchline search. Closes one of the four remaining 50-state gaps (fleet #2884, Bruce 2026-10-09; Arkansas, Mississippi and Tennessee are the other three).
Tools
nm_statuteGet the FULL TEXT of a section of the New Mexico Statutes Annotated 1978 (NMSA 1978) by citation, e.g. "30-2-1" (Murder) or "40-4-1" (grounds for divorce). Accepts "30-2-1", "NMSA 1978, § 30-2-1", or
No parameters required.
Try it
nm_searchSearch the New Mexico Statutes Annotated 1978 BY TOPIC or keyword rather than citation, e.g. "landlord security deposit", "concealed handgun", "grounds for divorce". Matches official section CATCHLINE
No parameters required.
Try it
nm_chaptersList all chapters of the New Mexico Statutes Annotated 1978 with their official names, e.g. Chapter 30 is Criminal Offenses, Chapter 40 is Domestic Affairs. Routing help for when you know the subject
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/new-mexico-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/new-mexico-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"nm_statute","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("nm_statute", {});// Or ask in plain English:
const answer = await px.ask("new mexico statutes annotated 1978 (nmsa 1978) — section lookup, chapter list, and catchline search");