Koskamo

UK Law MCP

Provides access to approximately 130,000 UK Acts and regulations as plain text, updated daily from legislation.gov.uk. It enables AI assistants to search, read, and quote specific sections of UK law with official links, covering England, Scotland, Wales, and Northern Ireland.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

UK Law MCP logo, by Tavlabs LtdCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-11-07Published by Tavlabs Ltd
MCP endpoint (Streamable HTTP)
https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
Vendor documentation

What its tools do

4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

4 of 4 have a description · 4 of 4 declare behavior hints · 4 of 4 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Search for specific UK legislation text
  • Quote sections of Acts with official links
  • Check laws in Scotland, Wales, or Northern Ireland

Source and maintenance

Community listingRegistry 1.0.1
Maintenance checked

Protocol and capabilities

Server
uk-law 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
4 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

UK Law: the legislation of the United Kingdom (Acts and regulations of the UK Parliament, Scotland, Wales and Northern Ireland, historic parliaments and EU-origin law), converted from legislation.gov.uk and updated daily. How to answer a question about UK law: 1. search_laws with words from the law's title (or browse list_topics / get_topic by subject). 2. get_law with the id. A long law returns its contents; then call get_law again with part, e.g. "section 86", "schedule 1", "part 2". 3. Answer from the text you read: name the law and section, quote the key words, give the official link, say how current the text is (status and text_date in the front matter: "as-enacted" means later amendments are NOT applied; "revised-with-pending-changes" means some are not yet applied) and where it applies (extent: E England, W Wales, S Scotland, N.I. Northern Ireland). 4. Say it is not legal advice and the official text or a lawyer should be checked.

Tools

4 advertised

search_laws — Search UK laws
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Find UK Acts and regulations by words of their title, or by id (e.g. ukpga/1996/18). Exact titles, Acts and laws in force come first. Returns id, title, status, extent and topics.

search_laws input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "query"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 50,
      "minimum": 1,
      "description": "Default 20"
    },
    "query": {
      "type": "string",
      "description": "Words from the title, e.g. \"employment rights act\", or an id such as \"ukpga/2018/12\""
    },
    "topic": {
      "type": "string",
      "description": "Only laws under a topic whose name contains this text, e.g. Housing"
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Only these id prefixes: ukpga (UK Acts), uksi (UK regulations), asp/ssi (Scotland), asc/anaw/wsi (Wales), nia/nisr (Northern Ireland), eur (EU-origin)"
    },
    "extent": {
      "type": "string",
      "description": "Only laws that extend to E, W, S or N.I."
    },
    "in_force": {
      "type": "boolean",
      "description": "Leave out repealed laws"
    }
  }
}
search_laws annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
get_law — Read a UK law
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Read a law by id. Short laws come whole. Long laws (100+ sections) return their front matter and a Contents list: then ask for one part, e.g. part: "section 86", "schedule 1", "regulation 3" or "part 2" (lists that part's sections).

get_law input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Law id from search_laws, e.g. ukpga/1996/18"
    },
    "part": {
      "type": "string",
      "description": "One section, regulation, article, schedule or part of a long law, e.g. \"section 86\""
    },
    "max_chars": {
      "type": "integer",
      "maximum": 200000,
      "minimum": 2000,
      "description": "Default 60000"
    }
  }
}
get_law annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
list_topics — List topics
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Topics (the official subject headings of legislation.gov.uk) with the number of Acts and regulations in force. Optionally only those whose name has these words.

list_topics input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "query": {
      "type": "string",
      "description": "e.g. housing, tax, employment"
    }
  }
}
list_topics annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}
get_topic — Read a topic page
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

The Acts and regulations in force on one topic, with how many regulations each Act has on it. Big topics list regulations by year: pass year to read one.

get_topic input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Topic name from list_topics, e.g. Landlord and Tenant"
    },
    "year": {
      "type": "string",
      "description": "For big topics: the year of regulations to list"
    },
    "max_chars": {
      "type": "integer",
      "maximum": 200000,
      "minimum": 2000,
      "description": "Default 60000"
    }
  }
}
get_topic annotations
{
  "readOnlyHint": true,
  "openWorldHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

Too few checks for a percentage yet (1 of 1 answered).

  1. 2026-11-07: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
494 ms
95th percentile latency
494 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 494 ms · metadata changed · 4 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http uk-law-mcp https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add uk-law-mcp --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable uk-law-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "uk-law-mcp": {
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "uk-law-mcp": {
      "type": "streamableHttp",
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start uk-law-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "uk-law-mcp": {
      "type": "http",
      "url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http uk-law-mcp https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "uk-law-mcp": {
      "serverUrl": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
    }
  }
}

Let your agent find its tools

Find servers like UK Law MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.