pa_consolidated_statute

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

Get the FULL TEXT of a section of the Pennsylvania Consolidated Statutes — Pennsylvania state law — by citation. “18 Pa.C.S. 2502” is murder; “75 Pa.C.S. 3802” is DUI. Returns the statutory text. Keyless. Use for “what does 18 Pa.C.S. 2502 say” or to check a Pennsylvania statute a case relies on.

Parameters

NameTypeRequiredDescription
titlestringyesPennsylvania title number, e.g. “18” (crimes), “75” (vehicles), “23” (domestic relations).
sectionstringyesSection as cited, e.g. “2502” or “3802”. The first two digits are the chapter.

Example call

Arguments

{
  "title": "18",
  "section": "2502"
}

curl

curl -X POST https://gateway.pipeworx.io/pennsylvania-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pa_consolidated_statute","arguments":{"title":"18","section":"2502"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('pa_consolidated_statute', {
  "title": "18",
  "section": "2502"
});

More examples

{
  "title": "75",
  "section": "3802"
}

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 pennsylvania-code pack
{
  "mcpServers": {
    "pennsylvania-code": {
      "url": "https://gateway.pipeworx.io/pennsylvania-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 25, 2026