il_compiled_statute
Pack: illinois-code · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/il_compiled_statute for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | yes | The full citation in one string, e.g. “225 ILCS 155/30”. Alternative to chapter/act/section — either works. |
chapter | string | no | ILCS chapter, e.g. “720” (criminal offenses), “625” (vehicles), “750” (families). Omit if passing citation. |
act | string | no | Act number within the chapter — the part after ILCS and before the slash, e.g. “5”. Omit if passing citation. |
section | string | no | Section as cited, e.g. “9-1” or “11-501”. Omit if passing citation. |
Example call
Arguments
{
"chapter": "720",
"act": "5",
"section": "9-1"
}
curl
curl -X POST https://gateway.pipeworx.io/illinois-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"il_compiled_statute","arguments":{"chapter":"720","act":"5","section":"9-1"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('il_compiled_statute', {
"chapter": "720",
"act": "5",
"section": "9-1"
});
More examples
{
"chapter": "625",
"act": "5",
"section": "11-501"
}
{
"citation": "225 ILCS 155/30"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the illinois-code pack
{
"mcpServers": {
"illinois-code": {
"url": "https://gateway.pipeworx.io/illinois-code/mcp"
}
}
}
See Getting Started for client-specific install steps.