MCP server exposing 2 tools for latvia-law.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/latvia-law/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
lv_law_search — Search Latvian national legislation (laws, Cabinet regulations, orders and other acts on Likumi.lv) by title words in Latvian, e.g. "Fizisko personu datu apstrādes likums" or "darba likums". By default only acts in force or not yet in force are returned (set include_repealed=true to add acts that lost force). Returns id, title, status, issuer, type, adoption and in-force dates, Latvijas Vēstnesis publication, and a link; 20 per page, use page to continue. Pair with lv_law_get for the text.lv_law_get — Fetch one Latvian legal act by id from lv_law_search (e.g. "300099" for the Personal Data Processing Law). Returns title, status, issuer, type, adoption and in-force dates, Latvijas Vēstnesis publication reference, and the current consolidated text in Latvian. Pass article (e.g. "3" or "16_1" for article 16 superscript 1) for one article only; without it the text is capped at max_chars with a contents list. The consolidated text is informative: the official publication prevails.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/latvia-law/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io