wa_wac_search
Pack: washington-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/wa_wac_search for the schema, then POST the same URL with its arguments for the data.
Search the FULL TEXT of the Washington Administrative Code (WAC) by topic or keyword — “workplace safety bulletin board”, “security deposit”, “septic system permit”, “cannabis retailer”. Calls the Washington State Legislature’s own full-text search index of every WAC section (it matches rule TEXT, not just captions), returns matching citations with captions, highlighted snippets and the index-wide match count. Optionally restrict to a title or chapter with cite_prefix (“296” for L&I, “458-20” for Revenue excise-tax rules). Call wa_wac_section with a citation for the full text and history. Keyless.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Topic or keywords, e.g. “safety bulletin board” or “landlord deposit”. Plain words; the index is Elasticsearch-style (all terms, stemmed). |
limit | number | no | Max results to return, default 10, max 25. |
cite_prefix | string | no | Optional WAC title or chapter to restrict results to, e.g. “296” or “296-800”. |
Example call
Arguments
{
"query": "safety bulletin board",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/washington-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wa_wac_search","arguments":{"query":"safety bulletin board","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('wa_wac_search', {
"query": "safety bulletin board",
"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 washington-code pack
{
"mcpServers": {
"washington-code": {
"url": "https://gateway.pipeworx.io/washington-code/mcp"
}
}
}
See Getting Started for client-specific install steps.