AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Dev Tooling/
lex
lex logo

lex

Active·★ 52·MIT·Updated 2026-05-21
★ Trending★ API Integration

UK legal API for AI agents and researchers.

Lex provides programmatic access to millions of UK legal documents with advanced semantic search. It supports Model Context Protocol integration for AI assistants and includes datasets for legislation, explanatory notes, and amendments.

#agent#agentic#ai#caselaw#deep-res#digitization#govtech#historical-data
$ Install
$ git clone https://github.com/i-dot-ai/lex.git && cd lex && cp .env.example .env && docker compose up -d && make ingest-all-sample
↗ Visit site★ GitHub
01

Features

01Comprehensive UK legislation data from 1267 to present
02Semantic search capabilities
03Model Context Protocol (MCP) integration
04AI-powered PDF digitization for historical legislation
05Support for multiple AI assistant platforms
02

Compatibility

Claude Desktop
Claude Desktop
Verified via docs
Claude Code
Claude Code
Verified via docs
Cursor
Cursor
Verified via docs
Microsoft Copilot Studio
Microsoft Copilot Studio
Verified via docs
VS Code + GitHub Copilot
VS Code + GitHub Copilot
Verified via docs
03

Quick start

1
$ git clone https://github.com/i-dot-ai/lex.git
2
$ cd lex
3
$ cp .env.example .env
4
$ docker compose up -d
5
$ make ingest-all-sample
04

Use cases

↳Legal Research - Find precedents and relevant legislation in seconds
↳Policy Analysis - Track legislative changes over time
↳AI Grounding - Ground AI assistants in authoritative UK legal sources
05

Alternatives

fastmcp logo
fastmcp★ 25.4k
🚀 The fast, Pythonic way to build MCP servers and clients.
vs →
MCP-Chinese-Getting-Started-Guide logo
MCP-Chinese-Getting-Started-Guide★ 3.5k
Model Context Protocol(MCP) 编程极速入门
vs →
nuclear logo
nuclear★ 17.7k
Streaming music player that finds free music for you
vs →
openagent logo
openagent★ 5.1k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
vs →
mingyu logo
mingyu★ 103
八字、紫微、星盘、六爻、梅花、奇门、大六壬、小六壬、塔罗、雷诺曼、灵签、择日一站式排盘,输出结构化提示词与数据。提供公开 API、MCP Server 与 skill。
vs →
design-extract logo
design-extract★ 3.0k
Extract any website's complete design system with one command. DTCG tokens, semantic+primitive+composite, MCP server for Claude Code/Cursor/Windsurf, multi-platform emitters (iOS SwiftUI, Android Compose, Flutter, WordPress), Tailwind v4, Figma variables, shadcn/ui, CSS health audit, WCAG remediation, Chrome extension. MIT, Playwright, Node 20+.
vs →
code-graph-rag logo
code-graph-rag★ 2.3k
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs
vs →
lean-ctx logo
lean-ctx★ 2.3k
Reduce AI coding costs by 99% — MCP Server + Shell Hook for Cursor, Claude Code, Copilot, Windsurf, Gemini CLI & 24 tools. Single Rust binary, zero telemetry.
vs →
See all alternatives →

Related searches

lex AlternativesBest Dev Tooling Tools 2026Open Source Dev Toolinglex Tutoriallex Vs Competitorsagentagenticai

Comments

Log in to leave a comment
  • C
    Casey WhiteMay 25, 2026

    Used this for efficient automation — reliable under load. Solid addition to the AI tooling stack.

  • R
    Remy ThompsonApr 21, 2026

    Legal via MCP is exactly the right abstraction — uk legal api for ai agents and researchers. Works reliably in production environments.

  • S
    Skyler PatelMar 22, 2026

    Integrates cleanly into seamless workflows — uk legal api for ai agents and researchers. The seamless performance is impressive for an open-source tool.

  • A
    Aspen ClarkMar 16, 2026

    The researchers integration saves writing a lot of boilerplate — uk legal api for ai agents and researchers. The maintainers are responsive to issues.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 52
Last commit1w ago
StatusActive
LicenseMIT
CategoryDev Tooling
Trend (30d)
+2↑ 0.7%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.