Michigan Code
v0.2.1Michigan Compiled Laws (statutes) and, since fleet #3957, the Michigan Administrative Code (agency…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mi_compiled_law
Get 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 the section. The History line (acts that enacted or amended it) and editorial notes are not included in the stored copy; the `text_scope` field says what a given answer contains. Keyless. Use for "what does MCL 750.316 say" or to check a Michigan statute a case relies on.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section as cited, e.g. "750.316" or "257.625". Chapter is the part before the dot. |
mi_admin_rule
Get 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.4142". Different from mi_compiled_law, which serves only statutes (MCL). Currently indexes the rule sets listed in `rule_sets_covered` on a miss; a citation outside those is reported as not-yet-indexed, not as nonexistent. Example: "R 400.4142" is the Child Caring Institutions rule on health-service policies, including medication storage and dispensing. Keyless.
| Parameter | Type | Description |
|---|---|---|
citation * | string | Rule citation, e.g. "R 400.4142" or "400.4142". The part before the dot is the chapter. |
mi_admin_rule_search
Full-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: "medication administration child caring institution"}. Searches rule headings and body text; returns matching citations with a snippet. Keyless.
| Parameter | Type | Description |
|---|---|---|
query * | string | Words to search for, e.g. "medication storage" or "staff-to-resident ratio". |
limit | number | Max results (default 10, max 25). |