get_document
Pack: eur-lex · Endpoint: https://gateway.pipeworx.io/eur-lex/mcp
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
celex | string | yes | CELEX id or a known alias. |
lang | string | no | ISO 639-2/B language code (default “eng”). |
max_chars | number | no | Max characters to return (default 8000, max 40000). |
offset | number | no | Character offset to start from, for paging (default 0). |
Example call
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":"get_document","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"eur-lex": {
"url": "https://gateway.pipeworx.io/eur-lex/mcp"
}
}
}
See Getting Started for client-specific install steps.