ri_regulation
Pack: rhode-island-regulations · 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/ri_regulation for the schema, then POST the same URL with its arguments for the data.
Get the FULL TEXT of a Rhode Island administrative regulation (a part of the Rhode Island Code of Regulations, RICR) by citation, with its title, agency, status and effective date. “260-RICR-30-10-2” is Boiler and Pressure Vessel Inspection (Department of Labor and Training). Pass section (“2.5”) to return only that section and its subsections, or query to return only the paragraphs containing your words, since parts can run to 50,000+ characters. Keyless. Use for “what does Rhode Island regulation 260-RICR-30-10-2 say about inspection frequency or fees”; for statutes use ri_general_law.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | yes | Part citation, e.g. “260-RICR-30-10-2” or “260-30-10-2” (title-chapter-subchapter-part). A trailing section like “260-RICR-30-10-2.5” is accepted and used as section. |
section | string | no | Optional section number inside the part, e.g. “2.5” or “2.5.2”. Returns that section and everything under it. |
query | string | no | Optional words; returns only paragraphs containing all of them (case-insensitive), e.g. “inspection frequency”. |
max_chars | number | no | Cap on returned text characters (default 60000, max 120000). |
Example call
Arguments
{
"citation": "260-RICR-30-10-2",
"section": "2.5"
}
curl
curl -X POST https://gateway.pipeworx.io/rhode-island-regulations/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ri_regulation","arguments":{"citation":"260-RICR-30-10-2","section":"2.5"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ri_regulation', {
"citation": "260-RICR-30-10-2",
"section": "2.5"
});
Response shape
| Field | Type | Description |
|---|---|---|
citation | string | |
title | string | |
agency | string | |
chapter | string | |
subchapter | string | |
status | string | |
effective | string | |
type_of_filing | string | |
authority | null | |
scope | string | |
text | string | |
text_chars | number | |
total_chars | number | |
truncated | boolean | |
top_level_sections | array | |
source | string | |
attribution | string |
Full JSON Schema
{
"type": "object",
"properties": {
"citation": {
"type": "string"
},
"title": {
"type": "string"
},
"agency": {
"type": "string"
},
"chapter": {
"type": "string"
},
"subchapter": {
"type": "string"
},
"status": {
"type": "string"
},
"effective": {
"type": "string"
},
"type_of_filing": {
"type": "string"
},
"authority": {
"type": "null"
},
"scope": {
"type": "string"
},
"text": {
"type": "string"
},
"text_chars": {
"type": "number"
},
"total_chars": {
"type": "number"
},
"truncated": {
"type": "boolean"
},
"top_level_sections": {
"type": "array",
"items": {
"type": "string"
}
},
"source": {
"type": "string"
},
"attribution": {
"type": "string"
}
},
"additionalProperties": true
}
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 rhode-island-regulations pack
{
"mcpServers": {
"rhode-island-regulations": {
"url": "https://gateway.pipeworx.io/rhode-island-regulations/mcp"
}
}
}
See Getting Started for client-specific install steps.