il_statute_search
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_statute_search for the schema, then POST the same URL with its arguments for the data.
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 citation lookup can. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Topic or keywords, e.g. “currency exchange license fee”. Can also name an act directly, e.g. “225 ILCS 155 civil penalty”. |
limit | number | no | Max results, default 10, max 25. |
chapter | string | no | Optional: ILCS chapter to scope the search to one act (pair with act), e.g. “225”. |
act | string | no | Optional: act number within chapter to scope the search, e.g. “155” for 225 ILCS 155. Only that act’s sections are searched. |
Example call
Arguments
{
"query": "currency exchange license fee"
}
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_statute_search","arguments":{"query":"currency exchange license fee"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('il_statute_search', {
"query": "currency exchange license fee"
});
More examples
{
"query": "civil penalty",
"chapter": "225",
"act": "155"
}
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.