Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

eu.ansvar/danish-law-mcp

NPM · @ANSVAR/DANISH-LAW-MCP · SCANNED AUG 3

Query Danish laws and regulations, EU cross-references, case law, and preparatory works

+17 this week 63 Trust /100

Deprecated

This server is marked deprecated in the MCP registry.

Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security80
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.Partial
  • Runs a script at install time (postinstall) that we could not recognise. It may be perfectly ordinary, but we do not read the published tarball, so we cannot say what it does. View diagnostics → Partial
  • Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency19
Schema Quality & AI Usability81
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (good).Pass
  • Context-footprint check failed: tool/resource definitions use about 1877 tokens (~117/item across 16 items; 15 tools + 1 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management27
  • Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @ansvar/danish-law-mcp

# add to Claude Code
claude mcp add eu-ansvar-danish-law-mcp -- npx -y @ansvar/danish-law-mcp
# add to Codex CLI
codex mcp add eu-ansvar-danish-law-mcp -- npx -y @ansvar/danish-law-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "eu-ansvar-danish-law-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@ansvar/danish-law-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add eu-ansvar-danish-law-mcp --command npx --arg -y --arg @ansvar/danish-law-mcp
# ~/.hermes/config.yaml
mcp_servers:
  eu-ansvar-danish-law-mcp:
    command: "npx"
    args: ["-y", "@ansvar/danish-law-mcp"]
// mcp.json
{
  "mcpServers": {
    "eu-ansvar-danish-law-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ansvar/danish-law-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 23 to 27. That category is still filling its 30-day observation window: 7 days of observed history at the previous scan, 8 at this one. The score rises as the window fills, whether or not the server changes.

  • 2 Aug 26 +10
    • Provenance: fail → unverified security
    • Install scripts: partial → unverified security
    • Known CVEs: unverified → partial security
    • Stability: Stability not yet verified: we do not have a sandbox capture of the MCP schema this version of the package serves yet. security
    • The scripts that run when this package is installed changed: postinstall security
    • Security disclosure: fail → unverified functional
    • Capabilities: pass → unverified functional
    • License: pass → unverified functional
    • Tool coverage: 100 → unverified functional
    • Schema quality: 100 → unverified functional
    • Maintenance: pass → unverified functional
    • Dependency health: unverified → partial functional
    • Stability: unverified → 0.23 functional
    • Licence: Apache-2.0 functional
  • 1 Aug 26 −10
    • Known CVEs: partial → unverified security
    • Dependency health: partial → unverified functional
  • 31 Jul 26 +7
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −18
    • Malware scan: pass → unverified security
  • 29 Jul 26 +27
    • Provenance: unverified → fail security
    • Known CVEs: unverified → partial security
    • Install scripts: unverified → partial security
    • The scripts that run when this package is installed changed: postinstall security
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • Schema quality: unverified → good functional
    • License: unverified → pass functional
    • Licence: Apache-2.0 functional
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/@ansvar/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Install scripts 1 script
Hook Tier Command
postinstall unreviewed test -d dist || npm run build || true
Dependencies 96 packages

96 packages in the resolved dependency tree · 96 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 15 exposed · ~1,862 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
about ~35

Server metadata, dataset statistics, freshness, and provenance. Call this to verify data coverage, currency, and content basis before relying on results.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

build_legal_stance ~158

Build a comprehensive set of citations for a legal question. Searches across statutes, case law, and preparatory works simultaneously to aggregate relevant citations. Use this for broad legal research questions.

NameTypeReqDescription
as_of_datestringOptional historical date (YYYY-MM-DD) for time-aware retrieval.
document_idstringOptionally limit statute search to one document
include_case_lawbooleanInclude case law results (default: true)
include_preparatory_worksbooleanInclude preparatory works results (default: true)
limitnumberMax results per category (default: 5, max: 20)
querystringyesLegal question or topic to research

No output schema declared.

No examples provided.

check_currency ~121

Check if a Danish statute or provision is in force (current or historical). Returns the document's status (in_force, amended, repealed, not_yet_in_force), dates, and warnings. Provide as_of_date for historical evaluation.

NameTypeReqDescription
as_of_datestringOptional historical date (YYYY-MM-DD). Computes in-force status as of that date.
document_idstringyesdocument ID (e.g., "2018:218")
provision_refstringOptional provision reference to check (e.g., "3:5")

No output schema declared.

No examples provided.

format_citation ~90

Format a Danish legal citation per standard conventions. Formats: - full: "document 2018:218 3 kap. 5 §" - short: "2018:218 3:5" - pinpoint: "3 kap. 5 §"

NameTypeReqDescription
citationstringyesCitation string to format
formatstringOutput format (default: "full")

No output schema declared.

No examples provided.

get_danish_implementations ~142

Find Danish statutes implementing a specific EU directive or regulation. Given an EU document ID (e.g., "regulation:2016/679" for GDPR), returns all Danish statutes that implement, supplement, or reference it. Shows implementation status and which articles are referenced. Essential for finding Danish law corresponding to EU requirements.

NameTypeReqDescription
eu_document_idstringyesEU document ID (e.g., "regulation:2016/679", "directive:95/46")
in_force_onlybooleanReturn only in-force statutes (default: false)
primary_onlybooleanReturn only primary implementing statutes (default: false)

No output schema declared.

No examples provided.

get_eu_basis ~127

Get EU legal basis (directives and regulations) for a Danish statute. Returns all EU directives and regulations that this statute implements, supplements, or references. Includes reference types, article citations, and whether each EU document is a primary implementation. Essential for understanding which EU law a Danish statute is based on.

NameTypeReqDescription
document_idstringyesdocument ID (e.g., "2018:218")
include_articlesbooleanInclude specific EU article references (default: false)
reference_typesarrayFilter by reference type (implements, supplements, applies, etc.)

No output schema declared.

No examples provided.

get_preparatory_works ~66

Get preparatory works (forarbejder) for a Danish statute. Returns linked preparatory documents with summaries. Essential for understanding legislative intent behind statutory provisions.

NameTypeReqDescription
document_idstringyesdocument ID of the statute (e.g., "2018:218")

No output schema declared.

No examples provided.

get_provision ~239

Retrieve a specific provision from a Danish statute. Specify the document ID and either chapter+section or provision_ref directly. Examples: - document_id="2018:218", chapter="1", section="1" → 1 kap. 1 § DSL - document_id="2018:218", provision_ref="1:1" → same result - document_id="1998:204", section="5 a" → 5 a § PUL (flat statute, no chapter) Omit chapter/section/provision_ref to get all provisions in the statute.

NameTypeReqDescription
as_of_datestringOptional historical date (YYYY-MM-DD). Returns the provision text valid on that date.
chapterstringChapter number (e.g., "3"). Omit for flat statutes.
document_idstringyesdocument ID (e.g., "2018:218")
provision_refstringDirect provision reference (e.g., "3:5" for Kap 3 § 5)
sectionstringSection number (e.g., "5", "5 a")

No output schema declared.

No examples provided.

get_provision_eu_basis ~115

Get EU legal basis for a specific provision within a Danish statute. Returns EU directives/regulations that a specific provision implements or references, with article-level precision. For example, DSL 2:1 references GDPR Article 6.1.c. Use this for pinpoint EU compliance checks at the provision level.

NameTypeReqDescription
document_idstringyesdocument ID (e.g., "2018:218")
provision_refstringyesProvision reference (e.g., "1:1" or "3:5")

No output schema declared.

No examples provided.

list_sources ~31

List all data sources and their provenance. Returns source URLs, licenses, and coverage information for transparency and audit compliance.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

search_case_law ~119

Search Danish court decisions (retspraksis). Searches case summaries and keywords. Filter by court and date range.

NameTypeReqDescription
courtstringFilter by court
date_fromstringStart date filter (ISO 8601, e.g., "2020-01-01")
date_tostringEnd date filter (ISO 8601)
limitnumberMaximum results (default: 10, max: 50)
querystringyesSearch query for case law summaries

No output schema declared.

No examples provided.

search_eu_implementations ~168

Search for EU directives and regulations with Danish implementation information. Search by keyword, type, year range, or community. Returns matching EU documents with counts of Danish statutes referencing them. Use this for exploratory searches like "data protection" or "privacy" to find relevant EU law.

NameTypeReqDescription
communitystringFilter by community
has_danish_implementationbooleanFilter by Danish implementation existence
limitnumberMaximum results (default: 20, max: 100)
querystringKeyword search (title, short name, CELEX, description)
typestringFilter by document type
year_fromnumberFilter by year (from)
year_tonumberFilter by year (to)

No output schema declared.

No examples provided.

search_legislation ~164

Search Danish statutes and regulations by keyword. Searches provision text using FTS5 with BM25 ranking. Supports boolean operators (AND, OR, NOT), phrase search ("exact phrase"), and prefix matching (term*). Returns matched provisions with snippets, relevance scores, and document metadata.

NameTypeReqDescription
as_of_datestringOptional historical date filter (YYYY-MM-DD). Returns versions valid on that date.
document_idstringFilter to a specific statute by document ID (e.g., "2018:218")
limitnumberMaximum results (default: 10, max: 50)
querystringyesSearch query in Danish or English. Supports FTS5 syntax.
statusstringFilter by document status

No output schema declared.

No examples provided.

validate_citation ~134

Validate a Danish legal citation against the database. Parses the citation, checks that the document and provision exist, and returns warnings about status (repealed, amended). This is the zero-hallucination enforcer. Supported formats: - "document 2018:218 1 kap. 1 §" - "2018:218 1:1" - "Prop. 2017/18:105" - "SOU 2017:39" - "NJA 2020 s. 45"

NameTypeReqDescription
citationstringyesCitation string to validate

No output schema declared.

No examples provided.

validate_eu_compliance ~153

Validate EU compliance status for a Danish statute or provision. Checks for: - References to repealed EU directives (e.g., Data Protection Directive 95/46/EC) - Missing implementation status - Outdated references Returns compliance status (compliant, partial, unclear, not_applicable) with warnings and recommendations. Note: This is Phase 1 validation. Full compliance checking against EU requirements will be added in future phases.

NameTypeReqDescription
document_idstringyesdocument ID (e.g., "2018:218")
eu_document_idstringOptional: check compliance with specific EU document
provision_refstringOptional provision reference (e.g., "1:1")

No output schema declared.

No examples provided.