io.github.matematicsolutions/dk-eli-mcp
MCP server for Danish legislation (Retsinformation) with native ELI and verifiable citations.
Versions
0.1.1latestTools 4
dk_get_act Fetch Danish act / order metadata by ELI coordinate or accession. Args: year: e.g. ``2018`` (use together with ``number``). number: e.g. ``502`` (use together with ``year``). accession: e.g. ``"A20180050230"`` (alternative to year + number). Returns: ``Act`` with ``eli_uri``, ``human_readable_citation``, ``source_url``.
dk_get_text Fetch the full LexDania XML of a Danish document (verbatim official text). Args: year: e.g. ``2018`` (use together with ``number``). number: e.g. ``502`` (use together with ``year``). accession: e.g. ``"A20180050230"`` (alternative to year + number). Returns: ``LawText`` with the citation contract and ``content`` (LexDania XML).
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). Args: date: ``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. Returns: ``RecentChangesResult`` with ``items`` - each ``RecentChange`` carries an accession number and ``eli_uri`` you can feed back into ``dk_get_act`` / ``dk_get_text``.
Permissions 3
network medium filesystem low env_vars low