eur_lex_consolidated_versions
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_consolidated_versions for the schema, then POST the same URL with its arguments for the data.
List the dated consolidated versions of an EU act (EUR-Lex consolidated texts, CELEX sector 0, published by the EU Publications Office). Each version carries its effective date, its consolidated CELEX id and ELI. Also returns the act’s entry-into-force and end-of-validity dates. Use to see how an act changed over time, or to pick a date for eur_lex_article_as_of. Accepts the base act CELEX (e.g. “32006R1907”) or an alias (“GDPR”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
celex | string | yes | CELEX id of the act as originally published (sector 3, e.g. “32006R1907” for REACH) or a known alias (e.g. “GDPR”). A consolidated CELEX like “02006R1907-20260622” is also accepted. |
limit | number | no | Max versions returned, newest first (default 25, max 200). total_versions always reports the full count. |
order | string | no | Sort order (default newest_first). |
Example call
Arguments
{
"celex": "32006R1907",
"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_consolidated_versions","arguments":{"celex":"32006R1907","limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('eur_lex_consolidated_versions', {
"celex": "32006R1907",
"limit": 10
});
More examples
{
"celex": "GDPR"
}
Response shape
| Field | Type | Description |
|---|---|---|
celex | string | Base act CELEX (sector 3) |
eli | string | null | |
citation_url | string | |
entry_into_force | array | |
end_of_validity | string | null | |
in_force | boolean | null | |
total_versions | number | |
returned | number | |
latest_consolidation_date | string | null | |
versions | array | |
note | string | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"celex": {
"type": "string",
"description": "Base act CELEX (sector 3)"
},
"eli": {
"type": [
"string",
"null"
]
},
"citation_url": {
"type": "string"
},
"entry_into_force": {
"type": "array",
"items": {
"type": "string"
}
},
"end_of_validity": {
"type": [
"string",
"null"
]
},
"in_force": {
"type": [
"boolean",
"null"
]
},
"total_versions": {
"type": "number"
},
"returned": {
"type": "number"
},
"latest_consolidation_date": {
"type": [
"string",
"null"
]
},
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"consolidated_celex": {
"type": "string"
},
"effective_date": {
"type": "string",
"description": "Date this version took effect, YYYY-MM-DD"
},
"eli": {
"type": [
"string",
"null"
]
},
"citation_url": {
"type": "string"
}
}
}
},
"note": {
"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.