New Mexico Code

v0.2.1
io.github.pipeworx-io/new-mexico-code Checked 16 hours ago Published 29 days ago

New 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…

ParameterTypeDescription
citation *stringSection 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_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.