Michigan Code
liveLegalDeveloperResearchMichigan Compiled Laws — state statutes by citation.
Tools
mi_compiled_lawGet the FULL TEXT of a section of the Michigan Compiled Laws — Michigan state statutes — by citation. "MCL 750.316" is first degree murder. Returns the statutory text only: the catchline and body of t
No parameters required.
Try it
mi_admin_ruleGet the FULL TEXT of a rule from the Michigan Administrative Code — agency rules that implement Michigan statutes (licensing, health, safety, and other department regulations), by citation like "R 400
No parameters required.
Try it
mi_admin_rule_searchFull-text search over the Michigan Administrative Code rule sets this pack has indexed (see mi_admin_rule). Use for "what Michigan rule covers X" when the exact citation is unknown, e.g. {query: "medi
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/michigan-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/michigan-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"mi_compiled_law","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("mi_compiled_law", {});// Or ask in plain English:
const answer = await px.ask("michigan compiled laws — state statutes by citation");