co_regulation
Pack: colorado-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/co_regulation for the schema, then POST the same URL with its arguments for the data.
Get the TEXT of a Colorado administrative regulation (Code of Colorado Regulations, CCR) by citation, with its effective date. “1 CCR 212-3” is the Colorado Marijuana Rules; pass rule=“2-245” to read one rule inside it (e.g. change of owner / transfer of ownership), or omit rule to page through the document (rule_index lists the rule numbers). Returns the current version by default, plus filing type, adopted date, Colorado Register publication and the list of earlier effective dates; pass effective_date for an earlier version. Naming only an agency (e.g. “2 CCR 502”) returns that agency’s document list. Colorado Secretary of State, live, keyless. Statutes are co_statute; this is the regulations.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ccr_number | string | yes | CCR citation, e.g. “1 CCR 212-3” (Colorado Marijuana Rules) or “2 CCR 502-1”. Volume, agency number, dash, document number. |
rule | string | no | Optional rule number inside the document, e.g. “2-245” or “1-105”. Omit to read from the start of the document. |
effective_date | string | no | Optional. YYYY-MM-DD effective date of an earlier version (listed in archived_effective_dates). Omit for the current version. |
offset | integer | no | Character offset to continue a long text from next_offset. |
max_chars | integer | no | Max characters of text to return (default 30000, max 100000). |
Example call
Arguments
{
"ccr_number": "1 CCR 212-3",
"rule": "2-245"
}
curl
curl -X POST https://gateway.pipeworx.io/colorado-code/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"co_regulation","arguments":{"ccr_number":"1 CCR 212-3","rule":"2-245"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('co_regulation', {
"ccr_number": "1 CCR 212-3",
"rule": "2-245"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
reason | string | null | |
message | string | null | |
ccr_number | string | null | |
title | string | null | |
department | string | null | |
agency | string | null | |
rule | string | null | |
text | string | null | |
text_chars | number | null | |
total_chars | number | null | |
next_offset | number | null | |
rule_index | array | null | |
effective_date | string | null | |
is_current | boolean | null | |
filing_type | string | null | |
adopted | string | null | |
earlier_effective_dates | array | null | |
documents | array | null | |
data_as_of | string | null | |
source | string | null |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
},
"message": {
"type": [
"string",
"null"
]
},
"ccr_number": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"department": {
"type": [
"string",
"null"
]
},
"agency": {
"type": [
"string",
"null"
]
},
"rule": {
"type": [
"string",
"null"
]
},
"text": {
"type": [
"string",
"null"
]
},
"text_chars": {
"type": [
"number",
"null"
]
},
"total_chars": {
"type": [
"number",
"null"
]
},
"next_offset": {
"type": [
"number",
"null"
]
},
"rule_index": {
"type": [
"array",
"null"
]
},
"effective_date": {
"type": [
"string",
"null"
]
},
"is_current": {
"type": [
"boolean",
"null"
]
},
"filing_type": {
"type": [
"string",
"null"
]
},
"adopted": {
"type": [
"string",
"null"
]
},
"earlier_effective_dates": {
"type": [
"array",
"null"
]
},
"documents": {
"type": [
"array",
"null"
]
},
"data_as_of": {
"type": [
"string",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
}
},
"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 colorado-code pack
{
"mcpServers": {
"colorado-code": {
"url": "https://gateway.pipeworx.io/colorado-code/mcp"
}
}
}
See Getting Started for client-specific install steps.