dc_statute

Pack: dc-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/dc_statute for the schema, then POST the same URL with its arguments for the data.

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.

Parameters

NameTypeRequiredDescription
citationstringyesSection citation, title-section, e.g. “22-2101” (murder in the first degree) or “42-3505.01” (eviction notice). The title may carry a letter suffix (e.g. “27A-101”).

Example call

Arguments

{
  "citation": "22-2101"
}

curl

curl -X POST https://gateway.pipeworx.io/dc-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dc_statute","arguments":{"citation":"22-2101"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('dc_statute', {
  "citation": "22-2101"
});

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 dc-code pack
{
  "mcpServers": {
    "dc-code": {
      "url": "https://gateway.pipeworx.io/dc-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 9, 2026