EUR-Lex

live GovernmentLegal

Official EU law, article-level: search legislation and quote GDPR, NIS2, DORA, the EU AI Act and the rest of the EU digital/compliance corpus with verifiable EUR-Lex citations.

6 tools
0ms auth
free tier 50 calls/day

Tools

compliance_index

Resolve a common EU regulation name to its CELEX id. Returns the curated map of the EU digital/compliance corpus (GDPR, NIS2, DORA, AI Act, DSA, DMA, eIDAS, Cyber Resilience Act, Data Act, …) with CEL

No parameters required.

Try it
search_legislation

Full-text search of EU legislation titles via the EUR-Lex SPARQL endpoint. Returns CELEX id, English title and document date. Use when the act is not in compliance_index, or to find related/amending a

No parameters required.

Try it
get_metadata

Metadata notice for one act by CELEX id: title, document date, legal type, in-force status hint and the EUR-Lex citation URL. Cheap; does not download the full text.

No parameters required.

Try it
list_articles

Table of contents for an act: every Article number and its heading. Use to discover which Article to quote before calling get_article.

No parameters required.

Try it
get_article

Full text of one or more Articles of an act, with a verifiable EUR-Lex citation URL for each. THE article-level grounding tool: quote GDPR Art. 17, AI Act Art. 6, etc. Accepts a single number ("17"),

No parameters required.

Try it
get_document

Plain-text of a whole act (recitals + enacting terms), paged. Use for short acts or to read recitals/definitions; for a specific Article prefer get_article. Returns up to max_chars from offset.

No parameters required.

Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/eur-lex/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/eur-lex/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"compliance_index","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("compliance_index", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("official eu law, article-level: search legislation and quote gdpr, nis2, dora, the eu ai act and the rest of the eu digital/compliance corpus with verifiable eur-lex citations");

Related packs

Other Pipeworx packs in the same categories (Government, Legal):