Kentucky Revised Statutes (KRS) — state statutes by citation and by topic.
MCPpedia last refreshed this data
io.github.pipeworx-io/kentucky-code is an MCP server that kentucky Revised Statutes (KRS) — state statutes by citation and by topic. Its tool list has not been published yet over http, requires no API key, and scores 85/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"kentucky-code": {
"url": "https://gateway.pipeworx.io/kentucky-code/mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Kentucky Revised Statutes (KRS) — state statutes by citation and by topic.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @pipeworx/mcp-kentucky-code against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in legal
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Amazon, Walmart, TikTok Shop, Meta Ads, 1688, Shopee, Temu & social data API (200+ MCP tools).
Search Swedish parliamentary documents, speeches, votes, members, and statutes.
1M+ Swiss court decisions, statutes & doctrine with citation graph (DE/FR/IT). CC0, free, 42 tools.
MCP Security Weekly
Get CVE alerts and security updates for io.github.pipeworx-io/kentucky-code and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Kentucky Revised Statutes (KRS) — state statutes by citation and by topic search, with legislative/amendment history. Keyless.
Part of Pipeworx — an MCP gateway connecting AI agents to 1865+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
ky_statute(citation) — the current text of a KRS section by citation
("507.020", "KRS 383.580", "§ 507.020"). Returns the catchline, the
full statutory text, the effective_date, and the history line (the
Acts that enacted and amended it). A prior (pre-amendment) version's text
is not available anywhere online — historical_versions says so rather
than silently omitting it.ky_search(query, limit?) — full-text topic search over the statutory
body text, not just catchlines ("landlord" surfaces KRS 383.580
"Security deposits", a catchline that contains neither word). Returns
matching citations and catchlines; pass a citation to ky_statute for the
full text.Keyless. No signup, no key, on either side of the call.
searchPhrase, statuteRange=true&startRange=1&endRange=999, and
searchStatuteNumber=true for an exact-citation lookup. Needs a fresh
RequestVerificationToken header, read from an inline <script> on
https://apps.legislature.ky.gov/lrcsearch — NOT cookie-bound (confirmed:
the search page sets no cookie), so one GET for the token followed by one
GET against the API, per call, is the whole mechanism. No login.content-disposition: inline;FileName="KRS507_020(K).pdf"). There is no
HTML page with the statutory text anywhere on the site; the chapter index
pages list only catchlines. Extracted via the new extractPdfText helper
in shared/src/pdf-text.ts (see that file for what it does and does not
handle) — this repo had no PDF text extraction before this pack.The opaque-id trap, and why this isn't the two-hop resolver. The August
state-law survey (docs/state-law-probe.md) flagged Kentucky's statute URLs
as addressed by an opaque database id with no derivable mapping from the
citation — the same shape Vermont and Connecticut solved with a two-hop fetch
through the chapter index. Kentucky's chapter index pages (chapter.aspx?id=)
DO carry that mapping (confirmed: Chapter 507's index lists ".020 Murder." next
to its id), so the two-hop route would work — but a simpler ONE-hop route also
works and is what this pack uses: the LRC's own search API resolves a citation
straight to its id, because it is a real full-text search over the whole KRS
rather than a title/catchline index (verified live: searching "landlord"
surfaces KRS 383.580, whose catchline is just "Security deposits.").
Four capabilities, three available. Citation lookup and topic search are
both the same search endpoint with a flag; amendments/history is the
statute's own History: line, parsed out of the extracted PDF text. The
fourth — the TEXT of a section as it read before a given amendment — is not
published online anywhere: a superseded id redirects to an "Invalid Statute"
page instructing the reader to e-mail the Reviser of Statutes for it. This
pack reports that as historical_versions, not as a silent gap.
Division/chapter-heading rows. The search API's Type field is "K" for
a real statute section, "D" for a chapter/division heading (no statutory
text — ky_statute reports not_a_section rather than fetching a PDF for
it), and "R" for a repealed section (text still returned; type_label
says which).
Add to your MCP client (Claude Desktop, Cursor, Windsu