- Home
- Skills
- Legal & Compliance
- UK Law: search and quote UK legislation
Works with the AI Agents you already use
UK Law: search and quote UK legislation
Look up any UK Act or regulation and answer with the exact section, how current the text is, and the official legislation.gov.uk link.
Free
UK Law: search and quote UK legislation
Example session with this skill installed
What does the Employment Rights Act say about minimum notice periods? Is the text up to date?
- Read your context and instructions
- Compiled the uk law
The minimum notice periods are in section 86 of the Employment Rights Act 1996 (ukpga/1996/18).
How current this is: the text is the revised version as at 30 October 2026, but legislation.gov.uk lists 150 changes not yet applied to this Act, so check the official page before relying on it. Section 86 extends to England, Wales and Scotland.
What section 86 says
(1) The notice required to be given by an employer to terminate the contract of employment of a person who has been continuously employed for one month or more—
- (a) is not less than one week’s notice if his period of continuous employment is less than two years,
- (b) is not less than one week’s notice for each year of continuous employment if his period of continuous employment is two years or more but less than twelve years, and
- (c) is not less than twelve weeks’ notice if his period of continuous employment is twelve years or more.
(2) The notice required to be given by an employee who has been continuously employed for one month or more to terminate his contract of employment is not less than one week.
In short
| Continuous employment | Minimum notice from the employer |
|---|---|
| 1 month to under 2 years | 1 week |
| 2 to under 12 years | 1 week per complete year |
| 12 years or more | 12 weeks |
An employee with one month or more must give at least one week. A contract can give more notice, not less (subsection 3), and either side can waive notice or accept pay in lieu.
Official text: https://www.legislation.gov.uk/ukpga/1996/18/section/86
This is not legal advice: check the official text, or ask a lawyer, before relying on it.
Connects securely to your tools. The creator never sees your data.
About this skill
Your agent stops answering UK law questions from memory and starts quoting the actual text.
UK Law searches all UK legislation — about 130,000 Acts and regulations of the UK Parliament, Scotland, Wales and Northern Ireland, the historic parliaments and EU-origin law — converted from legislation.gov.uk and updated every day. It finds the right law, opens only the section you need, and answers with:
- the law and section, with the key words quoted;
- how current the text is (revised, revised with changes not yet applied, or as originally enacted);
- where it applies (England, Wales, Scotland, Northern Ireland);
- the official legislation.gov.uk link;
- a reminder that this is not legal advice.
Example questions
- "What does section 86 of the Employment Rights Act 1996 say about notice periods?"
- "Is there a law in Scotland on short-term lets?"
- "Which regulations on food hygiene are in force?"
Works in Claude Code, Codex and any agent that reads SKILL.md. Needs Python 3 (standard library only) and an internet connection; nothing to install, no API key, no account.
What it does on your machine
The skill runs one Python script (scripts/uk_law.py, standard library only). It makes HTTPS GET requests to raw.githubusercontent.com to read the public repository github.com/flaviohtavares/uk-law, and caches the index of laws (about 40 MB) for a day in ~/.cache/uk-law. It sends no data anywhere else, needs no credentials and writes nothing outside that cache folder (and the folder you choose if you use its optional clone command).
Not legal advice
The texts are an unofficial copy of legislation.gov.uk and can be out of date or contain conversion errors. Always check the official text, or ask a lawyer, before relying on it. Texts © Crown and database right, Open Government Licence v3.0. Not affiliated with The National Archives or the UK Government.
Open source
Source: https://github.com/flaviohtavares/uk-law-tools. There is also a free MCP server for Claude.ai and ChatGPT: https://uk-law-mcp.uk-law-mcp.workers.dev
Built by Tavlabs Ltd, London — https://www.tavlabs.uk/uk-law
Unofficial copy: texts can be out of date or contain conversion errors (a few hundred words across 138 laws are known to be lost and are listed in the repository's COVERAGE.md). Laws marked 'as enacted' do not include later amendments, and some revised laws have changes not yet applied; the skill tells you when. Current text only, no historical versions. Needs Python 3 and internet access; the first search downloads a 40 MB index. Not legal advice.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts
Network: HTTPS GET to raw.githubusercontent.com only, to read the public uk-law repository (github.com only for the optional clone command). legislation.gov.uk is linked in answers but never contacted. Files: writes only a cache in ~/.cache/uk-law. Environment variables read (optional): UK_LAW_DIR, UK_LAW_CACHE.