EurLex MCP Server¶
The EurLex MCP Server provides access to European Union legal documents through a simple API. Use it to search EU regulations, directives, case law, and other legal texts.
What You Can Do¶
Search EU Legal Documents¶
- Find regulations by topic or keyword
- Discover case law related to specific legal issues
- Retrieve directives and other EU legal instruments
- Access comprehensive legal database
Key Features¶
- Simple API: Easy-to-use interface for legal research
- Powerful Search: Find documents by concept or keyword
- Document Retrieval: Get complete legal texts by ID
- Fast Performance: Quick responses for efficient research
Who Should Use This¶
Legal Professionals - Lawyers researching EU case law - Compliance officers tracking regulations - Legal researchers analyzing EU legislation
Business Users - Companies ensuring compliance with EU laws - Consultants advising on EU regulations - Startups navigating legal requirements
Researchers & Students - Academics studying EU legal frameworks - Students learning about EU law - Policy analysts tracking legislative changes
How It Works¶
graph LR
A[You] -->|Search Query| B[EurLex MCP Server]
B -->|Search| C[EU Legal Database]
C -->|Results| B
B -->|Legal Documents| A
Quick Example¶
Find GDPR-related documents:
Response:
{
"result": {
"data": [
{
"title": "REGULATION (EU) 2016/679",
"file_id": "32016R0679",
"content": "General Data Protection Regulation...",
"score": 0.95
}
]
}
}
Available Tools¶
1. search_eurlex - Hybrid Search¶
Search using both keywords and concepts for best results.
Parameters:
- query: Your search term
- limit: Number of results (default: 10)
- mode: Search mode (hybrid, fts, vector)
2. search_eurlex_fts - Keyword Search¶
Find documents using exact keyword matching.
Parameters:
- query: Your search term
- limit: Number of results (default: 10)
3. search_eurlex_semantic - Concept Search¶
Find documents by meaning and context.
Parameters:
- query: Your search term
- limit: Number of results (default: 10)
4. get_eurlex_document - Document Retrieval¶
Get complete document by its ID.
Parameters:
- file_id: Document identifier
5. get_eurlex_stats - Database Info¶
Get statistics about the legal database.
Parameters: None
Next Steps¶
- Quick Start: Learn how to connect and make your first query
- Search Guide: Master search techniques and best practices
- Examples: See practical usage scenarios