Dk MCP Server

MCP server for Danish legislation (Retsinformation) with native ELI and verifiable citations.

Local serverstdioPython

What is the Dk MCP Server?

MCP server for Danish legislation (Retsinformation) with native ELI and verifiable citations.

The short version

An MCP server for the Danish Retsinformation legal database (retsinformation.dk). It fetches Danish legislation as LexDania 2.1 XML behind native ELI URIs, with verifiable citations.

The tools it exposes

The server publishes 3 tools. What each one is for:

  • dk_get_act — Metadata for a document by year + number, or by accession
  • dk_get_text — Full LexDania XML of a document (verbatim official text)
  • dk_recent_changes — Documents changed on a given date (harvest API)

Recorded tools

  • dk_get_act — Metadata for a document by year + number, or by accession.
  • dk_get_text — Full LexDania XML of a document (verbatim official text).
  • dk_recent_changes — Documents changed on a given date (harvest API).

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
dk_get_actMetadata for a document by year + number, or by accession.
dk_get_textFull LexDania XML of a document (verbatim official text).
dk_recent_changesDocuments changed on a given date (harvest API).

How to install the Dk MCP Server

{
  "mcpServers": {
    "dk-eli-mcp": { "command": "dk-eli-mcp" }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DK_ELI_BASE_URLEndpoint or connection string the server talks to.Yes
DK_ELI_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Dk to dk get act.”
  • “Use Dk to dk get text.”
  • “Use Dk to dk recent changes.”

Frequently asked questions

MCP server for Danish legislation (Retsinformation) with native ELI and verifiable citations. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.