pa_consolidated_statute

Pack: pennsylvania-code · Endpoint: https://gateway.pipeworx.io/pennsylvania-code/mcp

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, or use one-click install buttons:

{
  "mcpServers": {
    "pennsylvania-code": {
      "url": "https://gateway.pipeworx.io/pennsylvania-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 12, 2026