Skip to main content
Glama

Norway Legal Research MCP Server (no-legal-mcp)

Norsk | English Documentation


Juridisk MCP-server for Norsk Lovgivning og Rettspraksis (no-legal-mcp) — Norsk

Om dette depotet

Dette depotet inneholder en Model Context Protocol (MCP) server som kobler din AI-applikasjon (Claude Desktop, Cursor, Windsurf, VS Code / Copilot, Cline eller Antigravity) direkte til Lovdata (lovdata.no) og rettsavgjørelser fra tingrettene, de 6 lagmannsrettene og Norges Høyesterett.

Installasjon (Valg av AI-applikasjon)

  1. Last ned: Klikk på <> Code -> Download ZIP øverst til høyre og pakk ut mappen på datamaskinen.

  2. Start installasjonen: Dobbeltklikk på Click_Here_To_Install_Windows.bat (Windows) eller Click_Here_To_Install_Mac.command (macOS).

  3. Velg AI-klient: Kryss av for AI-programmene du bruker (Claude, Cursor, Windsurf, VS Code, Antigravity), klikk installer og start AI-applikasjonen på nytt.

Sikkerhetsmerknad: Installasjonsprogrammet opererer kun i lesemodus (read-only) og rører ingen personlige filer på datamaskinen din.

Domstolsnivåer og offisielle kilder

Instans

Domstoler som dekkes

1. instans (Tingrettene og Forliksråd)

23 Tingretter (District Courts), Jordskifteretter (Land Consolidation Courts) & Forliksråd

2. instans (De 6 Lagmannsrettene)

6 Lagmannsretter (Borgarting, Eidsivating, Agder, Gulating, Frostating, Hålogaland)

3. instans (Norges Høyesterett & EFTA-domstolen)

Norges Høyesterett (Supreme Court of Norway) & EFTA Court

  • Lovdata API (api.lovdata.no) & Lovdata Open Legal Data (lovdata.no): https://api.lovdata.no/om-api-tjenesten/ (lovdata.no, api.lovdata.no, stortinget.no, regjeringen.no)

  • Lovdata Rettsavgjørelser (Høyesterett, Lagmannsrettene & Tingrettene — lovdata.no): https://lovdata.no (lovdata.no, domstol.no)


Related MCP server: ch-legal-mcp

English Documentation

Model Context Protocol (MCP) server providing live, read-only access to Norway (NO) legislation, official gazettes, multi-tier judicial decisions (First Instance, Regional/Cantonal/Appellate, and Supreme/Constitutional courts, including HTML and PDF full-text extraction), and statutory citation verification across all major AI clients (ChatGPT Desktop, OpenAI Codex CLI, Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, Perplexity, and Continue.dev).


Interactive Desktop Setup (Select Your AI Assistant)

This package includes a graphical installer for legal practitioners and non-technical users that lets you select which AI application(s) you use:

  1. Download: Click <> Code at the top right of this repository, select Download ZIP, and extract the folder to your computer.

  2. Run the Setup Utility:

    • Windows: Double-click Click_Here_To_Install_Windows.bat

    • macOS: Double-click Click_Here_To_Install_Mac.command

  3. Select Your AI Client(s) & Connect: Check the box(es) for the AI assistant(s) installed on your computer (ChatGPT Desktop & OpenAI Codex CLI, Claude Desktop & Claude Code CLI, Cursor, Windsurf, VS Code / GitHub Copilot / Cline / Roo Code, Google Antigravity / Gemini CLI, or Perplexity / Continue.dev), click Install to Selected AI Clients, and restart your selected AI application.

System Integrity Note: The setup utility operates strictly in read-only mode with respect to your personal files and documents. It installs an isolated Python runtime inside the extracted folder and registers the server entry only in the AI client configuration files you select.


Multi-Tier Judicial Hierarchy & Live Indexed National Archives

This server performs live queries across the full judicial hierarchy and official legal archives of Norway, extracting full text from both HTML pages and official court/gazette PDF judgments:

Judicial Tier

Covered Courts & Tribunals

Tier 1 — First Instance

23 Tingretter (District Courts), Jordskifteretter (Land Consolidation Courts) & Forliksråd

Tier 2 — Regional / Cantonal / Appellate

6 Lagmannsretter (Borgarting, Eidsivating, Agder, Gulating, Frostating, Hålogaland)

Tier 3 — Supreme & Constitutional

Norges Høyesterett (Supreme Court of Norway) & EFTA Court

Official Portals & Live Indexed Domains

  • National Legislation & Official Gazette: Lovdata API (api.lovdata.no) & Lovdata Open Legal Data (lovdata.no) — https://api.lovdata.no/om-api-tjenesten/

    • Indexed Legislation Domains: lovdata.no, api.lovdata.no, stortinget.no, regjeringen.no

  • Court Decisions & Jurisprudence Archives: Lovdata Rettsavgjørelser (Høyesterett, Lagmannsrettene & Tingrettene — lovdata.no) — https://lovdata.no

    • Indexed Judicial & Open Case Law Domains: lovdata.no, domstol.no


Available MCP Tools

Tool

Description

search_legislation

Searches enacted statutes, codes, decrees, and official gazette publications in Norway.

search_case_law

Searches national jurisprudence and open judicial archives for Norway.

search_tiered_court_decisions

Filters case law specifically by judicial instance (first_instance, appellate_regional, supreme_constitutional) or specific regional/cantonal/district court.

list_court_hierarchy

Returns the complete 3-tier court structure and supported regional court filters for Norway.

get_legal_document_markdown

Retrieves full statutory or judicial texts (both HTML and official .pdf court judgments) and converts them into clean Markdown.

verify_citation

Validates statutory and case law citations against official registries.


{
  "mcpServers": {
    "no-legal-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "https://github.com/jurisatlas/no-legal-mcp/archive/refs/heads/main.zip",
        "no-legal-mcp"
      ]
    }
  }
}

Available Tools

6 tools
list_court_hierarchyList Court HierarchyB

Return the complete step-by-step multi-tier judicial hierarchy for Norway (NO): Tier 1 (First Instance / Trial / Municipal / District Courts), Tier 2 (Regional / Cantonal / County / Appellate Courts), Tier 3 (Supreme / Cassation / Constitutional Courts), and all official court sub-portals.

Inputs: no named parameters. Returns: object

search_case_lawSearch Case LawB

Search Norway (NO) court decisions and binding precedents via Norges Høyesterett & Lagmannsrettene (lovdata.no / domstol.no) and open national judicial archives (Supported courts: Norges Høyesterett (Supreme Court), Lagmannsrettene (6 Courts of Appeal), Tingrettene (23 District Courts), EFTA Court).

Inputs: query (required), court, limit. Returns: object

search_legislationSearch LegislationB

Search Norway (NO) national legislation (statutes, acts, codes, regulations, official gazette) via Lovdata API (api.lovdata.no) & Lovdata Open Legal Data (lovdata.no) and live national legal archives.

Inputs: query (required), year, limit. Returns: object

search_tiered_court_decisionsSearch Tiered Court DecisionsA

Search court decisions in Norway (NO) filtered by specific judicial tier or regional/cantonal/appellate court. Supports Tier 1 (first_instance), Tier 2 (appellate_regional — including Cantonal/Regional/County/Circuit courts), and Tier 3 (supreme_constitutional), or a specific sub-portal key from list_court_hierarchy.

Inputs: query (required), tier, limit, sub_court. Returns: object

verify_citationVerify CitationA

No-Hallucination Citation Verifier for Norway (NO). Validates format and live existence of legal citations (e.g., 'HR-2024-123-A or LOV-2005-06-17-62') against official Norway and ECLI/ELI registries to prevent AI-hallucinated citations.

Inputs: citation (required). Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation3/5

    Most tools are clearly distinct (legislation search, citation verification, document retrieval, hierarchy listing), but search_case_law and search_tiered_court_decisions both search Norwegian court decisions and differ only by the filtering dimension (named court vs. judicial tier). An agent could easily pick the wrong one or miss that both draw from Lovdata/domstol.no. The descriptions help but the boundary between these two is soft.

    Naming Consistency4/5

    All six tools follow a snake_case verb_noun pattern (search_*, verify_*, get_*, list_*), which is predictable. Minor deviation: search_tiered_court_decisions is notably longer and more awkward than its siblings, and search_case_law vs. search_tiered_court_decisions don't signal the distinction cleanly in the names themselves.

    Tool Count5/5

    Six tools is well-scoped for a single-jurisdiction legal research server: two search entry points, one retrieval, one verifier, one hierarchy helper, and a tiered search. Each tool earns its place without redundancy for its own sake.

    Completeness4/5

    Core legal research workflows are covered: statute search, case law search, tier-filtered decisions, full-text retrieval, citation verification, and court hierarchy. Minor gap: no way to verify multiple citations in one call or to look up a document directly by identifier without going through the retrieve tool, though agents can work around this.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search and retrieval of Belgian legislation and multi-tier court decisions, filtering case law by judicial instance, converting legal texts to Markdown, and verifying statutory and case-law citations against official registries.
      6
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provides read-only access to Swiss legislation and multi-tier court decisions, enabling searches, full-text retrieval as Markdown, court hierarchy listing, and statutory or case-law citation verification across official registries.
      6
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables read-only search and retrieval of Finnish legislation and multi-tier court decisions from official sources, with citation verification and Markdown conversion of legal documents.
      6
      MIT