ks_statute

Pack: kansas-code · Endpoint: https://gateway.pipeworx.io/kansas-code/mcp

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

NameTypeRequiredDescription
sectionstringyesSection 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, or use one-click install buttons:

{
  "mcpServers": {
    "kansas-code": {
      "url": "https://gateway.pipeworx.io/kansas-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 13, 2026