MCP.Market

New Mexico Code MCP server

online · 100% uptime
by pipeworx-io·io.github.pipeworx-io/new-mexico-code·v0.2.1

New Mexico Statutes Annotated 1978 (NMSA 1978) — section lookup, chapter list, and catchline…

B77/100grade B
What users say
No reviews yet
Be the first
Safety scan
B77/100

not scanned yet

Adoption
Growing

0 stars

Reviews

Write one

Nobody has reviewed New Mexico Code yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

New Mexico Code tools

Tool list not cached yet. `describe` through the gateway fetches it live.

Not scanned yet. New listings are scanned within a day or two of arriving.

How New Mexico Code compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
77/100
higher than 50% of 48,255 servers
Uptime
100%
of our recent checks; the typical remote server answers 100%
Response time
158 ms
faster than 71% of 30,031 servers

Release history: 7 versions in the registry since 2026-10-09, latest 2026-11-03, typically one every 4 days.

Install New Mexico Code in Claude Code, Cursor or VS Code

claude mcp add --transport http new-mexico-code https://gateway.pipeworx.io/new-mexico-code/mcp
Add to Cursor

What the publisher says

From the New Mexico Code repository's README, as published. We do not edit it. Read it on GitHub

@pipeworx/new-mexico-code

New Mexico Statutes Annotated 1978 (NMSA 1978) — state statutes by citation, chapter listing, and catchline search. Keyless.

Part of Pipeworx — an MCP gateway connecting AI agents to 1763+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.

Tools

citation ("30-2-1", "NMSA 1978, § 30-2-1", "§ 30-2-1"). Returns the catchline, full statutory text, chapter name, and history line. New Mexico publishes each CHAPTER as a single PDF (not per-section), so a bare citation has no chapter name to go on — this is resolved via a baked chapter index built from each chapter PDF's own bookmark tree, not by refusing the citation. A chapter the bake hasn't covered yet (see "Known limitation" below) reports reason: "chapternotbaked" rather than a false no-match.

  • nm_statute(citation) — the current text of an NMSA 1978 section by

CATCHLINES and chapter names (not full statutory body text — NMOneSource's own search indexes case law and forms, not statute text; see "Data sources"). Returns matching citations, catchlines, and chapter names; pass a citation to nm_statute for the full text.

  • nm_search(query, limit?) — topic/keyword search over official section

and how many sections this pack has indexed for each. Routing help for "I know the subject, not the chapter number."

  • nm_chapters() — lists all NMSA 1978 chapters with their official names

Auth

Keyless. No signup, no key, on either side of the call.

Data sources

1978 chapter list (run by the New Mexico Compilation Commission), each chapter linking to its own navigation item id. Ids are assigned non-sequentially (Chapter 7 is item 4340, Chapter 30 is item 4371) — not derivable from the chapter number, which is the whole reason this pack bakes a chapter index (scripts/bake-index.mjs -> src/nm-index-data.ts, loaded via the KV-baked-index mechanism like new-hampshire-code).

  • — the Current NMSA

chapter's full text, as ONE PDF per chapter (Chapter 30, Criminal Offenses, is 1,138 pages / 5.8 MB — there is no per-article or per-section split anywhere on the site). Each chapter PDF bookmarks every ARTICLE heading and SECTION citation with its own page destination; extractPdfOutline (new in shared/src/pdf-text.ts, fleet #2884) reads that bookmark tree WITHOUT decompressing any content stream (tens of ms even against 1,138 pages), and extractPdfText's new pageRange option then extracts only the page(s) around the matched citation — ~110ms for a 2-page extraction, down from ~1.7s for the whole chapter. The exact section text is then isolated from that small, if slightly over-inclusive, page range by locating the citation's own (wrap-tolerant — long headings wrap across lines in the rendered PDF) heading text and cutting at the earliest of its own "ANNOTATIONS" child bookmark or the next section's heading.

  • https://nmonesource.com/nmos/nmsa/en//1/document.do — that

case law and forms, not NMSA statute body text — confirmed live: a phrase that only appears in a statute's text ("depraved mind", from 30-2-1) returned zero NMSA hits and dozens of case-law hits. nm_search therefore searches this pack's own baked catchline index instead, the same shape new-hampshire-code uses for the identical reason.

  • NMOneSource's own search (/nmos/en/a/s/index.do?cont=) indexes

Known limitation: the bake is partial as committed

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

New Mexico Code: common questions

Is New Mexico Code MCP server safe?
Mostly: it is graded B (77/100). Read the New Mexico Code safety report
How do I install New Mexico Code?
It runs remotely at gateway.pipeworx.io. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
Does New Mexico Code need an API key?
Yes. The registry entry asks for PIPEWORX_API_KEY.
Is New Mexico Code maintained?
The last commit was 26 days ago (2026-10-09). The latest release is v0.2.1.
Is New Mexico Code up?
100% of our last 28 checks got an answer. We check remote servers about four times a day.
How does New Mexico Code compare with other MCP servers?
safety score 77/100 (higher than 50% of 48,255 servers); uptime 100% (of our recent checks; the typical remote server answers 100%); response time 158 ms (faster than 71% of 30,031 servers). Full comparison.

More from pipeworx-io →