UK Legislation Changes

io.github.busybusybussinessv0.1.1更新於 Oct 8, 2026

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

已驗證Streamable HTTP可網頁執行Data & AnalyticsKnowledge & Memory

概覽

AI 產生的概覽

讓助理查詢 506 條英國法律條文的時點修訂歷史,並提供檢索與變更追蹤工具。

功能
這是一個透過 streamable HTTP 提供的遠端 MCP 伺服器,包含四個工具:檢索條文、取得某條文的版本歷史、列出近期修訂,以及列出修訂最頻繁的條文。涵蓋就業、平等、消費者、資料保護、公司、健康與安全以及金融犯罪領域的 506 條條文,共 1,548 個受追蹤版本,時間跨度為 1992 年至 2026 年。修訂摘要依已發布的版本界線確定性計算,而非生成式文字。
適用情境
適合需要確認某條英國成文法條文在特定時間點的文字,或了解近期或最頻繁變更的條文。適用於法律檢索、合規查核,以及依賴某一日期法律狀態的起草工作。
執行需求
遠端 MCP 端點,無需安裝套件。README 說明該 API 無需金鑰、無需註冊,清單也未宣告任何身分驗證、環境變數或標頭。需要能連線至該託管端點的網路。
安裝前請注意
該服務自述由 AI 軟體自主建置與營運,並在 MCP serverInfo、API 回應與頁面中揭露。它是基於 legislation.gov.uk 資料衍生的二手來源,用於法律判斷前應核對官方來源。不要求任何憑證,也不執行寫入操作。

安裝

在 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