Skip to content
MCP server
RegistryRemote

Idaho Code MCP Server

Idaho Statutes — state statutes by citation and by topic. Fleet #2747.

Idaho Code scores 67 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 72 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by pipeworx-ioMITJavaScript0 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 4 + 10 + 4 + 7 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "pipeworx-io-mcp-idaho-code": {      "command": "npx",      "args": [        "-y",        "@pipeworx/mcp-idaho-code@0.2.1"      ],      "env": {        "PIPEWORX_API_KEY": "YOUR_PIPEWORX_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
PIPEWORX_API_KEYSecretOptionalOptional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

@pipeworx/idaho-code

Idaho Statutes (Idaho Code) — current statutory text by citation, amendment history, and topic/keyword search over official chapter and section catchlines, sourced live from legislature.idaho.gov.

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

Tools

  • id_statute({citation}) — full text of one section by citation (e.g. "18-4001", murder), with the official catchline, chapter/title context, and the amendment "History:" line Idaho prints on nearly every section.
  • id_search({query, limit?}) — topic/keyword search over the ~20,400 live section catchlines (plus their chapter's own catchline), e.g. "landlord", "concealed weapon permit". Not full-text search of statutory prose — Idaho publishes no keyless full-text search API (see "Data sources").

Auth

Keyless. No signup, no activation gate.

Data sources

  • https://legislature.idaho.gov/statutesrules/idstat/ — the Idaho Statutes title list (74 titles).
  • https://legislature.idaho.gov/statutesrules/idstat/Title{T}/ — chapter list for one title, with each chapter's official catchline.
  • https://legislature.idaho.gov/statutesrules/idstat/Title{T}/T{T}CH{C}/ — section list for one chapter, with each section's official catchline.
  • https://legislature.idaho.gov/statutesrules/idstat/Title{T}/T{T}CH{C}/SECT{T}-{N}/ — one section's full text.

All four are plain WordPress-served HTML, keyless, no rate limit observed.

The citation does not literally name its chapter — but a formula recovers it

Idaho cites a section as title-number ("18-4001"), with no chapter digit written out. The chapter IS recoverable, because Idaho's own numbering is a strict chapter*100 + sectionWithinChapter block — verified live across chapters 1, 5, 9, 40, 83 and 91 of Title 18, and chapter 1 of the single- chapter Titles 4 and 29: chapter 1 holds "18-100".."18-1xx", chapter 40 holds "18-4000".."18-4099", chapter 83 holds "18-8300".."18-8399". So chapter = floor(number / 100). id_statute uses that formula to build the direct URL, then VERIFIES it rather than trusting it — see "THE VERIFICATION CHAIN" in src/index.ts's file header and the three-step fallback it documents (confirm the computed chapter's own listing page before ever reporting a citation doesn't exist). A wrong chapter guess must read as a loud, investigable error, never as a quiet found: false.

Honest 404s — no Oklahoma/Texas-style disguised 200

Verified live from BOTH a laptop curl and a throwaway wrangler dev --remote Worker deployed to the production Cloudflare account (2026-10-07): every URL shape returns the SAME status and byte length from both vantage points. A nonexistent chapter or section returns a real HTTP 404 (a genuine error404 WordPress template, consistently 72,512 bytes) — not a 200 with page furniture and no statute, the trap that sank an earlier Oklahoma pack build (oscn.net answered a Cloudflare Worker differently from a laptop and returned found:false on every live call despite passing every local smoke). Idaho's site does not do that, confirmed both ways:

                                            curl (laptop)        wrangler dev --remote (CF edge, prod account)
Title18/T18CH40/SECT18-4001/ (real)        200 / 91,548B         200 / 91,548B
Title18/T18CH40/ (real chapter listing)    200 / 92,122B         200 / 92,122B
Title18/T18CH999/ (bad chapter)            404 / 72,512B         404 / 72,512B
Title18/T18CH40/SECT18-9999/ (gap number)  404 / 72,512B         404 / 72,512B

A transport or parse failure (non-404 HTTP error, or a 200 whose embedded statute fragment can't be located) throws a loud error naming the upstream status or the parse failure — it is never reported as found: false. Only a confirmed-absent citation (verified against the chapter's own live listing, not just a 404 on the direct guess) returns found: false.

The embedded statute fragment

Each section page wraps a legacy Arbortext-generated HTML export (its own <html><head><body>, Arbortext Epic 6.1, mid-2010s vintage) inside the site's current WordPress theme. The statute text lives in that inner fragment's top-level <div> blocks: a TITLE N line, the title name, a CHAPTER C line, the chapter name, then the statute body (one or more divs — multi- paragraph sections use a <div> per subsection), then a History: marker div followed by one div holding the bracketed amendment citation. src/index.ts's parseSectionFragment extracts this; scripts/bake-index.mjs's header has more on why both the chapter AND section catchline levels are baked.

Four capabilities — three available, one is not

  • Citation lookup — id_statute.
  • Topic/keyword search — id_search, over official catchlines (not full statutory prose).
  • Amendments/enactment history — embedded in id_statute's history field, Idaho's own "History:" line (e.g. "[18-4001, added 1972, ch. 336, sec. 1, p. 928; am. 1977, ch. 154, sec. 1, p. 390; am. 2002, ch. 330, sec. 1, p. 935.]"), present on nearly every in-force section.
  • Historical version (text as it read before an amendment) — NOT AVAILABLE. legislature.idaho.gov serves the current text only. Its Session Laws archive (/statutesrules/sessionlaws/) has one PDF volume per legislative session back to the 2000s, but those are organized by SESSION chapter number (e.g. "Chapters 1 - 162" for a whole year), unrelated to a Code citation's title/chapter numbering and not indexed by section — recovering a prior version would mean searching those volumes by hand for the amending act named in history. id_statute says this in every response rather than omitting the field silently.

Baked index refresh

src/id-index-data.ts is GENERATED by scripts/bake-index.mjs from 74 title pages plus their ~1,468 chapter listing pages (one-time, ~20,400 sections captured). Re-run it after a legislative session's codification pass:

node scripts/bake-index.mjs > src/id-index-data.ts

Titles carried forward (partial bakes)

If the publisher's pages for a whole title are unavailable at bake time, the bake script (KNOWN_UNAVAILABLE_TITLES) keeps that title's rows from the previous bake rather than dropping a title that still exists. Those rows are never re-stamped: ID_CARRIED_FORWARD records, per title, when they were last verified, and the pack says so in the payload. id_search marks each carried row (carried_forward, index_captured_at), sets data_as_of to the OLDEST verification date among the rows returned (the bake date is index_baked_at) and adds carried_forward_note. id_statute for a section in such a title returns reason: "publisher_unavailable" with the same note instead of claiming the chapter does not exist. Currently carried: Title 22 (last verified 2026-10-07).

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "idaho-code": {
      "url": "https://gateway.pipeworx.io/idaho-code/mcp"
    }
  }
}

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/idaho-code/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

Both URLs reach the same gateway and the same 1865+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/id_statute \
  -H 'Content-Type: application/json' \
  -d '{"citation":"18-4001"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/id_statute. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Run it from npm

@pipeworx/mcp-idaho-code is a local stdio bridge to the Pipeworx gateway: your MCP client starts it with npx, and it forwards every call to the same https://gateway.pipeworx.io/idaho-code/mcp endpoint shown above. It needs network access; there is no offline mode.

{
  "mcpServers": {
    "idaho-code": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-idaho-code"]
    }
  }
}

Without a key it calls anonymously, capped at 50 calls a day. A free account raises that to 200 a day: get a key at https://pipeworx.io/signup and add "env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry. The key is sent as a Bearer token, the same way a hosted connection sends it, so calls are metered and billed exactly as they are there.

It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to also list ask_pipeworx and the other gateway-wide tools.

Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check your Node version's documentation.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Idaho Code data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Frequently asked questions

What is Idaho Code MCP Server?

Idaho Statutes — state statutes by citation and by topic. Fleet #2747.

How do I install Idaho Code MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Idaho Code MCP Server runs locally from the npm package @pipeworx/mcp-idaho-code with the command npx -y @pipeworx/mcp-idaho-code@0.2.1.

Is Idaho Code MCP Server free and open source?

Yes. Idaho Code MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Idaho Code MCP Server support remote (HTTP) connections?

Yes. Idaho Code MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.

How is Idaho Code MCP Server's trust score calculated?

Idaho Code MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server