dk-eli-mcp

v0.3.3
io.github.matematicsolutions/dk-eli-mcp Checked 2 days ago Published 3 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

dk_get_act

Fetch Danish act / order metadata by ELI coordinate or accession.

ParameterTypeDescription
accessione.g. ``"A20180050230"`` (alternative to year + number).
numbere.g. ``502`` (use together with ``year``).
yeare.g. ``2018`` (use together with ``number``).

dk_get_text

Fetch the full LexDania XML of a Danish document (verbatim official text).

ParameterTypeDescription
accessione.g. ``"A20180050230"`` (alternative to year + number).
numbere.g. ``502`` (use together with ``year``).
yeare.g. ``2018`` (use together with ``number``).

dk_coverage

Declare what this connector covers, how it is sourced, and what it does NOT cover. Call this before telling a user that the law "does not contain" something, and whenever a search comes back empty: the absence may be a gap in this connector rather than in the law. Every gap carries a fallback saying where to look instead. Returns: ``Coverage`` with families, an as-of note, and a non-empty list of known gaps.

dk_recent_changes

List Danish documents changed on a given date (harvest API).

ParameterTypeDescription
date *string``YYYY-MM-DD`` (e.g. ``"2026-06-26"``). The harvest API is available 03:00-23:45 Danish time; an empty list is a valid "nothing changed" result.