tx_ag_opinion_lookup
Pack: texas-ag-opinions · 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_ag_opinion_lookup for the schema, then POST the same URL with its arguments for the data.
Look up a Texas Attorney General opinion by its number (e.g. “KP-0537”, “GA-0153”) — returns the AG, date, requestor, RQ- request number, topic categories, one-sentence summary, full opinion text, statute citations found in it (best-effort), and whether it has a recorded overruled/modified/affirmed/withdrawn status. Sourced live from texasattorneygeneral.gov/opinions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
opinion_number | string | yes | Opinion number, e.g. “KP-0537”, “GA-0153”, “DM-212”. Case- and spacing-insensitive. |
Example call
Arguments
{
"opinion_number": "KP-0537"
}
curl
curl -X POST https://gateway.pipeworx.io/texas-ag-opinions/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tx_ag_opinion_lookup","arguments":{"opinion_number":"KP-0537"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tx_ag_opinion_lookup', {
"opinion_number": "KP-0537"
});
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-ag-opinions pack
{
"mcpServers": {
"texas-ag-opinions": {
"url": "https://gateway.pipeworx.io/texas-ag-opinions/mcp"
}
}
}
See Getting Started for client-specific install steps.