get_article
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/get_article for the schema, then POST the same URL with its arguments for the data.
Full text of one or more Articles of an act, with a verifiable EUR-Lex citation URL for each. THE article-level grounding tool: quote GDPR Art. 17, AI Act Art. 6, etc. Accepts a single number (“17”), a comma list (“5,6,17”) or a range (“5-9”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
celex | string | yes | CELEX id or a known alias (e.g. “GDPR”). |
article | string | yes | Article selector: “17”, “5,6,17”, or “5-9”. Suffixed numbers like “9a” are supported. |
lang | string | no | ISO 639-2/B language code (default “eng”). |
Example call
Arguments
{
"celex": "GDPR",
"article": "17"
}
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_article","arguments":{"celex":"GDPR","article":"17"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_article', {
"celex": "GDPR",
"article": "17"
});
More examples
{
"celex": "AI Act",
"article": "5-9",
"lang": "eng"
}
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.