Illinois Code
v0.2.1Illinois Compiled Statutes — state statutes by citation, plus topic search.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
il_compiled_statute
Get the FULL TEXT of a section of the Illinois Compiled Statutes — Illinois state law — by citation. "720 ILCS 5/9-1" is first degree murder; "625 ILCS 5/11-501" is DUI. Pass the full citation as `citation` ("225 ILCS 155/30") or split it into `chapter`/`act`/`section`. Returns the statutory text with a data_as_of timestamp. Keyless. Use for "what does 720 ILCS 5/9-1 say" or to check an Illinois statute a case relies on.
| Parameter | Type | Description |
|---|---|---|
act | string | Act number within the chapter — the part after ILCS and before the slash, e.g. "5". Omit if passing `citation`. |
chapter | string | ILCS chapter, e.g. "720" (criminal offenses), "625" (vehicles), "750" (families). Omit if passing `citation`. |
citation | string | The full citation in one string, e.g. "225 ILCS 155/30". Alternative to chapter/act/section — either works. |
section | string | Section as cited, e.g. "9-1" or "11-501". Omit if passing `citation`. |
il_statute_search
Search Illinois Compiled Statutes BY TOPIC or keyword rather than citation — "currency exchange license fee", "concealed carry reciprocity", "landlord retaliation". Returns ranked sections with their citations; use il_compiled_statute afterward for the full text of one. Pass `chapter` + `act` (e.g. "225" + "155" for 225 ILCS 155) to scope the search to one act's own sections instead of ranking across all ~72,000 — use this when you already know which act the answer is in, so a term that is common across many acts still finds the right section. Full-text search, so it answers questions no c…
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic or keywords, e.g. "currency exchange license fee". Can also name an act directly, e.g. "225 ILCS 155 civil penalty". |
act | string | Optional: act number within `chapter` to scope the search, e.g. "155" for 225 ILCS 155. Only that act's sections are searched. |
chapter | string | Optional: ILCS chapter to scope the search to one act (pair with `act`), e.g. "225". |
limit | number | Max results, default 10, max 25. |