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.
https://uk-law-mcp.uk-law-mcp.workers.dev/mcpWhat its tools do
4 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (4)
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
- 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
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
4 advertised
search_laws — Search UK laws
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.
{
"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"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_law — Read a UK law
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).
{
"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"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}list_topics — List topics
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"description": "e.g. housing, tax, employment"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}get_topic — Read a topic page
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.
{
"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"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true
}Prompts
Not advertised
Resources
Not advertised
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.
- 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.
Claude Code
claude mcp add --transport http uk-law-mcp https://uk-law-mcp.uk-law-mcp.workers.dev/mcpCodex
codex mcp add uk-law-mcp --url https://uk-law-mcp.uk-law-mcp.workers.dev/mcpCursor
{
"mcpServers": {
"uk-law-mcp": {
"url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
}
}
}Cline
{
"mcpServers": {
"uk-law-mcp": {
"type": "streamableHttp",
"url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"uk-law-mcp": {
"type": "http",
"url": "https://uk-law-mcp.uk-law-mcp.workers.dev/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http uk-law-mcp https://uk-law-mcp.uk-law-mcp.workers.dev/mcpClaude Desktop
https://uk-law-mcp.uk-law-mcp.workers.dev/mcpWindsurf
{
"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.