wy_statute
Pack: wyoming-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/wy_statute for the schema, then POST the same URL with its arguments for the data.
Get the FULL TEXT of a section of the Wyoming Statutes (W.S.) — Wyoming state law — by citation. “6-2-101” is murder in the first degree (Title 6, Crimes and Offenses); “20-1-105” is divorce grounds (Title 20). Accepts natural forms: “6-2-101”, “W.S. 6-2-101”, ”§ 6-2-101”. Returns the current statutory text, the section heading, and — where the source carries one cleanly — an enactment/amendment “history” note; many sections have no such note (Wyoming does not uniformly separate amendment history from body text). Wyoming publishes the CURRENT edition only; no historical/prior-year version is available online. Title 97 (the Constitution) is not covered — it uses “Article N, Section N” citations, a different scheme. Keyless. Use for “what does W.S. 6-2-101 say” or to check a Wyoming statute a case or contract relies on.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | yes | Section citation, e.g. “6-2-101” (murder) or “20-1-105” (divorce grounds). Title-chapter-section, dash separated; a few titles carry a decimal (e.g. “34.1-1-101”, Uniform Commercial Code). |
Example call
Arguments
{
"citation": "6-2-101"
}
curl
curl -X POST https://gateway.pipeworx.io/wyoming-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"wy_statute","arguments":{"citation":"6-2-101"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('wy_statute', {
"citation": "6-2-101"
});
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 wyoming-code pack
{
"mcpServers": {
"wyoming-code": {
"url": "https://gateway.pipeworx.io/wyoming-code/mcp"
}
}
}
See Getting Started for client-specific install steps.