MCP server exposing 2 tools for new-york-code.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/new-york-code/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
ny_law_section — Get the FULL TEXT of a section of the New York Consolidated Laws — New York state statutes — by citation. "Penal Law 125.25" is law "PEN", section "125.25". Returns the statutory text, its heading and the date that version took effect. Use for "what does NY Penal Law 125.25 say", "text of New York Labor Law 240", or to check a New York statute a case or contract relies on.ny_laws — List the New York law corpora — Penal Law is PEN, Labor Law is LAB, Vehicle and Traffic is VAT, and so on — optionally filtered by subject. Use when you know the subject but not the law id, before calling ny_law_section.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/new-york-code/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io