Michigan Compiled Laws (statutes) and, since fleet #3957, the Michigan Administrative Code (agency…
MCPpedia last refreshed this data
io.github.pipeworx-io/michigan-code is an MCP server that michigan Compiled Laws (statutes) and, since fleet #3957, the Michigan Administrative Code (agency…. Its tool list has not been published yet over http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"michigan-code": {
"url": "https://gateway.pipeworx.io/michigan-code/mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Michigan Compiled Laws (statutes) and, since fleet #3957, the Michigan Administrative Code (agency…
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @pipeworx/mcp-michigan-code against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in cloud / legal
Cloud-powered AI platform with multi-agent swarms, sandboxes, and workflow automation
Gives AI development tools Firebase-specific capabilities and expertise.
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Evidence-grounded agent memory with mandatory provenance, on local SQLite or Cloudflare D1
MCP Security Weekly
Get CVE alerts and security updates for io.github.pipeworx-io/michigan-code and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Michigan Compiled Laws (statutes, mi_compiled_law) by citation, and — since fleet
#3957 — the Michigan Administrative Code (agency rules, mi_admin_rule and
mi_admin_rule_search). Keyless. 750.316 is first degree murder; R 400.4142 is
the Child Caring Institutions rule on medication storage and dispensing.
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.
See docs/state-law-probe.md for how this source was verified: every state pack
confirms a MISS is distinguishable from a HIT before shipping, because several
state sites answer HTTP 200 for statutes that do not exist.
text contains (fleet #3598)text is the statute: the section's catchline and its body, as the Michigan Legislature
publishes the Compiled Laws. It does not include the History line (the public acts that
enacted or amended the section, with their effective dates), editor's notes or commentary.
Those used to arrive in text when every call was a live read, so a caller that parsed the
History line now gets less than it did; nothing was lost from the law itself. Every answer
carries a text_scope field saying which it is: the stored copy (served_from: "stored-copy")
is statute text only, while the live fallback returns the page text from the section number
onward and can still include History and editor's notes. A repealed section is stored with its
repeal note as its text.
data_as_of (fleet #3546)The Legislature's site answers US data centres but refuses or stalls from Singapore: over 7 days external callers saw 3 successes against 98 "down" and 23 "forbidden" from there. A cache cannot help a first touch, so the Michigan Compiled Laws is stored, one JSON
object per MCL chapter number (the part of a citation before the dot), in the shared statute store (R2, statutes/mi/) that the Illinois,
Indiana, North Carolina, Wisconsin and Wyoming packs also use. The gateway hands the
pack its R2 binding and the pack reads only the object a call names (a very large
chapter is a small head plus parts, and a call reads the head and one part). A section
found there is answered with no upstream request; the response says
served_from: "stored-copy" and carries data_as_of (when that chapter was last read
from the source). A section the copy cannot answer (chapter missing, object unreadable,
or listed with no stored text) falls back to the live read. Absence is never remembered:
a chapter published later is served as soon as it exists.
Nothing is loaded at module scope: the data never enters the gateway bundle.
node mcps/michigan-code/scripts/bake-chapters.mjs # all chapters -> mcps/michigan-code/.bake/
node mcps/michigan-code/scripts/bake-chapters.mjs --only X # one chapter
node mcps/michigan-code/scripts/bake-chapters.mjs --resume # keep source pages already fetched
node mcps/michigan-code/scripts/upload-chapters.mjs # publish to R2 (statutes/mi/), changed files only
The source is the Legislature's published text of the Compiled Laws, one file per chapter, read under its own policy for automated collection (one request per second at most; this refresh makes one request per chapter file, two seconds apart). Repealed sections are stored with their repeal note. Sequential, with a delay between requests, an honest user agent, bounded
retries, and a stop on the first 429/403/451. Exit 0 only if every chapter was fetched
and parsed and the totals clear the floors (default 200 chapters, 15,000 sections with text); anything less exits 1 with the
counts. A chapter whose text is unchanged keeps its previous data_as_of. The baked
files are a working copy, not committed (.bake/ is gitignored); upload-chapters.mjs
writes only the files whose cont