pa_code_section

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_code_section for the schema, then POST the same URL with its arguments for the data.

Get the FULL TEXT of a section of the Pennsylvania Code (the state’s administrative REGULATIONS, not the Consolidated Statutes) by citation, e.g. “25 Pa. Code § 105.13” or “55 Pa. Code § 3270.1”. Returns the current text with subsection structure, the Authority and Source notes, and the date through which the Code is current. Pass citation (“25 Pa. Code § 105.13”) or title + section. Optional subsection (e.g. “d”) returns just that subsection. Keyless.

Parameters

NameTypeRequiredDescription
citationstringnoFull citation, e.g. “25 Pa. Code § 105.13” or “55 Pa. Code 3270.1”. Alternative to title + section.
titlestringnoPennsylvania Code title number, e.g. “25” (Environmental Protection), “55” (Human Services), “52” (Public Utilities).
sectionstringnoSection number as cited, e.g. “105.13” or “3270.1”. The part before the dot is the chapter.
subsectionstringnoOptional lettered subsection to return alone, e.g. “d” or “(d)”.

Example call

Arguments

{
  "citation": "25 Pa. Code § 105.13"
}

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_code_section","arguments":{"citation":"25 Pa. Code § 105.13"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('pa_code_section', {
  "citation": "25 Pa. Code § 105.13"
});

More examples

{
  "title": "25",
  "section": "105.13",
  "subsection": "d"
}
{
  "title": "55",
  "section": "3270.1"
}

Response shape

FieldTypeDescription
foundboolean
reasonstring | null
messagestring | null
citationstring | null
titlestring | null
sectionstring | null
subsectionstring | null
headingstring | null
textstring | null
text_charsnumber | null
subsectionsarray | null
authoritystring | null
source_notestring | null
current_throughstring | null
data_as_ofstring | null
sourcestring | null
urlstring | null
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    },
    "citation": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "section": {
      "type": [
        "string",
        "null"
      ]
    },
    "subsection": {
      "type": [
        "string",
        "null"
      ]
    },
    "heading": {
      "type": [
        "string",
        "null"
      ]
    },
    "text": {
      "type": [
        "string",
        "null"
      ]
    },
    "text_chars": {
      "type": [
        "number",
        "null"
      ]
    },
    "subsections": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "authority": {
      "type": [
        "string",
        "null"
      ]
    },
    "source_note": {
      "type": [
        "string",
        "null"
      ]
    },
    "current_through": {
      "type": [
        "string",
        "null"
      ]
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}

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 November 14, 2026