# Lexar

Lexar lets an AI assistant search current Norwegian statutes and central regulations from Lovdata, with source references. Use it to inspect legal wording and related documents.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1
- Author: Publifye
- License: CC-BY-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Publifye/mcp/tree/HEAD/services/lexar
- Updated: 2026-10-11
- HTML: https://affpapa.org/en/nevibecode/mcp/lexar

## What it does

Lexar connects an assistant to consolidated Norwegian statutes and central regulations from Lovdata. Its research tools find documents, read provisions, show document structure and follow links between materials. When a name or citation is ambiguous, Lexar returns candidates instead of silently choosing one.

The corpus also includes preparatory works linked to relevant provisions; these documents can be opened by ID. Lexar provides source text and navigation, not legal advice. It does not cover court decisions, local regulations, English translations or historical consolidated versions. A document’s presence also does not establish that every provision in it is in force.

## Requirements
- Remote server: `https://lexar-api.publifye.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http lexar https://lexar-api.publifye.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add lexar --url https://lexar-api.publifye.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "lexar": {
            "url": "https://lexar-api.publifye.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "lexar": {
            "type": "http",
            "url": "https://lexar-api.publifye.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http lexar https://lexar-api.publifye.com/mcp
```

## When to use it
- find a Norwegian statute by name or citation
- check the wording of a specific provision
- inspect the structure of a legal document
- locate preparatory works linked to a provision

## Example prompts
- Find the Norwegian statute referred to in this citation and show possible matches.
- Read the provision about deadlines and give me its source.
- Find preparatory works connected to this statute.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [Front-End Checklist](https://affpapa.org/en/nevibecode/mcp/front-end-checklist.md) — MCP server · ★ 74569
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899

From the same set: [publifye/mcp](https://affpapa.org/en/nevibecode/by/publifye/mcp.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
