Lexar MCP MCP server
Lexar is an MCP service operated by Publifye AS that provides AI assistants with access to current Norwegian laws and regulations. It allows agents to search, look up, and read consolidated laws, central regulations, and official gazettes directly from source text, including status information on whether provisions are in force, without relying on the model's memory or providing legal advice.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://lexar-api.publifye.com/mcpWhat you can do with it
- Search for specific Norwegian laws by name or keyword
- Look up current central regulations and official gazettes
- Verify if a legal provision is currently in force
- Cite source text from Lovdata with precise references
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http lexar-mcp https://lexar-api.publifye.com/mcpCodex
codex mcp add lexar-mcp --url https://lexar-api.publifye.com/mcpCursor
{
"mcpServers": {
"lexar-mcp": {
"url": "https://lexar-api.publifye.com/mcp"
}
}
}Cline
{
"mcpServers": {
"lexar-mcp": {
"type": "streamableHttp",
"url": "https://lexar-api.publifye.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"lexar-mcp": {
"type": "http",
"url": "https://lexar-api.publifye.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http lexar-mcp https://lexar-api.publifye.com/mcpClaude Desktop
{
"mcpServers": {
"lexar-mcp": {
"url": "https://lexar-api.publifye.com/mcp"
}
}
}Windsurf
{
"mcpServers": {
"lexar-mcp": {
"serverUrl": "https://lexar-api.publifye.com/mcp"
}
}
}Other documentation and reference servers
Do you run Lexar MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.