ia_code_search
Pack: iowa-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/ia_code_search for the schema, then POST the same URL with its arguments for the data.
Search the Iowa Code by TOPIC or keyword rather than citation, e.g. “landlord security deposit”, “concealed handgun permit”, “operating while intoxicated”. Matches against the Iowa Legislature’s own official chapter and section CAPTIONS (not full statutory prose — Iowa does not publish a general-index or full-text search of Code section text, verified live) across all 16 titles, then returns the matching sections (or, if none match at the section level, the matching chapters) with their citations. Use ia_code_section afterward for the full text of a result. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Topic or keywords, e.g. “landlord security deposit”. |
limit | number | no | Max results, default 10, max 25. |
Example call
Arguments
{
"query": "concealed weapon permit",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/iowa-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ia_code_search","arguments":{"query":"concealed weapon permit","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ia_code_search', {
"query": "concealed weapon permit",
"limit": 5
});
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 iowa-code pack
{
"mcpServers": {
"iowa-code": {
"url": "https://gateway.pipeworx.io/iowa-code/mcp"
}
}
}
See Getting Started for client-specific install steps.