si_law_search
Pack: slovenia-law · 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/si_law_search for the schema, then POST the same URL with its arguments for the data.
Search Slovenian national legislation (Register of regulations: acts, decrees, rules, ordinances) by title or abbreviation, e.g. “ZVOP-2” or “Zakon o gospodarskih družbah”. Set in_content=true to match words in the text too (Slovenian words). Returns id (e.g. ZAKO7959), title, status (in force or not), adoption and publication dates, issuing and drafting bodies, and a link; 10 per page, pass next_cursor to continue. Pair with si_law_get for the text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Title, abbreviation or Slovenian keyword, e.g. “ZVOP-2” |
in_content | boolean | no | Also search the full text (default false: title only) |
in_force_only | boolean | no | Drop results whose status is not “Veljaven predpis” (in force) from the page (default false) |
cursor | string | no | next_cursor from a previous page |
Example call
Arguments
{
"query": "ZVOP-2"
}
curl
curl -X POST https://gateway.pipeworx.io/slovenia-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"si_law_search","arguments":{"query":"ZVOP-2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('si_law_search', {
"query": "ZVOP-2"
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
searched | string | |
total_matches | number | |
count | number | |
results | array | |
next_cursor | string | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"searched": {
"type": "string"
},
"total_matches": {
"type": "number"
},
"count": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"record_number": {
"type": "number"
},
"title": {
"type": "string"
},
"status": {
"type": "string"
},
"adopted": {
"type": "string"
},
"published": {
"type": "string"
},
"gazette_record": {
"type": "string"
},
"issued_by": {
"type": "string"
},
"prepared_by": {
"type": "string"
},
"articles_with_amendments_tracked": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next_cursor": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
}
},
"additionalProperties": true
}
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 slovenia-law pack
{
"mcpServers": {
"slovenia-law": {
"url": "https://gateway.pipeworx.io/slovenia-law/mcp"
}
}
}
See Getting Started for client-specific install steps.