ma_general_law

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

Get the FULL TEXT of a section of the Massachusetts General Laws — Massachusetts state statutes — by citation. “M.G.L. c. 265, s. 1” is chapter 265 section 1 (murder). Returns the statutory text. Keyless. Use for “what does Massachusetts General Law chapter 90 section 24 say” or to check a Massachusetts statute a case relies on.

Parameters

NameTypeRequiredDescription
chapterstringyesChapter number, e.g. “265” (crimes against the person) or “90” (motor vehicles).
sectionstringyesSection within the chapter, e.g. “1” or “24”.

Example call

Arguments

{
  "chapter": "265",
  "section": "1"
}

curl

curl -X POST https://gateway.pipeworx.io/massachusetts-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ma_general_law","arguments":{"chapter":"265","section":"1"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('ma_general_law', {
  "chapter": "265",
  "section": "1"
});

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

See Getting Started for client-specific install steps.

Regenerated from source · build September 25, 2026