oh_code_search

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

Search the Ohio Revised Code BY TOPIC or keyword rather than by section number — “EDGE certification minority business”, “county competitive bidding threshold”, “OVI penalties”, “landlord security deposit”. Covers all chapters of the Revised Code. Returns ranked sections with citation, heading and an opening excerpt; call oh_revised_code with a result’s section for the full text. Full-text match, not semantic search. A query with no hits returns found:false. Keyless.

Parameters

NameTypeRequiredDescription
querystringyesTopic or keywords, e.g. “minority business enterprise certification”.
limitnumbernoMax results, default 10, max 25.

Example call

Arguments

{
  "query": "EDGE certification minority business",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/ohio-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"oh_code_search","arguments":{"query":"EDGE certification minority business","limit":5}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('oh_code_search', {
  "query": "EDGE certification minority business",
  "limit": 5
});

Response shape

FieldTypeDescription
foundbooleanTrue when at least one section matched
querystringThe query as searched
matchstringall_words or any_word: which form of the query produced the hits
countnumberResults returned
resultsarrayRanked sections
data_as_ofstring | nullWhen the stored chapters were last read from the source
sourcestring
hintstring
reasonstringOn found:false: empty_query, search_unavailable or index_unreachable
messagestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "True when at least one section matched"
    },
    "query": {
      "type": "string",
      "description": "The query as searched"
    },
    "match": {
      "type": "string",
      "description": "all_words or any_word: which form of the query produced the hits"
    },
    "count": {
      "type": "number",
      "description": "Results returned"
    },
    "results": {
      "type": "array",
      "description": "Ranked sections",
      "items": {
        "type": "object",
        "properties": {
          "citation": {
            "type": "string"
          },
          "section": {
            "type": "string"
          },
          "chapter": {
            "type": "string"
          },
          "heading": {
            "type": [
              "string",
              "null"
            ]
          },
          "excerpt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Opening text of the section"
          },
          "score": {
            "type": "number"
          }
        },
        "additionalProperties": true
      }
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the stored chapters were last read from the source"
    },
    "source": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "description": "On found:false: empty_query, search_unavailable or index_unreachable"
    },
    "message": {
      "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 ohio-code pack
{
  "mcpServers": {
    "ohio-code": {
      "url": "https://gateway.pipeworx.io/ohio-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 28, 2026