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 by title keyword, legislation type, and/or year. Returns matching items with identifiers, titles, and legislation.gov.uk URLs. |
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). Returns full details and legislation.gov.uk URL. |
type string, required year integer, required number integer, required |
Legislation Type Codes
| Code | Name |
|---|---|
ukpga | UK Public General Act |
ukla | UK Local Act |
uksi | UK Statutory Instrument |
wsi | Wales Statutory Instrument |
ssi | Scottish Statutory Instrument |
nisi | Northern Ireland Order in Council |
nisr | Northern Ireland Statutory Rule |
asp | Act of the Scottish Parliament |
asc | Act of Senedd Cymru |
ukdsi | UK Draft Statutory Instrument |
Related Resources
| URI | Description |
|---|---|
govdata://legislation/types |
All legislation type codes and their descriptions |
Data Coverage
| Source | legislation.gov.uk (The National Archives) |
| Date range | 2000 – present (after backfill) |
| Records | ~50K Acts and Statutory Instruments |
| Updated | Weekly (Sunday) |
| Limitations | UK Public General Acts and Statutory Instruments only. Does not include Welsh, Scottish, or NI-specific legislation. |