tx_statute

Pack: texas-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/tx_statute for the schema, then POST the same URL with its arguments for the data.

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

NameTypeRequiredDescription
codestringyesTexas code abbreviation, e.g. “PE” (Penal), “FA” (Family), “CP” (Civil Practice and Remedies), “TX” (Tax). Call tx_codes to see them.
sectionstringyesSection 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 — 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 texas-code pack
{
  "mcpServers": {
    "texas-code": {
      "url": "https://gateway.pipeworx.io/texas-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 25, 2026