GovData Docs

MCP Legislation Tools

Tools for UK legislation — search Acts of Parliament and Statutory Instruments, or look up specific legislation by identifier.

Each tool call costs 10 credits. All tools are read-only and idempotent.

Tool Description Parameters
search_legislation Search UK legislation (Acts of Parliament, Statutory Instruments, etc.) by title keyword, legislation type, and/or year. q string
type string
year integer
lookup_legislation Look up a specific piece of UK legislation by its type, year, and number (e.g. ukpga/2006/46 for the Companies Act 2006). type string, required
year integer, required
number integer, required

Legislation Type Codes

Code Name
ukpgaUK Public General Act
uklaUK Local Act — accepted but not yet loaded; returns no results
uksiUK Statutory Instrument
wsiWales Statutory Instrument — accepted but not yet loaded; returns no results
ssiScottish Statutory Instrument — accepted but not yet loaded; returns no results
nisiNorthern Ireland Order in Council — accepted but not yet loaded; returns no results
nisrNorthern Ireland Statutory Rule — accepted but not yet loaded; returns no results
aspAct of the Scottish Parliament — accepted but not yet loaded; returns no results
ascAct of Senedd Cymru — accepted but not yet loaded; returns no results
ukdsiUK Draft Statutory Instrument — accepted but not yet loaded; returns no results

Related Resources

URI Description
govdata://legislation/types All legislation type codes and their descriptions

Related Prompts

legislation-research — research legislation by topic and summarise relevant Acts and instruments.

Data Coverage

Source legislation.gov.uk (The National Archives)
Date range Partial and expanding
Records ~2,800 UK Public General Acts and Statutory Instruments (coverage expanding)
Updated Sync scheduled every Sunday at 10am; observed imports are sporadic batches
Limitations Backfill is partial and expanding: only ukpga and uksi currently contain data, with roughly 70 SIs per year loaded versus thousands published.