get_metadata
Pack: eur-lex · Endpoint: https://gateway.pipeworx.io/eur-lex/mcp
Fetch title, document date, legal type, in-force status hint, and EUR-Lex citation URL for one EU act by CELEX id (e.g. “32016R0679”) or alias (e.g. “GDPR”); does not download full text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
celex | string | yes | CELEX id, e.g. “32016R0679”, or a known alias like “GDPR”. |
lang | string | no | ISO 639-2/B language code for the title (default “eng”: eng, fra, deu, spa, ita, …). |
Example call
Arguments
{
"celex": "32016R0679"
}
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":"get_metadata","arguments":{"celex":"32016R0679"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_metadata', {
"celex": "32016R0679"
});
More examples
{
"celex": "GDPR",
"lang": "fra"
}
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.