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

NameTypeRequiredDescription
idstringyesRegister id such as “ZAKO7959”, numeric record id, or gazette record number “2022-01-4187”
articlestringnoArticle number, e.g. “8” or “8a” (returns that article only)
versionstringnoText version name from the versions list, e.g. “Osnovni” or “NPB 2” (default: newest)
max_charsnumbernoCap 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

FieldTypeDescription
foundboolean
idstring
record_numbernumber
titlestring
abbreviationstring
typestring
statusstring
gazette_citationstring
gazette_issuestring
adoptedstring
publishedstring
in_force_fromstring
in_force_untilnull
applies_fromnull
issued_bystring
prepared_bystring
gazette_recordstring
legislative_refstring
parliament_refstring
urlstring
gazette_pdfstring
versionsarray
text_versionstring
text_version_notestring
sourcestring
data_as_ofstring
articlestring
article_titlestring
textstring
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.

Regenerated from source · build November 14, 2026