Skip to content

UK Law MCP server

io.github.flaviohtavares/uk-lawflaviohtavaresstreamable-httpv1.0.1Scanned

Search and read all UK legislation (130k Acts and regulations), updated daily, with official links.

4 tools: 4 only read.

Tools: 0 delete, 0 irreversible, 0 write, 4 read.
  • Reads private data · 0
  • Reads text others write · 4
  • Can send data out · 0
  • No findings

Tools listed without sign-in. Remote posture

With Anlyon

Decide which of this server's tools your agent can use.

  • Anlyon lists the tools and adopts none.
  • Each tool you adopt gets approvals and receipts.
  • Your agent never holds the key.
Govern this server →

A tool your agent calls directly is not routed through Anlyon and is not governed by it. Anlyon Radar only lists and labels, and these labels are the same either way.

What the UK Law MCP server can do

The UK Law MCP server is published by the GitHub account flaviohtavares. It has 4 tools. Every one of them only reads: going by their definitions, none of them creates, changes, sends or deletes anything.

4 tools bring in text other people can write (search_laws, get_law, list_topics and 1 more).

None of the fixed checks matched anything in its tool definitions. That is not a safety guarantee.

Its remote endpoint lists its tools without sign-in.

Last scanned Nov 21, 2026, version 1.0.1.

Tools

Grouped by what each tool does, most consequential first. Open one for its reasons and full description; descriptions are the publisher's own words.

4 tools

Only reads 4Show 4 read-only tools
  • get_lawRead a law by id.Reads text others writeNo findings

    Why it is in this group

    • The name "get_law" says "get": a word for reading.

    What it can reach

    • untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
    Description, as the server wrote it
    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).

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • get_topicThe Acts and regulations in force on one topic, with how many regulations each Act has on it.Reads text others writeNo findings

    Why it is in this group

    • The name "get_topic" says "get": a word for reading.

    What it can reach

    • untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • list_topicsTopics (the official subject headings of legislation.gov.uk) with the number of Acts and regulations in force.Reads text others writeNo findings

    Why it is in this group

    • The name "list_topics" says "list": a word for reading.

    What it can reach

    • untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true
  • search_lawsFind UK Acts and regulations by words of their title, or by id (e.g.Reads text others writeNo findings

    Why it is in this group

    • The name "search_laws" says "search": a word for reading.

    What it can reach

    • untrusted-inputThe server marks it openWorldHint: true: it reaches things outside the server's own data.
    Description, as the server wrote it
    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.

    Annotations the server declares

    • readOnlyHint: true
    • openWorldHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Exfil surface

Which tools read private data, which read text someone else can write, and which can send data out. One of each is a path a prompt injection can use.

No private-data, untrusted-input, outbound path in this server alone: no tool is tagged private-data or outbound.

Reads private data0
Reads files, mail, messages, databases, secrets, calendars or repositories.
Reads text others write4
Brings in text someone else can write: web pages, inbound email, messages, issues and comments.
Can send data out0
Can carry data to people or systems: it sends, posts or publishes, or takes a recipient, channel or URL.

Other servers in the same agent add their own tools to these paths. Audit your whole setup to see them together.

Remote posture

What anyone on the internet sees at the remote endpoint: an anonymous initialize and tools/list, and the public OAuth metadata.

Tools listed without sign-in

Looked at Nov 21, 2026, 19:22 UTC, unchanged since Nov 7, 2026. No credentials were sent and no tool was called. What is looked at.

Reachable
yes
HTTP status of an anonymous initialize
200
tools/list served without credentials
yes
Tools that change things, listed without credentials
0
Protocol version
2025-06-18
WWW-Authenticate on 401
not observed
resource_metadata in WWW-Authenticate
not observed
RFC 9728 protected resource metadata
not observed
Authorization servers
not observed
Legacy HTTP+SSE transport
no
Dynamic client registration
not observed
Client ID metadata documents
not observed

Findings

Matches of fixed checks, with the text they matched.

No check matched anything in these tool definitions. That is not a safety guarantee.

History

Changes to its tool definitions and to its remote endpoint, newest first.

No change seen yet. Its tools are rescanned every day, and a remote endpoint is looked at once a week.

Install

Pinned to version 1.0.1. Values in angle brackets are yours to fill in.

claude mcp add --transport http uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp
claude mcp add --transport http uk-law https://uk-law-mcp.uk-law-mcp.workers.dev/mcp

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change or a way out, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__uk-law__search_laws",
      "mcp__uk-law__get_law",
      "mcp__uk-law__list_topics",
      "mcp__uk-law__get_topic"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. A read that can send data out (it takes a URL, say) asks first too. It assumes the server is installed as uk-law. Review it before you use it.

Capability tags behind 4 rules
  • mcp__uk-law__search_laws untrusted-input
  • mcp__uk-law__get_law untrusted-input
  • mcp__uk-law__list_topics untrusted-input
  • mcp__uk-law__get_topic untrusted-input

Pin

Keep the decision: fail CI when the tools change, follow every change, or show a badge.

Pin in CI

Fail a build when the tools you reviewed are not the tools the server serves today.

curl -s "https://radar.anlyon.com/api/v1/servers/io.github.flaviohtavares/uk-law/verify?hash=f21e31d34608e4f360fa079e86a957c72cf519c7ff9b1e0dff354115a2d2f1f3" | jq -e '.changed == false'

Pinned hash f21e31d34608, from Nov 21, 2026, 01:18 UTC.

Watch

Get told when its tools change: a new tool, a new description, a new class.

https://radar.anlyon.com/servers/io.github.flaviohtavares/uk-law/changes.xml

An Atom feed. Works in any feed reader or Slack's RSS app.

Badge

Anlyon Radar badge for io.github.flaviohtavares/uk-law
[![Anlyon Radar](https://radar.anlyon.com/badge/io.github.flaviohtavares/uk-law.svg)](https://radar.anlyon.com/servers/io.github.flaviohtavares/uk-law)

Source: MCP Registry · repository. Synced Nov 6, 2026, 22:17 UTC.

UK Law MCP server: questions and answers

Answered from the scan above, not from the publisher's description.

Is the UK Law MCP server safe?

No scan can promise that. What its definitions show: 4 tools, all of which only read, and 0 findings from fixed checks. Read-only tools can still pass private data to a model.

Can the UK Law MCP server delete data?

No tool is classed as destructive: going by their definitions, none of them deletes, cancels or revokes anything.

Can the UK Law MCP server do things that cannot be undone?

No tool is classed as irreversible: none of them sends, pays, publishes or merges, going by their definitions.

What tools does the UK Law MCP server have?

4 tools: 4 read. search_laws, get_law, list_topics and get_topic.

Does the UK Law MCP server need sign-in or OAuth?

Its remote endpoint listed its tools to an anonymous client, without sign-in.

Does the UK Law MCP server send data to outside services?

None of its tools sends, posts or publishes, or takes a recipient, channel or URL.

Has the UK Law MCP server changed its tools?

Not since Anlyon Radar started tracking it. Last scanned Nov 21, 2026.