Kentucky Code logo

Kentucky Code

Searches Kentucky statutes by topic or citation and returns current text, effective dates, and legislative history.

Install Kentucky Code

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "kentucky-code": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-kentucky-code"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

Kentucky Code provides MCP access to the Kentucky Revised Statutes through the Pipeworx gateway. Its tools find sections by citation or search statute body text by topic, then return current statutory text, catchlines, effective dates, and amendment history. Use it to verify the Kentucky law cited by a case or contract, or to locate relevant provisions when the citation is unknown. The service is keyless for anonymous use and can run through a hosted MCP endpoint or a local npm stdio bridge.

Use cases

  • Look up the current text of a KRS section by citation
  • Search Kentucky statutes by topic or keyword
  • Check the effective date and amendment history of a statute
  • Find relevant provisions when you know the subject but not the citation

Key features

  • Full-text Kentucky statute lookup by citation
  • Body-text search by topic or keyword
  • Catchlines, effective dates, and legislative history
  • Natural citation formats such as KRS 507.020
  • Hosted MCP endpoint and local npm stdio bridge
  • Keyless anonymous access

Tools2

What Kentucky Code lets your agent do. Expand a tool for its parameters.

Verified live~408 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

8/8 checks healthy over the last 32d

What it can do

From the 2 tools this server returned when we ran it.

Read-only tools · 2
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age11 days
Maintainers1

Observed 2026-10-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @pipeworx/mcp-kentucky-code (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.3kPackage downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Tools exposed2Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Kentucky Code works

What Kentucky Code does

Kentucky Code exposes the Kentucky Revised Statutes (KRS) to MCP-compatible clients. It supports two complementary workflows: look up a known section such as KRS 507.020, or search the statutory body text for a subject such as landlord security deposits, concealed carry, DUI limits, or homicide.

A citation lookup returns the section's current text, catchline, effective date, and legislative history. The history identifies the Acts that enacted or amended the section. Topic search returns matching citations and catchlines; a second call can retrieve the complete text for a selected citation.

The integration is unofficial and accesses data published by Kentucky's Legislative Research Commission through the Pipeworx gateway.

How it works

The hosted MCP endpoint is:

text
https://gateway.pipeworx.io/kentucky-code/mcp

The gateway resolves citation and topic requests through the Kentucky legislature's search service. For a selected statute, it obtains the section PDF, extracts its text, and parses details such as the catchline, effective date, and History line.

Citation input accepts common forms, including 507.020, KRS 507.020, and § 507.020. Topic searches use full statutory body text rather than catchlines alone, so a search for landlord can find KRS 383.580 even though its catchline is “Security deposits.”

Setup and configuration

Add the hosted endpoint to an MCP client with a server entry such as:

config.json
{
  "mcpServers": {
    "kentucky-code": {
      "url": "https://gateway.pipeworx.io/kentucky-code/mcp"
    }
  }
}

Claude Desktop, Cursor, and Windsurf are named as compatible clients. The local npm bridge can be started with npx:

config.json
{
  "mcpServers": {
    "kentucky-code": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-kentucky-code"]
    }
  }
}

The bridge requires network access and forwards calls to the same hosted gateway; it has no offline mode. Anonymous use is available with a daily call limit. Setting PIPEWORX_API_KEY uses an account key and raises the documented daily limit. PIPEWORX_META_TOOLS=1 adds Pipeworx gateway-wide tools to the local bridge's tool list.

Tools and capabilities

  • ky_statute(citation) resolves a KRS citation and returns current full text, catchline, effective date, and legislative history.
  • ky_search(query, limit?) searches statute body text by topic or keyword and returns matching citations and catchlines.
  • HTTP tool calls are available through the gateway, including POST /v1/tools/ky_statute.
  • The gateway can also expose shared tools such as ask_pipeworx; these are separate from the Kentucky-specific tools and appear when the relevant scope is enabled.

Limitations and notes

Kentucky publishes current statutory text, not the text of earlier versions. When a pre-amendment version is requested, the integration reports that historical text is unavailable rather than reconstructing it. Repealed sections can still return text with a type label, while chapter or division heading rows are identified as non-section results and do not provide statutory text.

The local bridge is a networked client for the hosted service, not a local copy of the statutes. Anonymous calls are capped at 50 per day; an account key raises the documented limit to 200 per day. The package is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Kentucky Code

Kentucky Code is an MCP server that connects AI clients to the Kentucky Revised Statutes through the Pipeworx gateway. Its main tools, ky_statute and ky_search, retrieve current statute text by citation and search the statutory body text by topic, returning citations, catchlines, effective dates, and legislative history.

Add the hosted MCP URL to your client, or run the local bridge with npx. The hosted configuration uses https://gateway.pipeworx.io/kentucky-code/mcp; the local configuration runs @pipeworx/mcp-kentucky-code with npx and forwards requests to that endpoint.

Yes, Kentucky Code works with Cursor through the hosted MCP endpoint or the local npm bridge. Add the endpoint as an MCP server, or configure Cursor to run npx with @pipeworx/mcp-kentucky-code.

No, Kentucky Code returns current statutory text and reports when a prior version is unavailable. It can provide the section's legislative History line, but Kentucky's online source does not publish the full text as it appeared before a given amendment.

Call ky_search with a topic or keyword such as security deposit, landlord, concealed carry, or homicide. The tool searches the statutory body text and returns matching citations and catchlines; call ky_statute with a selected citation to obtain the full text.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewKentucky Code AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kentucky-code?style=directory)](https://allmcps.com/mcp/kentucky-code)
HTML Embed
<a href="https://allmcps.com/mcp/kentucky-code"><img src="https://allmcps.com/api/badge/kentucky-code?style=directory" alt="Kentucky Code on AllMCPs" /></a>