eurlex

Retrieve full EU legal documents via CELEX-based fallback endpoints.

2|Updated May 8, 2026
One-click install
npx skills add https://github.com/StianOby/claude-legal-tools --skill eurlex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eurlex
Source: https://github.com/StianOby/claude-legal-tools/tree/main/skills/eurlex
Command: npx skills add https://github.com/StianOby/claude-legal-tools --skill eurlex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pypdf, and includes scripts (resource) components.

What problem does it solve?

The eurlex MCP frequently fails to retrieve older CJEU judgments, truncates long judgments at its 50,000-character limit, or returns empty content for documents still being generated. This skill fills those gaps by using direct content negotiation with EUR-Lex and fallback endpoints to retrieve the full, untruncated text of EU legal documents.

Core Features & Use Cases

  • MCP Fallback Fetching: Retrieves documents the eurlex MCP marks as "not found", truncates, or returns empty for, including older CJEU judgments like Björnekulla and Van Gend.
  • Multi-Format Retrieval: Tries HTML, XHTML, and PDF (with text extraction) to maximize the chance of retrieving a document, with automatic retries for documents still being generated.
  • Curia Fallback: Fetches judgments from the EU Court of Justice's InfoCuria portal when all EUR-Lex endpoints fail, converting between CELEX and case numbers automatically.
  • Paragraph Extraction: Slices long judgments into specific paragraph ranges for targeted research, with heuristics to avoid false positive matches for article numbers or footnotes.
  • Local Caching: Stores fetched documents locally to avoid repeat network requests for the same CELEX identifier.
  • Use Case: A legal researcher needs paragraphs 73 to 91 of the Bauer C-569/16 judgment, which the MCP truncated at paragraph 72. This skill fetches the full untruncated text and extracts the exact requested range.

Quick Start

Use the eurlex skill to fetch the full text of CELEX 62016CJ0569 and extract paragraphs 73 to 91 when the eurlex MCP returns a truncated result.

Frequently Asked Questions about eurlex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does the eurlex MCP return truncated or empty content for EU legal documents?

To retrieve full untruncated EU legal documents, this skill uses content-negotiated fallback endpoints with CELEX identifiers. It tries HTML, XHTML, and PDF formats, and falls back to the InfoCuria portal when all EUR-Lex endpoints fail.

Can I extract specific paragraph ranges from long CJEU judgments?

Yes, you can extract specific paragraph ranges from long CJEU judgments. The skill slices long judgments into targeted ranges using heuristics to avoid false positive matches for article numbers or footnotes during legal research.

How do I retrieve older CJEU judgments marked as not found by the eurlex MCP?

To retrieve older CJEU judgments marked as not found, the skill fetches directly from the EU Court of Justice InfoCuria portal. It automatically converts between CELEX identifiers and case numbers to locate the documents.

Does this legal document retrieval method support fetching PDF judgments from EUR-Lex?

Yes, legal document retrieval supports fetching PDF judgments from EUR-Lex. The skill attempts HTML and XHTML first, then falls back to PDF with automatic text extraction to maximize the chance of retrieving the full document content.

What are the limitations of using CELEX-based fallback fetching for EU law retrieval?

A limitation of CELEX-based fallback fetching is that it requires knowing the specific CELEX identifier or case number. It also relies on the availability of documents on EUR-Lex or InfoCuria, and may need automatic retries for documents still being generated.

Do I need local caching to avoid repeat network requests for the same EU legal document?

Local caching is needed to avoid repeat network requests for the same CELEX identifier. The skill stores fetched EU legal documents locally, reducing network latency when accessing the same judgment multiple times during legal research.