ks_statute
Pack: kansas-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/ks_statute for the schema, then POST the same URL with its arguments for the data.
Get the FULL TEXT of a section of the Kansas Statutes Annotated — Kansas state law — by citation. “K.S.A. 21-5402” is first degree murder. Returns the statutory text. Keyless. Use for “what does K.S.A. 21-5402 say” or to check a Kansas statute a case relies on.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
section | string | yes | Section as cited, e.g. “21-5402” (murder 1) or “8-1567” (DUI). The digits after the dash encode article and section. |
Example call
Arguments
{
"section": "21-5402"
}
curl
curl -X POST https://gateway.pipeworx.io/kansas-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ks_statute","arguments":{"section":"21-5402"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ks_statute', {
"section": "21-5402"
});
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 kansas-code pack
{
"mcpServers": {
"kansas-code": {
"url": "https://gateway.pipeworx.io/kansas-code/mcp"
}
}
}
See Getting Started for client-specific install steps.