ut_code_search
Pack: utah-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/ut_code_search for the schema, then POST the same URL with its arguments for the data.
Search the Utah Code BY TOPIC or keyword rather than citation, “concealed weapon permit”, “landlord retaliatory eviction”, “DUI penalties”. Returns ranked sections with their citations; use ut_code_section afterward for the full text of one. 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. “concealed weapon permit”. |
limit | number | no | Max results, default and maximum 10, le.utah.gov’s Solr proxy ignores the row count and always returns 10, so a larger value cannot be honoured. |
Example call
Arguments
{
"query": "concealed weapon permit",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/utah-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ut_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('ut_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 utah-code pack
{
"mcpServers": {
"utah-code": {
"url": "https://gateway.pipeworx.io/utah-code/mcp"
}
}
}
See Getting Started for client-specific install steps.