lucianschw-dev wires Mike into EU law

A standalone EU-law lookup module that pulls directly from EUR-Lex, the EU's official legal database.

searchintegration

The headline addition is a dedicated EU-law retrieval layer that talks to EUR-Lex - the European Union's canonical repository of legislation, case law, and treaties. The first cut shipped with six tools, including free-text search across legislation, case law, and treaties, plus targeted lookups by official identifier and a citation-verification helper.

Then came the honest revision. lucianschw-dev concluded the underlying structured-query endpoint was too unreliable in practice and stripped the three search tools out entirely, leaving a leaner module that fetches documents when you already know the official identifier and verifies citations offline. It's been smoke-tested against Schrems II. The trade-off is real: without search, callers need to arrive with an identifier in hand, so a free-text front door would have to come from elsewhere.

So what Anyone building EU-facing legal AI should watch this fork - it's a candid look at what actually works against EUR-Lex versus what only works in a demo.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

3 commits from lucianschw-dev/eumike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
47b76931 Add eu-law MCP server (v0.1) Lucian.schw 2026-05-16 ↗ GitHub
8fa02bb2 Fix v0.1 build and tests on Windows/Node 24 Lucian.schw 2026-05-16 ↗ GitHub
f513b61a v0.1.1: cut SPARQL search tools, use EUR-Lex REST only Lucian.schw 2026-05-16 ↗ GitHub
commit body
CELLAR SPARQL endpoint proved unreliable in practice. Search tools
(eu_search_legislation, eu_search_case_law, eu_search_treaties)
removed; document fetchers now use eur-lex.europa.eu/legal-content/
which is the canonical user-facing URL and works reliably.

Tools remaining (4):
  - eu_get_document_by_celex
  - eu_get_document_by_ecli
  - eu_get_document_by_eli
  - eu_verify_citation (now pure regex, no network)

Verified end-to-end against Schrems II (CELEX 62018CJ0311).

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-466.md from inside the repo you want the changes in.

⬇ Download capture-thread-466.md