search_legislation
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/search_legislation for the schema, then POST the same URL with its arguments for the data.
Full-text search of EU legislation titles via the EUR-Lex SPARQL endpoint. Returns CELEX id, English title and document date. Use when the act is not in compliance_index, or to find related/amending acts.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Keyword(s) that must appear in the English title, e.g. “cybersecurity certification”. |
type | string | no | Optional: restrict to a legal act type. |
limit | number | no | Max results (default 10, max 25). |
Example call
Arguments
{
"query": "cybersecurity certification"
}
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":"search_legislation","arguments":{"query":"cybersecurity certification"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_legislation', {
"query": "cybersecurity certification"
});
More examples
{
"query": "data protection",
"type": "regulation",
"limit": 15
}
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.