New Mexico Code
v0.2.1New Mexico Statutes Annotated 1978 (NMSA 1978) — section lookup, chapter list, and catchline…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
nm_statute
Get 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 "§ 30-2-1". Returns the current statutory text, its official catchline, chapter name, and legislative "History:" line. New Mexico publishes each CHAPTER as one PDF rather than per-section, so a bare citation (no chapter name) resolves via a baked chapter index — most chapters are covered; an uncovered one reports chapter_not_baked rather than a false no-match. Keyless. Use for "what does NMSA…
| Parameter | Type | Description |
|---|---|---|
citation * | string | Section citation as chapter-article-section, e.g. "30-2-1" (murder) or "40-4-1" (divorce). A lettered chapter keeps its letter, e.g. "59A-1-1" (Insurance Code) or "32A-4-1" (Children's Code). |
nm_search
Search 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 CATCHLINES (and chapter names), not full statutory body text. Returns matching citations, catchlines, and chapter names; call nm_statute with a result's citation for the full text. Keyless.
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic or keywords, e.g. "landlord security deposit". |
limit | number | Max results to return, default 10, max 25. |
nm_chapters
List 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 but not the chapter number — call this or nm_search before guessing a citation. Keyless.