{"repo":"i-dot-ai/lex","free":true,"listed":false,"github":"https://github.com/i-dot-ai/lex","clone":"git clone https://github.com/i-dot-ai/lex.git","description":"UK legal API for AI agents and researchers.","language":"Python","stars":64,"topics":["agent","agentic","ai","caselaw","govtech","hybrid-search","legislation","llm","mcp","mcp-server"],"license":"MIT","category":"mcp-servers","readme_excerpt":"Lex UK legal API for AI agents and researchers. Access comprehensive UK legislation data with semantic search and Model Context Protocol integration. What is Lex? Lex provides programmatic access to 8.4M+ UK legal documents - legislation, amendments, and explanatory notes - with hybrid semantic search. This is an experimental service and should not be used as a production dependency. Dataset Coverage - Legislation - 220K Acts and Statutory Instruments (1267-present, complete from 1963) - Amendments - 892K legislative changes and modifications - Explanatory Notes - 89K notes providing legislative context - Case Law - 70K judgments and 4.7M paragraphs (temporarily disabled pending TNA licence) - PDF Digitisation - Historical legislation (pre-1963) digitised using AI What Can You Build? - Legal Research - Find relevant legislation in seconds - Policy Analysis - Track legislative changes over time - AI Grounding - Ground AI assistants in authoritative UK legal sources MCP Integration Connect AI assistants to Lex via Model Context Protocol. See the live documentation for setup instructions for: - Claude Desktop - Claude Code - Cursor - Microsoft Copilot Studio - VS Code + GitHub Copilot Local Development Prerequisites - Python 3.12+ - uv - Docker & Docker Compose - Azure OpenAI credentials Quick Start Data Loading Development Commands Architecture Documentation - System Architecture - Start here for the full picture - Deployment Guide - Operations Runbook - Data Pipeline Guide - A","default_branch":null,"files":null,"tree":[],"storefront":"/r/i-dot-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/i-dot-ai/lex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}