norway-legislation-mcp-server

v0.3.1 pre-1.0

Search and read Norwegian laws and regulations from Lovdata, resolve legal citations, find regulations made under an Act, and trace amendments via MCP. STDIO or Streamable HTTP.

norway-legislation.caseyjhand.com/mcp
claude mcp add --transport http norway-legislation-mcp-server https://norway-legislation.caseyjhand.com/mcp
codex mcp add norway-legislation-mcp-server --url https://norway-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "norway-legislation-mcp-server": {
      "url": "https://norway-legislation.caseyjhand.com/mcp"
    }
  }
}
gemini mcp add --transport http norway-legislation-mcp-server https://norway-legislation.caseyjhand.com/mcp
{
  "mcpServers": {
    "norway-legislation-mcp-server": {
      "command": "bunx",
      "args": [
        "mcp-remote",
        "https://norway-legislation.caseyjhand.com/mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "norway-legislation-mcp-server": {
      "type": "http",
      "url": "https://norway-legislation.caseyjhand.com/mcp"
    }
  }
}
curl -X POST https://norway-legislation.caseyjhand.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0.0"}}}'

Tools

8

norlaw_get_provision

Read cited provisions or exact source paths from one Norwegian legislation record, processing up to ten per call. Returns complete source Markdown, change notes, footnotes, and parallel future variants when present. Use document.recordId with a portable locator from a full outline, search hit, or verified citation. For a compact outline, combine its sourcePath with document.build to form the locator.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_get_provision",
    "arguments": {
      "document": "<document>",
      "provisions": "<provisions>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "document": {
      "type": "string",
      "minLength": 1,
      "description": "Returned recordId, Lovdata URL, dokID, refID, date code, journal number, or exact title or alias."
    },
    "language": {
      "description": "Select the explicitly published language. Grunnloven defaults to Bokmål when unpinned.",
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "description": "Published language as a BCP 47 tag."
        }
      ]
    },
    "edition": {
      "description": "Select consolidated text or a promulgated gazette record. Omit to infer the edition from the citation.",
      "type": "string",
      "enum": [
        "consolidated",
        "promulgated"
      ]
    },
    "provisions": {
      "minItems": 1,
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "string",
            "minLength": 1,
            "description": "A printed citation or source locator spelling."
          },
          {
            "type": "object",
            "properties": {
              "label": {
                "type": "string",
                "minLength": 1,
                "description": "Norwegian provision, article or group label."
              },
              "chapterPath": {
                "description": "Ordered enclosing group labels.",
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "elementId": {
                "description": "Exact Lovdata element ID.",
                "type": "string",
                "minLength": 1
              },
              "tail": {
                "description": "Ordered subdivisions within the provision.",
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "ledd",
                            "nr",
                            "setning"
                          ],
                          "description": "Numbered subdivision kind."
                        },
                        "value": {
                          "type": "integer",
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "description": "Printed number or ordinal."
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false,
                      "description": "Numbered subdivision."
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "bokstav",
                          "description": "Lettered subdivision kind."
                        },
                        "value": {
                          "type": "string",
                          "pattern": "^[a-z\\u00E6\\u00F8\\u00E5]$",
                          "description": "Printed letter."
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false,
                      "description": "Lettered subdivision."
                    }
                  ],
                  "description": "One numbered or lettered subdivision."
                }
              }
            },
            "required": [
              "label"
            ],
            "additionalProperties": false,
            "description": "A legal citation locator."
          },
          {
            "type": "object",
            "properties": {
              "sourcePath": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "description": "Zero-based child ordinals in source order. Empty selects the entire body."
              },
              "build": {
                "type": "object",
                "properties": {
                  "filename": {
                    "type": "string",
                    "description": "Lovdata archive filename."
                  },
                  "lastModified": {
                    "type": "string",
                    "description": "Advertised source build modification instant."
                  },
                  "sizeBytes": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991,
                    "description": "Compressed archive size in bytes."
                  },
                  "builtAt": {
                    "type": "string",
                    "description": "Time the build was activated."
                  },
                  "parserVersion": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991,
                    "description": "Content parser version used for this build."
                  }
                },
                "required": [
                  "filename",
                  "lastModified",
                  "sizeBytes",
                  "builtAt",
                  "parserVersion"
                ],
                "additionalProperties": false,
                "description": "Exact source build that yielded the selector."
              }
            },
            "required": [
              "sourcePath",
              "build"
            ],
            "additionalProperties": false,
            "description": "An exact source path bound to one build and recordId."
          }
        ],
        "description": "One printed or build-bound source locator."
      },
      "description": "Provision selectors in request order, including any repeated selectors."
    }
  },
  "required": [
    "document",
    "provisions"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_get_document

Resolve one Norwegian instrument and navigate its groups and provisions. Set outline to groups for group rows only, or full for every source node with portable locators. Combine part with outline to scope the outline. Without an explicit outline, a part or sibling range returns complete Markdown up to 64 KiB, or an exhaustive outline for a larger selection. Read compact or group rows with norlaw_get_provision using document.recordId and a locator containing the row’s sourcePath and document.build.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_get_document",
    "arguments": {
      "document": "<document>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "document": {
      "type": "string",
      "minLength": 1,
      "description": "Returned recordId, Lovdata URL, dokID, refID, date code, journal number, or exact title or alias."
    },
    "language": {
      "description": "Select the explicitly published language. Grunnloven defaults to Bokmål when unpinned.",
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "description": "Published language as a BCP 47 tag."
        }
      ]
    },
    "edition": {
      "description": "Select consolidated text or a promulgated gazette record. Omit to infer the edition from the citation.",
      "type": "string",
      "enum": [
        "consolidated",
        "promulgated"
      ]
    },
    "outline": {
      "description": "Use compact navigation, groups only, or the full source tree. Applies to the whole document or an explicit part. Omit for compact document navigation or selected text.",
      "type": "string",
      "enum": [
        "compact",
        "groups",
        "full"
      ]
    },
    "part": {
      "description": "A section, group, build-bound locator (sourcePath and build), or inclusive sibling section range. Omit for the whole document outline.",
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "description": "A printed citation or source locator spelling."
        },
        {
          "type": "object",
          "properties": {
            "label": {
              "type": "string",
              "minLength": 1,
              "description": "Norwegian provision, article or group label."
            },
            "chapterPath": {
              "description": "Ordered enclosing group labels.",
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1
              }
            },
            "elementId": {
              "description": "Exact Lovdata element ID.",
              "type": "string",
              "minLength": 1
            },
            "tail": {
              "description": "Ordered subdivisions within the provision.",
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "enum": [
                          "ledd",
                          "nr",
                          "setning"
                        ],
                        "description": "Numbered subdivision kind."
                      },
                      "value": {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991,
                        "description": "Printed number or ordinal."
                      }
                    },
                    "required": [
                      "kind",
                      "value"
                    ],
                    "additionalProperties": false,
                    "description": "Numbered subdivision."
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "bokstav",
                        "description": "Lettered subdivision kind."
                      },
                      "value": {
                        "type": "string",
                        "pattern": "^[a-z\\u00E6\\u00F8\\u00E5]$",
                        "description": "Printed letter."
                      }
                    },
                    "required": [
                      "kind",
                      "value"
                    ],
                    "additionalProperties": false,
                    "description": "Lettered subdivision."
                  }
                ],
                "description": "One numbered or lettered subdivision."
              }
            }
          },
          "required": [
            "label"
          ],
          "additionalProperties": false,
          "description": "A legal citation locator."
        },
        {
          "type": "object",
          "properties": {
            "sourcePath": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "description": "Zero-based child ordinals in source order. Empty selects the entire body."
            },
            "build": {
              "type": "object",
              "properties": {
                "filename": {
                  "type": "string",
                  "description": "Lovdata archive filename."
                },
                "lastModified": {
                  "type": "string",
                  "description": "Advertised source build modification instant."
                },
                "sizeBytes": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Compressed archive size in bytes."
                },
                "builtAt": {
                  "type": "string",
                  "description": "Time the build was activated."
                },
                "parserVersion": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Content parser version used for this build."
                }
              },
              "required": [
                "filename",
                "lastModified",
                "sizeBytes",
                "builtAt",
                "parserVersion"
              ],
              "additionalProperties": false,
              "description": "Exact source build that yielded the selector."
            }
          },
          "required": [
            "sourcePath",
            "build"
          ],
          "additionalProperties": false,
          "description": "An exact source path bound to one build and recordId."
        },
        {
          "type": "object",
          "properties": {
            "from": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Norwegian provision, article or group label."
                },
                "chapterPath": {
                  "description": "Ordered enclosing group labels.",
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "elementId": {
                  "description": "Exact Lovdata element ID.",
                  "type": "string",
                  "minLength": 1
                },
                "tail": {
                  "description": "Ordered subdivisions within the provision.",
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "ledd",
                              "nr",
                              "setning"
                            ],
                            "description": "Numbered subdivision kind."
                          },
                          "value": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "description": "Printed number or ordinal."
                          }
                        },
                        "required": [
                          "kind",
                          "value"
                        ],
                        "additionalProperties": false,
                        "description": "Numbered subdivision."
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "bokstav",
                            "description": "Lettered subdivision kind."
                          },
                          "value": {
                            "type": "string",
                            "pattern": "^[a-z\\u00E6\\u00F8\\u00E5]$",
                            "description": "Printed letter."
                          }
                        },
                        "required": [
                          "kind",
                          "value"
                        ],
                        "additionalProperties": false,
                        "description": "Lettered subdivision."
                      }
                    ],
                    "description": "One numbered or lettered subdivision."
                  }
                }
              },
              "required": [
                "label"
              ],
              "additionalProperties": false,
              "description": "First exact sibling section to include."
            },
            "to": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Norwegian provision, article or group label."
                },
                "chapterPath": {
                  "description": "Ordered enclosing group labels.",
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1
                  }
                },
                "elementId": {
                  "description": "Exact Lovdata element ID.",
                  "type": "string",
                  "minLength": 1
                },
                "tail": {
                  "description": "Ordered subdivisions within the provision.",
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "ledd",
                              "nr",
                              "setning"
                            ],
                            "description": "Numbered subdivision kind."
                          },
                          "value": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "description": "Printed number or ordinal."
                          }
                        },
                        "required": [
                          "kind",
                          "value"
                        ],
                        "additionalProperties": false,
                        "description": "Numbered subdivision."
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "bokstav",
                            "description": "Lettered subdivision kind."
                          },
                          "value": {
                            "type": "string",
                            "pattern": "^[a-z\\u00E6\\u00F8\\u00E5]$",
                            "description": "Printed letter."
                          }
                        },
                        "required": [
                          "kind",
                          "value"
                        ],
                        "additionalProperties": false,
                        "description": "Lettered subdivision."
                      }
                    ],
                    "description": "One numbered or lettered subdivision."
                  }
                }
              },
              "required": [
                "label"
              ],
              "additionalProperties": false,
              "description": "Last exact sibling section to include."
            }
          },
          "required": [
            "from",
            "to"
          ],
          "additionalProperties": false,
          "description": "Inclusive range between sibling sections."
        }
      ]
    }
  },
  "required": [
    "document"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_search_documents

Find Norwegian legislation by title, abbreviation, kind, legal area, ministry, place, commencement or European Union citation. Use norlaw_search_text for words inside provisions.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_search_documents",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "kinds": {
      "description": "Document kinds to include. Use norlaw_list_reference with topic kinds to check edition compatibility.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "law",
          "central_regulation",
          "delegation_decision",
          "instruction",
          "storting_resolution",
          "local_regulation"
        ]
      }
    },
    "edition": {
      "description": "Consolidated text by default. A search restricted to local_regulation defaults to promulgated announcements.",
      "type": "string",
      "enum": [
        "consolidated",
        "promulgated"
      ]
    },
    "status": {
      "description": "Commencement status. Defaults to current (in_force, partly_pending, or unknown) for consolidations and any for announcements.",
      "type": "string",
      "enum": [
        "current",
        "in_force",
        "partly_pending",
        "not_in_force",
        "unknown",
        "any"
      ]
    },
    "legalArea": {
      "description": "Legal area code or full label, chiefly available for laws.",
      "type": "string"
    },
    "limit": {
      "default": 25,
      "description": "Document records per page, capped at 500. Defaults to 25.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Results to skip in this ordering.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "query": {
      "description": "Match every word against the title, short title or abbreviation. Append * to a word to match its prefix.",
      "type": "string"
    },
    "amendingActs": {
      "default": "exclude",
      "description": "Exclude amending acts by default, include them along with other acts, or return only amending acts.",
      "type": "string",
      "enum": [
        "exclude",
        "include",
        "only"
      ]
    },
    "ministry": {
      "description": "Exact ministry name, case-insensitive.",
      "type": "string"
    },
    "appliesTo": {
      "description": "Place tokens from the published applicability field.",
      "type": "string"
    },
    "celex": {
      "description": "CELEX number of a cited European Union act.",
      "type": "string"
    },
    "promulgation": {
      "description": "Promulgation date range.",
      "type": "object",
      "properties": {
        "from": {
          "description": "Inclusive first date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "to": {
          "description": "Inclusive last date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "additionalProperties": false
    },
    "inForce": {
      "description": "Range containing a recorded commencement date.",
      "type": "object",
      "properties": {
        "from": {
          "description": "Inclusive first date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "to": {
          "description": "Inclusive last date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "additionalProperties": false
    },
    "sort": {
      "description": "Title queries default to relevance: exact aliases first, then laws, then other records, newest promulgation first in each tier. Without a query the default is date. Explicit date, last_change or title orders by newest promulgation, newest change or alphabetical title.",
      "type": "string",
      "enum": [
        "date",
        "last_change",
        "title",
        "relevance"
      ]
    }
  },
  "required": [
    "limit",
    "offset",
    "amendingActs"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_search_text

Search titles, headings and provision text, or find passages with authored links to a cited instrument or section. Combine query and cites to apply both filters. Read the source passage with norlaw_get_provision using the returned recordId and locator.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_search_text",
    "arguments": {}
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "kinds": {
      "description": "Document kinds to include. Use norlaw_list_reference with topic kinds to check edition compatibility.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "law",
          "central_regulation",
          "delegation_decision",
          "instruction",
          "storting_resolution",
          "local_regulation"
        ]
      }
    },
    "edition": {
      "description": "Consolidated text by default. A search restricted to local_regulation defaults to promulgated announcements.",
      "type": "string",
      "enum": [
        "consolidated",
        "promulgated"
      ]
    },
    "status": {
      "description": "Commencement status. Defaults to current (in_force, partly_pending, or unknown) for consolidations and any for announcements.",
      "type": "string",
      "enum": [
        "current",
        "in_force",
        "partly_pending",
        "not_in_force",
        "unknown",
        "any"
      ]
    },
    "legalArea": {
      "description": "Legal area code or full label, chiefly available for laws.",
      "type": "string"
    },
    "limit": {
      "default": 25,
      "description": "Ranked passage hits per page, capped at 200. Defaults to 25.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Ranked passage hits to skip before grouping by document.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "query": {
      "description": "Search words, phrases in double quotes or «guillemets», prefixes with *, and groups using uppercase AND, OR and binary NOT. Outside phrases, §, periods, commas, slashes, question marks and colons followed by whitespace separate terms. Required if cites is absent.",
      "type": "string",
      "minLength": 1
    },
    "cites": {
      "description": "Require an authored source link to this instrument or a whole section. Supply only an instrument name or ID to match any link to it.",
      "type": "object",
      "properties": {
        "document": {
          "type": "string",
          "minLength": 1,
          "description": "Cited instrument name, record ID, or citation with an optional whole section, such as arbeidsmiljøloven § 14-9."
        },
        "section": {
          "description": "Whole target section, such as § 14-9. If document already names a section, both must identify the same section.",
          "type": "string"
        }
      },
      "required": [
        "document"
      ],
      "additionalProperties": false
    },
    "documents": {
      "description": "Restrict to these document citations or record IDs.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "limit",
    "offset"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_find_regulations

Find regulations, delegation decisions, instructions and Storting resolutions whose published legal basis cites an Act, another consolidated instrument, or a section thereof. Act searches also follow one delegation hop. Local gazette announcements are optional.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_find_regulations",
    "arguments": {
      "document": "<document>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "limit": {
      "default": 25,
      "description": "Regulation records per page, capped at 500. Defaults to 25.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Results to skip in this ordering.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "document": {
      "type": "string",
      "minLength": 1,
      "description": "Citation, title or exact record ID of an Act or another consolidated authority."
    },
    "section": {
      "description": "Restrict to a section cited by the legal-basis edge, such as § 4.",
      "type": "string"
    },
    "kinds": {
      "description": "Regulation kinds to return.",
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "law",
          "central_regulation",
          "delegation_decision",
          "instruction",
          "storting_resolution",
          "local_regulation"
        ]
      }
    },
    "includeLocal": {
      "default": false,
      "description": "Include local announcements from gazette department II.",
      "type": "boolean"
    },
    "status": {
      "default": "current",
      "description": "Consolidated commencement filter. With current, opted-in local announcements are included without a currentness claim.",
      "type": "string",
      "enum": [
        "current",
        "in_force",
        "partly_pending",
        "not_in_force",
        "unknown",
        "any"
      ]
    },
    "ministry": {
      "description": "Exact ministry name.",
      "type": "string"
    }
  },
  "required": [
    "limit",
    "offset",
    "document",
    "includeLocal",
    "status"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_list_amendments

Trace amendments to a law, regulation or section using linked change notes, gazette announcement headers and structured change targets. Each amending instrument retains its evidence and any withdrawal or correction.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_list_amendments",
    "arguments": {
      "document": "<document>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "limit": {
      "default": 25,
      "description": "Amending instruments per page, capped at 500. Defaults to 25.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "offset": {
      "default": 0,
      "description": "Results to skip in this ordering.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "document": {
      "type": "string",
      "minLength": 1,
      "description": "Document citation or exact record ID."
    },
    "section": {
      "description": "Match a whole section such as § 4 or 14-9, or an exact authored part label.",
      "type": "string"
    },
    "promulgation": {
      "description": "Promulgation date range.",
      "type": "object",
      "properties": {
        "from": {
          "description": "Inclusive first date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "to": {
          "description": "Inclusive last date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "additionalProperties": false
    },
    "inForce": {
      "description": "Effective date range.",
      "type": "object",
      "properties": {
        "from": {
          "description": "Inclusive first date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "to": {
          "description": "Inclusive last date.",
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        }
      },
      "additionalProperties": false
    },
    "includePending": {
      "default": true,
      "description": "Include pending-only amendments.",
      "type": "boolean"
    },
    "includeWithdrawn": {
      "default": false,
      "description": "Include fully withdrawn amendments.",
      "type": "boolean"
    }
  },
  "required": [
    "limit",
    "offset",
    "document",
    "includePending",
    "includeWithdrawn"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_lookup_citation

Resolve exact legislation citations in request order, processing up to 25 per call. Accepts recordIds, Lovdata URLs and ELI, published IDs, Norwegian date citations, gazette journal numbers, and exact titles or abbreviations. Append an incorporated article address such as gdpr/a6 or emke/p1/a1 to a document citation. Omit edition to prefer consolidated text. Verified provisions include build-bound locators for norlaw_get_provision.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_lookup_citation",
    "arguments": {
      "citations": "<citations>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "citations": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "description": "One Lovdata citation, identifier, or alias."
      },
      "description": "Citations in the order to resolve them."
    },
    "language": {
      "description": "Select the explicitly published language. Grunnloven defaults to Bokmål when unpinned.",
      "anyOf": [
        {
          "type": "string",
          "const": ""
        },
        {
          "type": "string",
          "description": "Published language as a BCP 47 tag."
        }
      ]
    },
    "edition": {
      "description": "Explicit edition filter. Omit to prefer consolidated records and allow promulgated-only matches.",
      "type": "string",
      "enum": [
        "consolidated",
        "promulgated"
      ]
    }
  },
  "required": [
    "citations"
  ],
  "additionalProperties": false
}
view source ↗

norlaw_list_reference

Inspect package freshness during initial sync, or look up document kinds, areas, ministries, citation grammar, status rules, source coverage and attribution. Reference guidance works offline.

read
invocation
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "norlaw_list_reference",
    "arguments": {
      "topic": "<topic>"
    }
  }
}
schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "topic": {
      "type": "string",
      "enum": [
        "kinds",
        "legal_areas",
        "ministries",
        "provision_addresses",
        "status",
        "coverage",
        "freshness",
        "attribution"
      ],
      "description": "Select kinds for edition compatibility, legal_areas or ministries for search vocabulary, provision_addresses for citation examples, status for commencement rules, coverage for source scope, freshness for package readiness, or attribution for licensing."
    }
  },
  "required": [
    "topic"
  ],
  "additionalProperties": false
}
view source ↗

Extensions

1

io.modelcontextprotocol/skills

{
  "directoryRead": true
}