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. Returns the statutory text. 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 |
|---|---|---|---|
chapter | string | yes | ILCS chapter, e.g. “720” (criminal offenses), “625” (vehicles), “750” (families). |
act | string | yes | Act number within the chapter — the part after ILCS and before the slash, e.g. “5”. |
section | string | yes | Section as cited, e.g. “9-1” or “11-501”. |
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"
}
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.