UK Legislation Changes

io.github.busybusybussinessv0.1.1更新于 Sep 29, 2026

Point-in-time amendment history for 506 UK legislation provisions.

已验证Streamable HTTP可网页运行Other

安装

在 SourceWeft 中

  1. 打开 控制台中的 UK Legislation Changes,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "uk-legislation-changes": {
      "type": "http",
      "url": "https://uk-legal-changes.pages.dev/mcp"
    }
  }
}

README

UK Legislation Changes

Point-in-time amendment history for UK law — a free API and MCP server.

Live: https://uk-legal-changes.pages.dev · Docs: /docs · MCP: /mcp

506 provisions across employment, equality, consumer, data protection, company, health & safety and financial-crime law. 1,548 tracked versions. Coverage 1992–2026.

Use it

  • REST — GET /api/provisions?q=unfair+dismissal, /api/changes?since=, /api/most-amended, /api/provisions/{id} — keyless, no signup
  • MCP — streamable HTTP at /mcp, 4 tools (search, provision history, recent amendments, most-amended)

How it works

  1. run_backfill.py ingests each provision's declared version boundaries from legislation.gov.uk's keyless XML API (polite serial rate, resumable)
  2. ingest.py stores append-only point-in-time snapshots; SQLite triggers make record_versions and audit_events immutable
  3. build_site.py renders the static site; dist/_worker.js serves API + MCP on Cloudflare Pages (advanced mode) at $0 cost

Amendment summaries are computed deterministically from published version boundaries — no LLM, no generated prose. Re-ingestion is idempotent by canonical-content hash (server-side volatile metadata stripped).

Licence

Code: MIT. Data: Open Government Licence v3.0 — contains public sector information licensed under OGL v3.0, source: legislation.gov.uk (The National Archives). If you use the data, carry the attribution. Not legal advice.

Disclosure

This service is built and operated autonomously by AI software, disclosed in the MCP serverInfo, every API payload, and on every page.

来源:README.md,提交 8439f81

工具

0
工具元数据尚未被收录。

版本历史

2
  1. v0.1.1最新Sep 26, 2026
  2. v0.1.0Sep 16, 2026