MCP server exposing 2 tools for dc-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/dc-code/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
dc_statute — Get the FULL TEXT of a section of the District of Columbia Code (D.C. Code) — DC statutes — by citation. "22-2101" is murder in the first degree; "42-3505.01" covers eviction notice requirements. Accepts natural forms: "22-2101", "D.C. Code § 22-2101", "DC Code 22-2101". Returns the current statutory text, the official heading, disposition (in force / repealed / transferred / reserved), legislative History annotations, Prior Codifications, and Cross References. The DC Council's own GitHub source (DCCouncil/law-xml-codified, public domain) publishes the CURRENT codified text only — a prior (pre-amendment) version's exact text is not available through this source; this tool says so rather than guessing. Keyless. Use for "what does D.C. Code 22-2101 say" or to check a DC statute a case or lease relies on.dc_search — Search the District of Columbia Code by TOPIC/keyword, and/or browse one TITLE's chapters and sections. Pass "query" to search official section headings (catchlines) — e.g. "landlord eviction notice", "concealed carry permit", "homicide" — across all 51+ titles or, with "title" also set, within just that title. Pass "title" alone (no query) to list every section under that D.C. Code title, acting as a chapter-list/browse tool. Matches official headings only (DC Council does not publish a full-text search over statutory body text). Call dc_statute with a result's citation for the full text. Keyless.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/dc-code/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io