ee_law_search
Pack: estonia-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/ee_law_search for the schema, then POST the same URL with its arguments for the data.
Search Estonian national legislation (Riigi Teataja: acts, regulations, orders) by title word or abbreviation, e.g. “isikuandmete kaitse” or abbreviation “IKS”. By default only acts in force today are returned (set in_force_only=false for repealed acts and older versions too). Returns id (globaalID of the text version), title, type, issuer, validity dates, in-force status and a link; 25 per page, use page to continue. Estonian-language titles. Pair with ee_law_get for the text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Word(s) from the Estonian title, e.g. “isikuandmete kaitse” |
abbreviation | string | no | Official abbreviation, e.g. “IKS” (use instead of query) |
in_force_only | boolean | no | Only acts in force today (default true) |
page | number | no | Page number, 1-based (default 1) |
Example call
Arguments
{
"query": "isikuandmete kaitse seadus"
}
curl
curl -X POST https://gateway.pipeworx.io/estonia-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ee_law_search","arguments":{"query":"isikuandmete kaitse seadus"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ee_law_search', {
"query": "isikuandmete kaitse seadus"
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
abbreviation | null | |
in_force_only | boolean | |
total_matches | number | |
page | number | |
count | number | |
results | array | |
next_page | null | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"abbreviation": {
"type": "null"
},
"in_force_only": {
"type": "boolean"
},
"total_matches": {
"type": "number"
},
"page": {
"type": "number"
},
"count": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"abbreviation": {
"type": [
"null",
"string"
]
},
"type": {
"type": "string"
},
"issuer": {
"type": "string"
},
"text_kind": {
"type": "string"
},
"valid_from": {
"type": "string"
},
"valid_until": {
"type": "null"
},
"status": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"next_page": {
"type": "null"
},
"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 estonia-law pack
{
"mcpServers": {
"estonia-law": {
"url": "https://gateway.pipeworx.io/estonia-law/mcp"
}
}
}
See Getting Started for client-specific install steps.