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

NameTypeRequiredDescription
ccr_numberstringyesCCR citation, e.g. “1 CCR 212-3” (Colorado Marijuana Rules) or “2 CCR 502-1”. Volume, agency number, dash, document number.
rulestringnoOptional rule number inside the document, e.g. “2-245” or “1-105”. Omit to read from the start of the document.
effective_datestringnoOptional. YYYY-MM-DD effective date of an earlier version (listed in archived_effective_dates). Omit for the current version.
offsetintegernoCharacter offset to continue a long text from next_offset.
max_charsintegernoMax 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

FieldTypeDescription
foundboolean
reasonstring | null
messagestring | null
ccr_numberstring | null
titlestring | null
departmentstring | null
agencystring | null
rulestring | null
textstring | null
text_charsnumber | null
total_charsnumber | null
next_offsetnumber | null
rule_indexarray | null
effective_datestring | null
is_currentboolean | null
filing_typestring | null
adoptedstring | null
earlier_effective_datesarray | null
documentsarray | null
data_as_ofstring | null
sourcestring | 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.

Regenerated from source · build November 14, 2026