si_law_get
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_get for the schema, then POST the same URL with its arguments for the data.
Fetch one Slovenian regulation by id from si_law_search (e.g. “ZAKO7959” for the Personal Data Protection Act ZVOP-2) or by gazette record number (e.g. “2022-01-4187”). Returns title, abbreviation, type, status, Official Gazette citation with amendments, adoption/publication/in-force dates, issuing body, text versions, and the text. Default text is the newest unofficial consolidated version; pass article (e.g. “8” or “8a”) for one article only, or version (e.g. “Osnovni”, “NPB 1”) for another text. Without article the text is capped at max_chars with a contents list.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Register id such as “ZAKO7959”, numeric record id, or gazette record number “2022-01-4187” |
article | string | no | Article number, e.g. “8” or “8a” (returns that article only) |
version | string | no | Text version name from the versions list, e.g. “Osnovni” or “NPB 2” (default: newest) |
max_chars | number | no | Cap on returned text when no article is given (default 20000, max 100000) |
Example call
Arguments
{
"id": "ZAKO7959",
"article": "8"
}
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_get","arguments":{"id":"ZAKO7959","article":"8"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('si_law_get', {
"id": "ZAKO7959",
"article": "8"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
id | string | |
record_number | number | |
title | string | |
abbreviation | string | |
type | string | |
status | string | |
gazette_citation | string | |
gazette_issue | string | |
adopted | string | |
published | string | |
in_force_from | string | |
in_force_until | null | |
applies_from | null | |
issued_by | string | |
prepared_by | string | |
gazette_record | string | |
legislative_ref | string | |
parliament_ref | string | |
url | string | |
gazette_pdf | string | |
versions | array | |
text_version | string | |
text_version_note | string | |
source | string | |
data_as_of | string | |
article | string | |
article_title | string | |
text | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"id": {
"type": "string"
},
"record_number": {
"type": "number"
},
"title": {
"type": "string"
},
"abbreviation": {
"type": "string"
},
"type": {
"type": "string"
},
"status": {
"type": "string"
},
"gazette_citation": {
"type": "string"
},
"gazette_issue": {
"type": "string"
},
"adopted": {
"type": "string"
},
"published": {
"type": "string"
},
"in_force_from": {
"type": "string"
},
"in_force_until": {
"type": "null"
},
"applies_from": {
"type": "null"
},
"issued_by": {
"type": "string"
},
"prepared_by": {
"type": "string"
},
"gazette_record": {
"type": "string"
},
"legislative_ref": {
"type": "string"
},
"parliament_ref": {
"type": "string"
},
"url": {
"type": "string"
},
"gazette_pdf": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"in_use_from": {
"type": [
"null",
"string"
]
}
},
"additionalProperties": true
}
},
"text_version": {
"type": "string"
},
"text_version_note": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"article": {
"type": "string"
},
"article_title": {
"type": "string"
},
"text": {
"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.