Michigan Code

v0.2.1
io.github.pipeworx-io/michigan-code Checked 2 days ago Published 1 month ago

Michigan 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.

ParameterTypeDescription
section *stringSection 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.

ParameterTypeDescription
citation *stringRule citation, e.g. "R 400.4142" or "400.4142". The part before the dot is the chapter.