il_compiled_statute
Pack: illinois-code · Endpoint: https://gateway.pipeworx.io/illinois-code/mcp
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, or use one-click install buttons:
{
"mcpServers": {
"illinois-code": {
"url": "https://gateway.pipeworx.io/illinois-code/mcp"
}
}
}
See Getting Started for client-specific install steps.