lex-uk-law

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.

⭐18stars🔀9forks📁View on GitHub🕐Updated Dec 7, 2025⬇️2downloads

When & Why to Use This Skill

The Lex UK Law skill empowers Claude to perform comprehensive UK legal research by integrating with the Lex API. It enables semantic searching across UK Acts and Statutory Instruments dating back to 1267, allowing users to retrieve specific legal provisions, track legislative amendments, and ground AI responses in authoritative data sourced from The National Archives.

Use Cases

  • Statutory Research: Perform semantic searches to find specific sections of UK legislation, such as the Equality Act or specific Statutory Instruments, for legal analysis.
  • Legal Grounding: Use authoritative UK legal sources to verify AI-generated content, ensuring high accuracy and reliability in legal-related tasks.
  • Amendment Tracking: Analyze how specific pieces of legislation have been amended over time to understand the current legal landscape and historical changes.
  • Regulatory Compliance: Assist businesses and legal professionals in identifying relevant UK legal provisions to ensure compliance with national regulations.
  • Academic Legal Study: Support law students and researchers in finding historical and modern legal precedents and statutory frameworks.
namelex-uk-law
descriptionUK legal research using the Lex API. Search UK legislation and legal provisions. Use when researching UK law, analysing statutory instruments, or grounding responses in authoritative legal sources.

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

  • 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

Search Best Practices

  1. Be specific with queries - "employment tribunal unfair dismissal" works better than "employment law"
  2. Use filters - Filter by year or legislation type when possible
  3. Check amendments - Legislation may have been amended since enactment

Data Coverage

  • Legislation: 1267-present (complete from 1963)
  • Sources: The National Archives

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