home / mcp / icelandic law mcp server

Icelandic Law MCP Server

Provides Icelandic statutes with section-level retrieval, citation parsing, and EU cross-reference tools for efficient legal research.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "ansvar-systems-icelandic-law-mcp": {
      "command": "npx",
      "args": [
        "@ansvar/icelandic-law-mcp"
      ],
      "env": {
        "ICELANDIC_LAW_DB_PATH": "/path/to/your/database"
      }
    }
  }
}

You can run the Icelandic Law MCP Server to retrieve Icelandic statutes with section-level granularity, parse and validate citations, and access EU cross-reference tools. This server is designed for efficient statute search, retrieval, and citation workflows, and it provides a straightforward way to connect with MCP clients either over stdio or via an HTTP endpoint if configured.

How to use

You will run the MCP server locally and connect an MCP client that can communicate through stdio. The supported usage pattern is to start the server via a local command and then point your client at the provided stdio interface. To use the server directly from the command line, you can invoke the official package as an MCP runtime.

How to install

Prerequisites: Node.js and npm must be available on your system.

npm ci
npm run ingest
npm run build:db
npm run build
npm test

Additional notes

Security and daily updates are handled through automated workflows that run checks, verification, and updates. You can run the local usage command to start using the MCP server or configure an MCP client to communicate via stdio using the package name provided.

Local usage details

To run the MCP server locally using stdio, execute the following command. This starts the MCP server and exposes a stdio interface that your MCP client can connect to.

npx @ansvar/icelandic-law-mcp

Environment and configuration

One optional environment variable controls where the database is located. You can override the default database path by setting this variable in your environment before starting the server.

export ICELANDIC_LAW_DB_PATH=/path/to/your/database