nc_constitution_search

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

Find sections of the North Carolina Constitution by words in the heading or text, e.g. “eminent domain”, “jury trial”, “right to bear arms”, “equal protection”. Returns matching article and section numbers with headings and a short excerpt; call nc_constitution with the article and section for the verbatim text. Optionally restrict to one article. Keyless, live.

Parameters

NameTypeRequiredDescription
querystringyesWords to find, e.g. “jury trial”.
articlestringnoOptional: only search this article (1-14 or Roman numeral).
limitnumbernoMax results, default 10, max 25.

Example call

Arguments

{
  "query": "jury trial"
}

curl

curl -X POST https://gateway.pipeworx.io/north-carolina-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nc_constitution_search","arguments":{"query":"jury trial"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('nc_constitution_search', {
  "query": "jury trial"
});

Response shape

FieldTypeDescription
foundboolean
reasonstring
messagestring
querystring
countnumber
searched_articlesnumber
partialboolean
unreadable_articlesnumber
resultsarray
failuresarray
sourcestring
data_as_ofstring
hintstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "count": {
      "type": "number"
    },
    "searched_articles": {
      "type": "number"
    },
    "partial": {
      "type": "boolean"
    },
    "unreadable_articles": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "article": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "excerpt": {
            "type": "string"
          }
        }
      }
    },
    "failures": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    }
  }
}

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

See Getting Started for client-specific install steps.

Regenerated from source · build November 16, 2026