@pipeworx/pennsylvania-code
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/pennsylvania-code’s. Install: one-click buttons
Connect to just the @pipeworx/pennsylvania-code pack
https://gateway.pipeworx.io/pennsylvania-code/mcp — only @pipeworx/pennsylvania-code’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 3
Keyless. Two bodies of law, two citations:
| Tool | Cites like | Is |
|---|---|---|
pa_consolidated_statute | 18 Pa.C.S. 2502 (murder), 75 Pa.C.S. 3802 (DUI) | Consolidated Statutes (the General Assembly’s laws) |
pa_code_section | 25 Pa. Code § 105.13, 55 Pa. Code § 3270.1 | Pennsylvania Code (agency regulations) |
pa_code_search | free text, optional title | full-text search of the Pennsylvania Code |
pa_code_section
Pass citation (“25 Pa. Code § 105.13”) or title + section. Returns the section
heading, the full text, the list of top-level subsections, the Authority and Source
notes, and data_as_of / current_through (the Code’s own currency statement, e.g.
“56 Pa.B. 6006 (September 5, 2026)”). Pass subsection: "d" for one subsection verbatim.
A section that does not exist (repealed, or a renamed or renumbered one) returns
found:false with a reason.
pa_code_search
Words or a “quoted phrase”; title restricts to one Code title; 10 results per page.
Each hit has a citation, heading and snippet. Feed a citation back to pa_code_section.
Zero hits returns found:false, reason:"no_matches".
The statute citation hides a chapter
A four-digit PA statute section number is really chapter + section, zero-padded, so
2502 becomes chapter 025 section 002. Nobody types that, which is why
pa_consolidated_statute is a resolver. (The Code’s citations are plain chapter.section.)
Behaviour notes
- Live call per request; nothing is stored.
- Code titles that are court rules (e.g. 231, Pa.R.C.P.) use rule numbers rather than
chapter.section and are not resolved by
pa_code_section; usepa_code_search. - Search headings drop the dash from section titles (“activities information”); the section tool returns the heading intact.
Data source
Pennsylvania Code & Bulletin, Legislative Reference Bureau (Pennsylvania Code), and the Pennsylvania General Assembly (Consolidated Statutes). Public record. The publisher notes the online text may differ slightly from the printed Code.
Tools
- pa_consolidated_statute — 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. Keyl
- pa_code_section — 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”. Retu
- pa_code_search — Full-text search of the Pennsylvania Code (state administrative regulations). Returns matching sections with citation, heading and a snippet. Use for “which Pennsylvania regulation covers X”. Optional
Tools
pa_code_search— Full-text search of the Pennsylvania Code (state administrative regulations). Returns matching sections with citation, heading and a snippet. Use for which Pennsylvania regulation covers X . Optionalpa_code_section— 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 . Returnspa_consolidated_statute— 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.