Texas Ag Opinions logo

Texas Ag Opinions

Look up Texas AG opinions, treatment status, request details, full text, and statute references through MCP.

Install Texas Ag Opinions

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "texas-ag-opinions": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-texas-ag-opinions"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

Texas Ag Opinions MCP server connects AI agents to Texas Attorney General opinion pages, PDFs, and the AG's subsequent-treatment index. Its tools retrieve opinions by number, report recorded treatment such as overruled or modified, and search the treatment index for statute citations or keywords. Use it for targeted Texas AG opinion research, while treating statute search as limited to 381 indexed opinions rather than the full archive. The service is keyless through its hosted endpoint and also supports a local npm stdio bridge.

Use cases

  • Look up a Texas AG opinion by number
  • Check an opinion for recorded subsequent treatment
  • Extract requestor and cited-statute details from an opinion
  • Search treatment entries for a statute citation
  • Ask Pipeworx to route a broader legal-data question

Key features

  • Texas AG opinion lookup from 1939 onward
  • Full-text PDF retrieval and extraction
  • Recorded overruled, modified, affirmed, superseded, and withdrawn status
  • Treatment-index search by statute citation or keyword
  • AG number-range resolution before live fetching
  • Hosted MCP and local npm stdio access

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 29d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-texas-ag-opinions (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1kPackage downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Texas Ag Opinions works

What Texas Ag Opinions MCP server does

Texas Ag Opinions provides MCP access to Texas Attorney General opinions dating back to 1939. It supports targeted retrieval by opinion number, including the responsible Attorney General, date, requestor, RQ-request number, topic categories, summary, full opinion text, and extracted statute citations. Results may also include the opinion's recorded subsequent-treatment status.

The server also exposes the AG's courtesy index of opinions marked as overruled, modified, affirmed, superseded, or withdrawn. That index contains 381 recorded entries captured from the Attorney General's site. The integration is independent and unofficial; it is not affiliated with or endorsed by the Texas Attorney General.

How it works

For a lookup or status request, the service maps a bare opinion number to the appropriate Attorney General using a baked table of number ranges. It then fetches the AG-qualified opinion page live and retrieves the linked PDF for full-text extraction. This avoids the site's slug-less URL, which can return a generic success response even for fabricated numbers.

The statute-search tool queries a bundled copy of the subsequent-treatment index. It finds indexed opinions whose treatment description contains the requested citation or keyword. It does not perform full-text statute searching across all approximately 19,000 opinions.

The hosted MCP endpoint is https://gateway.pipeworx.io/texas-ag-opinions/mcp. A full Pipeworx gateway endpoint is also available, and both can route questions through the shared ask_pipeworx tool. Direct HTTP calls can be sent to the gateway's /v1/tools/{tool_name} endpoints.

Setup and configuration

Add the hosted endpoint to an MCP client:

config.json
{
  "mcpServers": {
    "texas-ag-opinions": {
      "url": "https://gateway.pipeworx.io/texas-ag-opinions/mcp"
    }
  }
}

For a local stdio connection, run the npm bridge with npx:

config.json
{
  "mcpServers": {
    "texas-ag-opinions": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-texas-ag-opinions"]
    }
  }
}

The bridge requires network access and has no offline mode. Anonymous use is limited to 50 calls per day. Setting PIPEWORX_API_KEY with a key from Pipeworx raises the allowance to 200 calls per day. Set PIPEWORX_META_TOOLS=1 if the local bridge should list shared gateway tools in addition to this pack's tools.

Tools and capabilities

  • tx_ag_opinion_lookup(opinion_number) retrieves opinion metadata, request details, extracted text, statute references, and recorded treatment.
  • tx_ag_opinion_status(opinion_number) checks the AG's treatment index for a recorded status.
  • tx_ag_statute_search(citation) searches the treatment index for a statute citation or keyword.
  • ask_pipeworx can route a natural-language question across the broader Pipeworx catalog when shared meta-tools are enabled or when using the gateway endpoint.

Opinion PDFs are text-based, so the service extracts their contents directly. Citation extraction uses best-effort regular expressions rather than a full legal citation parser.

Limitations and notes

A not_listed status means only that the opinion was not found in the AG's courtesy index. It should not be interpreted as confirmation that the opinion remains good law, because the index may be incomplete.

Statute search is limited to the 381 opinions in the recorded-treatment index. It is suitable for investigating whether a later statute or case is mentioned in a treatment entry, not for finding every AG opinion that discusses a statute. Multi-section citations may be only partially captured, and citation formats outside the supported Texas-code pattern may not be extracted.

The two live-fetching tools detect Cloudflare challenge pages and return an upstream_down error rather than treating challenge content as an opinion. Hosted responses also include the gateway's shared meta-tools alongside the pack tools; the exact list is determined during MCP initialization.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Texas Ag Opinions

Texas Ag Opinions is an MCP server that connects AI agents to Texas Attorney General opinion pages, PDFs, and the AG's treatment index. Its main tools look up opinions by number, check recorded overruled or modified status, and search treatment entries for statute citations or keywords.

Add the hosted MCP URL to your client, or run the npm stdio bridge with npx. The hosted endpoint is https://gateway.pipeworx.io/texas-ag-opinions/mcp. The local package is @pipeworx/mcp-texas-ag-opinions and requires network access.

No, the hosted endpoint and npm bridge can make anonymous calls. Anonymous use is capped at 50 calls per day; setting PIPEWORX_API_KEY with a Pipeworx key raises the allowance to 200 calls per day.

No, statute search covers only 381 opinions in the recorded subsequent-treatment index. It searches treatment descriptions for a citation or keyword and is intended for checking possible later statutory or case treatment, not for archive-wide topic research.

Yes, Cursor can connect to the hosted MCP endpoint using its MCP server configuration. Claude Desktop and Windsurf are also named as compatible clients, and the local npm bridge provides a standard stdio connection.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTexas Ag Opinions AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/texas-ag-opinions?style=directory)](https://allmcps.com/mcp/texas-ag-opinions)
HTML Embed
<a href="https://allmcps.com/mcp/texas-ag-opinions"><img src="https://allmcps.com/api/badge/texas-ag-opinions?style=directory" alt="Texas Ag Opinions on AllMCPs" /></a>