@pipeworx/norway-law
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/norway-law’s. Install: one-click buttons
Connect to just the @pipeworx/norway-law pack
https://gateway.pipeworx.io/norway-law/mcp — only @pipeworx/norway-law’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
Tools: 2
The text of the consolidated current Norwegian acts (about 750 lover), by act and section, with the in-force facts the publication carries. Find an act by title, short title, abbreviation or the number Norwegians cite it by, then read the act or one section (§ 275, 5-3, or a constitutional article).
Tools
no_law_search(query, limit?)finds acts by title, short title, abbreviation or law number (“straffeloven”, “mrl”, “lov 20 mai 2005 nr 28”, “2005-05-20-28”). Returns the act id, title, short title, entry-into-force date, date of the last change in force and a citation. Titles only, not act text.no_law_get(id, section?, max_chars?)reads one act or one section. A section comes back with its text, where it sits in the act, its amendment history with entry-into-force dates, and a citation (“Lov 20. mai 2005 nr. 28 (Straffeloven) § 275”). Without a section it returns the contents list and the opening text.
no_law_search({query: "straffeloven"})
-> 2005-05-20-28, Lov om straff (straffeloven), in force 2015-10-01
no_law_get({id: "2005-05-20-28", section: "§ 275"})
-> "Den som dreper en annen, straffes med fengsel fra 8 inntil 21 år."
amendments: Tilføyd ved lov 19 juni 2009 nr. 74.
Auth
Keyless.
Data sources
- Lovdata, the consolidated current Norwegian acts (gjeldende lover), published as open data. Every answer carries
data_as_of(the date Lovdata last rebuilt the release),answered_from(alwaysstored_copy), the licence and the attribution line.
Lovdata’s public site does not serve act text to a non-browser client, but it publishes every current act as open data in one small release, so a stored copy of that release answers every call and a weekly job refreshes it. There is no live fallback: before the first load, or if the copy cannot be read, both tools return found: false, reason: "stored_copy_unavailable" rather than an empty result.
Licence: NLOD 2.0
The release is published under the Norwegian Licence for Open Government Data 2.0 (https://data.norge.no/nlod/en/2.0). The terms that decide this pack, quoted from the licence text:
The licensee, subject to the limitations that follow from this licence, may use the information for any purpose and in all contexts, by: copying the information and distributing the information to others, modifying the information and/or combining the information with other information, and copying and distributing such changed or combined information. This is a non-exclusive, free, perpetual and worldwide licence.
The licensee shall attribute the licensor as specified by the licensor and include a reference to this licence. To the extent practically possible, the licensee shall provide a link to both this licence and the source of the information. […] If the information has been changed, the licensee must clearly indicate that changes have been made by the licensee.
Lovdata states the same on its open-data page (translated from the Norwegian): the consolidated acts and central regulations “may be used freely for all purposes without charge”, licensed under NLOD 2.0, with no user account or authentication required. Redistribution is permitted, so a stored copy is allowed. Every response therefore carries licence and attribution (“Contains data under the Norwegian licence for Open Government data (NLOD) distributed by Lovdata”, the licence link, the source, and the note that the markup was converted to plain text).
Caveats worth passing on
- Lovdata’s consolidated text is not an official version. Norway has no official consolidated versions; the original announcements in Norsk Lovtidend are authoritative. Every act and section answer says so in
disclaimer. - Norwegian only. The text is in Norwegian (Bokmål). The Constitution is also stored in Nynorsk as
1814-05-17-nn. Some acts carry annexed foreign-language instruments (the human rights convention, for example) in the original language. - Acts only. Central regulations (forskrifter), local regulations and the Norsk Lovtidend announcements are not covered. The central regulations are a separate release about four times the size of the acts (about 5,150 documents), left out of this build; an
unknown_idanswer says a regulation is one reason an id may be missing. - Search is by title, short title, abbreviation and number, not by act text. “personvern” finds nothing because no act title contains it; “personopplysninger” finds the Personal Data Act. Search for the subject word as it appears in a title.
- In-force dates are per act, not per section.
in_force_fromcan be a list (an act that entered into force in stages) andlast_change_in_forceis the most recent amendment taking effect. A section shows its own amendment history, with the dates the changes entered into force, inamendments; a repealed section carriesrepealed_date. - Sections are whole sections. The publication is not split below the section, so ”§ 5-3 første ledd” returns all of § 5-3 and says so. Several sections can share a number (annexes repeat numbering); the first is returned and the rest are listed in
other_matches. - Text is cut at
max_chars(default 20,000, max 100,000), and the answer says how long the full text is. - A miss is explicit. An unknown act id returns
found: false, reason: "unknown_id"; an unknown section returns the act withsection: null, empty_reason: "section_not_found"and the sections that do exist.
Related
denmark-lawfor Danish statuteseur-lexfor EU legislation that Norway implements through the EEA agreement
Tools
- no_law_search — Find Norwegian acts (lover) by title, short title, abbreviation or law number. Give a subject word (“arbeidsmiljø”), a short title or abbreviation (“straffeloven”, “mrl”), or the act’s number as Norwe
- no_law_get — Read a Norwegian act, or one section of it, in the consolidated current text published by Lovdata. Give the act id from no_law_search (e.g. “1999-05-21-30” for the Human Rights Act, “2005-05-20-28” fo
Tools
no_law_get— Read a Norwegian act, or one section of it, in the consolidated current text published by Lovdata. Give the act id from no_law_search (e.g. 1999-05-21-30 for the Human Rights Act, 2005-05-20-28 for thno_law_search— Find Norwegian acts (lover) by title, short title, abbreviation or law number. Give a subject word ( arbeidsmiljø ), a short title or abbreviation ( straffeloven , mrl ), or the act's number as Norweg