tx_statute
Pack: texas-code · Endpoint: https://gateway.pipeworx.io/texas-code/mcp
Get the FULL TEXT of a section of the Texas Statutes — Texas state law — by citation. “Texas Penal Code 19.02” is code “PE”, section “19.02” (murder). Returns the statutory text and its amendment history. Keyless. Use for “what does Texas Penal Code 19.02 say”, “text of Tex. Fam. Code 6.001”, or to check a Texas statute a case relies on.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
code | string | yes | Texas code abbreviation, e.g. “PE” (Penal), “FA” (Family), “CP” (Civil Practice and Remedies), “TX” (Tax). Call tx_codes to see them. |
section | string | yes | Section as cited, e.g. “19.02” or “6.001”. The chapter is the part before the dot. |
Example call
Arguments
{
"code": "PE",
"section": "19.02"
}
curl
curl -X POST https://gateway.pipeworx.io/texas-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tx_statute","arguments":{"code":"PE","section":"19.02"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tx_statute', {
"code": "PE",
"section": "19.02"
});
More examples
{
"code": "FA",
"section": "6.001"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"texas-code": {
"url": "https://gateway.pipeworx.io/texas-code/mcp"
}
}
}
See Getting Started for client-specific install steps.