Dc Code
liveDeveloperResearchDistrict of Columbia Code — DC statutes by citation, and topic/chapter search. Fleet #2887 (one of six jurisdictions — DC + five territories — with no code pack).
Tools
dc_statuteGet 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. Acce
No parameters required.
Try it
dc_searchSearch 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",
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/dc-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/dc-code/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"dc_statute","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("dc_statute", {});// Or ask in plain English:
const answer = await px.ask("district of columbia code — dc statutes by citation, and topic/chapter search");