UK Law is an MCP server published by io.github.flaviohtavares, hosted at uk-law-mcp.uk-law-mcp.workers.dev. When last checked on 2026-11-24 it was working: it answers and lists its tools. It declares 4 tools, including search_laws, get_law, list_topics, get_topic.
Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.
Nothing else in the archive shares these values.
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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Default 20 |
| query * | string | Words from the title, e.g. "employment rights act", or an id such as "ukpga/2018/12" |
| topic | string | Only laws under a topic whose name contains this text, e.g. Housing |
| types | array | 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 | string |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Only laws that extend to E, W, S or N.I. |
| in_force | boolean | Leave out repealed laws |
{
"name": "search_laws",
"title": "Search UK laws",
"description": "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.",
"inputSchema": {
"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"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}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).
| Parameter | Type | Description |
|---|---|---|
| id * | string | Law id from search_laws, e.g. ukpga/1996/18 |
| part | string | One section, regulation, article, schedule or part of a long law, e.g. "section 86" |
| max_chars | integer | Default 60000 |
{
"name": "get_law",
"title": "Read a UK law",
"description": "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).",
"inputSchema": {
"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"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| query | string | e.g. housing, tax, employment |
{
"name": "list_topics",
"title": "List topics",
"description": "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.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string",
"description": "e.g. housing, tax, employment"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Topic name from list_topics, e.g. Landlord and Tenant |
| year | string | For big topics: the year of regulations to list |
| max_chars | integer | Default 60000 |
{
"name": "get_topic",
"title": "Read a topic page",
"description": "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.",
"inputSchema": {
"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"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true
}
}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.
Names, descriptions and schemas were written by the server and are shown as data.