Legislation Uk vs Kentucky Code

A side-by-side look at the Legislation Uk and Kentucky Code MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Legislation Uk logoLegislation UkLegal · Local subprocess (stdio)legislation.gov.uk MCP — the UK's official legislation database.55GoodAuth: not declaredKentucky Code logoKentucky CodeLegal · Local subprocess (stdio)Kentucky Revised Statutes (KRS) — state statutes by citation and by topic.61GoodAuth: no auth required

Verdict: choose Legislation Uk for legal work as a local process; choose Kentucky Code for legal as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Legislation Uk logoChoose Legislation Uk when

  • You need dedicated capabilities in the Legal domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like search_uk_legislation, get_legislation, get_legislation_section.
Explore Legislation Uk

Kentucky Code logoChoose Kentucky Code when

  • You need dedicated capabilities in the Legal domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You want tools like ky_statute, ky_search.
Explore Kentucky Code

Feature & specification comparison

Rows where the two servers differ are marked.

SpecLegislation Uk logoLegislation UkKentucky Code logoKentucky Code
CategoryLegalLegal
Quality signal55/100 · Good61/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars00
Directory activity 0 views 0 installs 0 upvotes 2 views 0 installs 0 upvotes
Tools62

Tools & capabilities

Legislation Uk tools 6

  • search_uk_legislationSearch by title words (and optional year) → matching Acts/instruments with full-text URLs. `type` is optional — an exact code, a plain category (`"act"`, `"si"`, `"ssi"`), or omit it to default to `ukpga`. (Renamed from `search_legislation` — the old name still resolves.)
  • get_legislationMetadata for one Act/instrument by type + year + number: title, status, extent, enactment date, full-text URL
  • get_legislation_sectionThe actual text of ONE section — e.g. section 5 of the Data Protection Act 2018 (`ukpga/2018/12`) — without paying for the whole statute. Takes `as_at` (or `version`) for a point-in-time date.
  • get_legislation_textThe text of a whole Act/instrument, byte-bounded: large Acts are truncated with an explicit note pointing at the section-level tool. Takes `as_at` (or `version`).
  • legislation_amendmentsWhat has amended this legislation (`direction: "affected"`, default) or what it amends (`direction: "affecting"`) — amending/amended instrument, affected/affecting provisions, change type, whether applied, commencement date. **Paged at 50** — always states `total_results`/`total_pages`.
  • get_explanatory_notesPlain-language commentary written by the responsible government department, explaining what a section is meant to do. NOT part of the law. Pass `section` for one section's commentary, or omit for an overview + table of contents.

Kentucky Code tools 2

  • ky_statuteGet the FULL TEXT of a section of the Kentucky Revised Statutes (KRS) — Kentucky state law — by citation. "507.020" is murder; "383.580" is the landlord security-deposit statute. Accepts natural forms: "507.020", "KRS 507.020", "§ 507.020". Returns the current statutory text, the catchline, the "Effective:" date, and the legislative "History:" (the Acts that enacted and amended it). Kentucky publishes the CURRENT text only — a prior (pre-amendment) version's text is not available online, only its existence; this tool says so rather than guessing. Keyless. Use for "what does KRS 507.020 say" or to check a Kentucky statute a case or contract relies on.
  • ky_searchSearch the Kentucky Revised Statutes BY TOPIC or keyword rather than citation — "security deposit", "concealed carry", "DUI per se limit", "homicide". Real full-text search over the statutory body text, not just catchlines: a query like "landlord" surfaces KRS 383.580 ("Security deposits") even though that catchline contains neither word. Returns matching citations and catchlines; call ky_statute with a citation for the full text. Keyless.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Legislation Uk

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "legislation-uk": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-legislation-uk"
      ]
    }
  }
}

Kentucky Code

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "kentucky-code": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-kentucky-code"
      ]
    }
  }
}

Frequently asked questions

Legislation Uk is categorized under Legal and uses a local stdio subprocess. Kentucky Code belongs to Legal and uses a local stdio subprocess. Pick Legislation Uk for legal work and Kentucky Code for legal.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Legislation Uk has no declared pricing — check the project's own site. Kentucky Code is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add legislation-uk and kentucky-code as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Legislation Uk has a quality signal of 55/100 (Good) with 0 views, 0 installs and 0 GitHub stars. Kentucky Code has 61/100 (Good) with 2 views, 0 installs and 0 GitHub stars.