Lex Uk Law
Researchlex-uk-lawLex Uk Law is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
UK legal research using the Lex API. Search UK legislation, case law, and legal provisions. Use when researching UK law, finding legal precedents, analysing statutory instruments, or grounding responses in authoritative legal sources.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/development/lex-uk-law-i-dot-ai-lex/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/lex-uk-law, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
UK Legal Research with Lex API
This skill requires the Lex MCP server to be installed and enabled. The skill provides guidance on using the Lex tools effectively for UK legal research.
Prerequisites: Lex MCP Server
Check if Lex tools are available (e.g. search_legislation, search_caselaw). If not installed, refer the user to https://github.com/i-dot-ai/lex for setup instructions.
When to Use This Skill
- Researching UK legislation (Acts, Statutory Instruments)
- Finding court judgments and legal precedents
- Searching for specific legal provisions or sections
- Analysing how legislation has been amended over time
- Grounding AI responses in authoritative UK legal sources
Available Tools
The Lex MCP server provides these tools:
Legislation Search
- search_legislation - Semantic search across UK Acts and Statutory Instruments
- search_legislation_sections - Search within specific provisions and sections
- get_legislation_amendments - Find amendments to legislation
Case Law Search
- search_caselaw - Semantic search across court judgments
- search_caselaw_paragraphs - Search within case paragraphs
- find_caselaw_references - Find cases referencing specific legislation
Search Best Practices
- Be specific with queries - "employment tribunal unfair dismissal" works better than "employment law"
- Use filters - Filter by year, court, or legislation type when possible
- Combine searches - Search legislation first, then find related case law
- Check amendments - Legislation may have been amended since enactment
Data Coverage
- Legislation: 1267-present (complete from 1963)
- Case Law: 2001-present
- Sources: The National Archives, Find Case Law
Important Notes
- This is an experimental service for research purposes
- PDF-sourced legislation (pre-1963) uses LLM extraction - verify at source for critical accuracy
- Rate limited to 60 requests/minute