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

NameTypeRequiredDescription
celexstringyesCELEX id or a known alias.
langstringnoISO 639-2/B language code (default “eng”).
max_charsnumbernoMax characters to return (default 8000, max 40000).
offsetnumbernoCharacter 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.

Regenerated from source · build June 12, 2026