Model Context Protocol
Legislation from Spain and Chile, direct access from your AI
Search any law by article across multiple jurisdictions, get deep links to official sources (BOE, Ley Chile), and track regulatory changes — all from your AI assistant.

See it in action
A full live demo — building and querying the legal agent from scratch.
Live demo from our streams series. Watch the full stream →
Spanish legislation
10,951 laws
Full coverage of Spanish legislation: BOE (national), autonomous community official journals (DOE, BOJA, DOGC, etc.), and consolidated texts.
Chilean legislation
17,780 laws
Chilean legislation from Ley Chile (Biblioteca del Congreso Nacional): laws, decrees, and consolidated texts.
Italian legislation
65,928 laws
Italian legislation: Gazzetta Ufficiale, legislative decrees, and consolidated texts.
Before and after Legal Docs MCP
Without
Manual searches across gazettes — hours lost navigating BOE and Ley Chile
Regulatory changes slip through, affecting operations
No version tracking, no audit trail for compliance
With
Instant article retrieval with citations and context
Automated change detection with side-by-side diffs
Every answer linked to its official source (BOE, Ley Chile)
How it works
Three steps to start querying legislation from your AI assistant.
Your AI Client
Claude · Cursor · VS Code
LEX MCP
Search · Diffs · Links
BOE · Ley Chile
Official legislation sources
Connect
Add the MCP server URL to Claude, Cursor, or any compatible client. One line of config.
Ask
Query in natural language. "What does the Workers' Statute say about dismissal?"
Verify
Get the exact articles with deep links to the official source. Check in one click.
What you can ask
Real questions from compliance teams, legal departments, and regulatory advisors.
What are the grid access requirements for renewable installations over 100 kW?
According to RD 1183/2020, Art. 5-7, installations >100 kW require access and connection permits from the system operator. The applicant must submit a technical feasibility study, a grid impact assessment, and post a financial guarantee per Art. 23.
Which provisions regulate the economic regime for wind farms?
The specific remuneration regime is established in RD 413/2014, Art. 14-20, supplemented by Order IET/1045/2014 which defines standard installation types and parameters. Wind farms receive a remuneration based on standard revenue per Art. 14.4.
What does the Electricity Sector Act say about technical restrictions?
Ley 24/2013, Art. 8 establishes that the system operator must resolve technical restrictions to guarantee supply security. The procedure is detailed in RD 2019/1997, Art. 23-25 and CNMC Circular 3/2019.
How are electricity transmission tolls calculated?
Transmission tolls are calculated per CNMC Circular 3/2020, using a methodology based on cost allocation by voltage level and time period. Art. 7-9 define the six time periods and their corresponding price terms.
What changed in the latest Royal Decree on self-consumption?
RD 244/2019 introduced collective self-consumption and simplified surplus compensation. Art. 4 defines modalities (with/without surplus), and Art. 9-11 establish the simplified compensation mechanism for installations ≤100 kW.
Legislative coverage
Laws from Spain and Chile indexed at article level, linked to official sources.
documents
laws
API
LEY DE MERCADO DE VALORES
ESTABLECE NUEVO SISTEMA DE PENSIONES
FIJA TEXTO REFUNDIDO, CONCORDADO Y SISTEMATIZADO DE LA LEY GENERAL DE COOPERATIVAS
COMPAÑIAS DE SEGUROS, SOCIEDADES ANONIMAS Y BOLSAS DE COMERCIO
ESTABLECE UN SEGURO DE DESEMPLEO
Built for regulatory teams
Every feature designed to save time and reduce compliance risk.
Semantic search
Natural language queries across all provisions. No need to know the exact article number.
Version tracking
Know when articles change. Compare old and new text side by side.
Deep linking
Article-level references that take you straight to the official source.
Source verification
Every result links to the official source. Verify in one click, no hallucinations.
Cross-law search
Cross-reference across multiple laws and regulations in a single query.
Always current
Daily synchronization with official sources. Your team always works with the latest version.
Security and data handling
HTTPS encrypted
All communications encrypted in transit
Stateless queries
We don't store your queries or results
Official sourcing
All data sourced from official gazettes (BOE, Ley Chile)
EU data residency
Infrastructure hosted in the European Union
Legal Docs MCP
Everything your team needs to work with legislation from Spain and Chile.
- Full legislative coverage across multiple sectors
- Article-level semantic search
- Version diffs and change tracking
- Official source verification (BOE, Ley Chile)
- Works with Claude, Cursor, VS Code, and any MCP client
- Priority support
Free to use — no account required
Frequently asked questions
What legislation is covered?
We index legislation from Spain (BOE) and Chile (Ley Chile) across sectors — energy, labor, tax, corporate, civil, and more. Laws, Royal Decrees, DFLs, Códigos, and related provisions. All indexed at article level with deep links to official sources.
How current is the data?
We synchronize daily with official sources (BOE, BCN). When a law is amended, the new version is indexed within 24 hours and version diffs are generated automatically.
How does MCP access work?
MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external data sources. You add our server URL to your AI client's configuration, and the assistant can query our legislation database directly.
Can I use this with tools other than Claude?
Yes. Any MCP-compatible client works: Claude Desktop, Claude.ai, Cursor, VS Code with Copilot, Windsurf, and others. We provide installation instructions for all major clients.
What happens when a law is amended?
The updated text is indexed automatically and a version diff is created. You can compare old and new versions article by article, see what changed, and verify against the official source.
Can I request coverage for a specific law or sector?
Absolutely. If the legislation you need isn't indexed yet, contact us and we'll add it. New laws are typically available within 48 hours.
Is there a trial?
Yes. Contact us and we'll set up a trial so your team can evaluate the service with real queries before committing.
How do I get started?
Click "Request access" to contact our team. We'll walk you through the setup — it takes less than 5 minutes to connect.
Stop searching the BOE manually
Give your regulatory team direct access to the legislation they need.