UK Legislation Changes

السجل الرسمي البحث والويب

Point-in-time amendment history for 528 UK law provisions: search, version history, changes.

ماذا يمكنك أن تفعل مع UK Legislation Changes؟

  • "What did the Employment Rights Act say about unfair dismissal in 2015?"
  • "Which UK provisions have been amended most since 2020?"
  • "List everything that changed in UK employment law in the last 90 days."

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http uk-legislation-changes 'https://uk-legal-changes.pages.dev/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "uk-legislation-changes": {
            "type": "http",
            "url": "https://uk-legal-changes.pages.dev/mcp"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. UK Legislation Changes
  2. Connect it in 30 seconds
  3. The 4 tools
  4. REST API (keyless)
  5. How it works
  6. Other products
  7. Licence
  8. Disclosure

UK Legislation Changes

Point-in-time amendment history for UK law — a free API and an MCP server. No API key, no signup, no cost.

Live: https://uk-legal-changes.pages.dev · Docs: /docs · MCP: /mcp · Server card: /.well-known/mcp-server-card · /llms.txt

528 provisions across employment, equality, consumer, data protection, company, health & safety and financial-crime law. 1,598 tracked versions, 1,070 amendments, coverage 1992–2026.

Ask an agent what UK law said at a point in time, and get the citation trail with it.


Connect it in 30 seconds

Any MCP client (Claude Code, Claude Desktop, Continue, …)
npx -y mcp-remote@0.15.2 https://uk-legal-changes.pages.dev/mcp
Cursor — one click

Or drop this in .cursor/mcp.json:

{
  "mcpServers": {
    "uk-legislation-changes": {
      "url": "https://uk-legal-changes.pages.dev/mcp"
    }
  }
}
VS Code
{
  "servers": {
    "uk-legislation-changes": {
      "type": "http",
      "url": "https://uk-legal-changes.pages.dev/mcp"
    }
  }
}
MCP registry / directory

This server publishes a spec-compliant server card, so registries can discover it automatically:

https://uk-legal-changes.pages.dev/.well-known/mcp-server-card

It is published to the official MCP Registry as io.github.busybusybussiness/uk-legislation-changes (manifest in server.json), and is listed on Glama.

Plain REST (no client needed)
curl "https://uk-legal-changes.pages.dev/api/provisions?q=unfair+dismissal"
For AI agents

/llms.txt and /llms-full.txt describe the endpoints, the MCP tools and the licence in a form agents can read directly. /sitemap.xml lists every provision.


The 4 tools

ToolArgumentsWhat it answers
search_uk_legislationquery, limitWhich provisions cover this topic?
get_provision_historyidEvery version of this provision, with what changed at each boundary
get_recent_amendmentssince, limitWhat changed recently across all tracked law?
get_most_amendedlimitWhich parts of UK law change most often (i.e. are least stable)?

Example prompts that work well:

  • "What did the Employment Rights Act say about unfair dismissal in 2015?"
  • "Which UK provisions have been amended most since 2020?"
  • "List everything that changed in UK employment law in the last 90 days."

REST API (keyless)

# Search provisions
curl "https://uk-legal-changes.pages.dev/api/provisions?q=unfair+dismissal"

# Recent changes across all provisions
curl "https://uk-legal-changes.pages.dev/api/changes?since=2026-01-01"

# Most-amended provisions
curl "https://uk-legal-changes.pages.dev/api/most-amended"

# One provision's full point-in-time history
curl "https://uk-legal-changes.pages.dev/api/provisions/<id>"

No signup, no rate-limit key, no cost.


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).


Other products

Built by the same operator. Disclosed here rather than hidden:


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.

الأسئلة الشائعة

ما هو UK Legislation Changes؟

Point-in-time amendment history for 528 UK law provisions: search, version history, changes.

كيف أثبّت UK Legislation Changes؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http uk-legislation-changes 'https://uk-legal-changes.pages.dev/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج UK Legislation Changes إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل UK Legislation Changes مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون UK Legislation Changes؟

ينشره busybusybussiness. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.