eur_lex_relations

Pack: eur-lex · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/eur_lex_relations for the schema, then POST the same URL with its arguments for the data.

Citation graph of an EU act or court judgment, from the Publications Office CELLAR relationship metadata. One call, one relation: “amended_by” (acts that amend it, with CELEX and date), “amends” (what it amends), “repealed_by”, “repeals” (incl. implicit repeals), “cited_by” (documents that cite it, including CJEU judgments citing a judgment or an act), “cites”, “based_on” (its legal basis) and “basis_for” (acts adopted on it). Works for acts (sector 3, e.g. 32006R1907) and case law (e.g. 62012CJ0131, Google Spain). Every row carries CELEX, date, English title and EUR-Lex URL; results are newest first, capped, with the full total stated. An item with no such relations returns total 0 and an explicit reason, never a bare empty list.

Parameters

NameTypeRequiredDescription
celexstringyesCELEX id (act “32006R1907”, judgment “62012CJ0131”) or a known alias (e.g. “GDPR”).
relationstringyesWhich relation to list.
limitnumbernoMax rows returned, newest first (default 25, max 100). total always reports the full count.
offsetnumbernoRows to skip, for paging (default 0).

Example call

Arguments

{
  "celex": "32006R1907",
  "relation": "amended_by",
  "limit": 10
}

curl

curl -X POST https://gateway.pipeworx.io/eur-lex/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"eur_lex_relations","arguments":{"celex":"32006R1907","relation":"amended_by","limit":10}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('eur_lex_relations', {
  "celex": "32006R1907",
  "relation": "amended_by",
  "limit": 10
});

More examples

{
  "celex": "62012CJ0131",
  "relation": "cited_by",
  "limit": 10
}

Response shape

FieldTypeDescription
celexstringThe CELEX id the relation was read for
relationstringThe relation asked for
relation_meaningstringPlain-words meaning of the relation
citation_urlstring
foundbooleanfalse when the CELEX id is not in the store
totalnumberFull count of related documents, regardless of limit
returnednumber
offsetnumber
has_moreboolean
next_offsetnumber | null
reasonstringPresent when total is 0: unknown_celex or no_such_relations
messagestring
resultsarray
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "celex": {
      "type": "string",
      "description": "The CELEX id the relation was read for"
    },
    "relation": {
      "type": "string",
      "description": "The relation asked for"
    },
    "relation_meaning": {
      "type": "string",
      "description": "Plain-words meaning of the relation"
    },
    "citation_url": {
      "type": "string"
    },
    "found": {
      "type": "boolean",
      "description": "false when the CELEX id is not in the store"
    },
    "total": {
      "type": "number",
      "description": "Full count of related documents, regardless of limit"
    },
    "returned": {
      "type": "number"
    },
    "offset": {
      "type": "number"
    },
    "has_more": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "reason": {
      "type": "string",
      "description": "Present when total is 0: unknown_celex or no_such_relations"
    },
    "message": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "celex": {
            "type": "string"
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "document_type": {
            "type": "string",
            "description": "Judgment, Order, Advocate General opinion ... (case law only)"
          },
          "court": {
            "type": "string",
            "description": "Court of Justice or General Court (case law only)"
          },
          "citation_url": {
            "type": "string"
          }
        }
      }
    },
    "source": {
      "type": "string"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the eur-lex pack
{
  "mcpServers": {
    "eur-lex": {
      "url": "https://gateway.pipeworx.io/eur-lex/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build December 4, 2026