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
Available components
Deprecated
This server is marked deprecated in the MCP registry.
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
- Repository check failed: the declared repository URL redirects; it must resolve directly. See how to fix → View diagnostics → Fail
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 163 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
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
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
claude mcp add eu-ansvar-danish-law-mcp -- npx -y @ansvar/danish-law-mcp
codex mcp add eu-ansvar-danish-law-mcp -- npx -y @ansvar/danish-law-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"eu-ansvar-danish-law-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@ansvar/danish-law-mcp"
],
"enabled": true
}
}
} openclaw mcp add eu-ansvar-danish-law-mcp --command npx --arg -y --arg @ansvar/danish-law-mcp
mcp_servers:
eu-ansvar-danish-law-mcp:
command: "npx"
args: ["-y", "@ansvar/danish-law-mcp"] {
"mcpServers": {
"eu-ansvar-danish-law-mcp": {
"command": "npx",
"args": [
"-y",
"@ansvar/danish-law-mcp"
]
}
}
} 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.
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.
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.
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.
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | — | Optional historical date (YYYY-MM-DD) for time-aware retrieval. |
| document_id | string | — | Optionally limit statute search to one document |
| include_case_law | boolean | — | Include case law results (default: true) |
| include_preparatory_works | boolean | — | Include preparatory works results (default: true) |
| limit | number | — | Max results per category (default: 5, max: 20) |
| query | string | yes | Legal 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.
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | — | Optional historical date (YYYY-MM-DD). Computes in-force status as of that date. |
| document_id | string | yes | document ID (e.g., "2018:218") |
| provision_ref | string | — | Optional 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 §"
| Name | Type | Req | Description |
|---|---|---|---|
| citation | string | yes | Citation string to format |
| format | string | — | Output 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.
| Name | Type | Req | Description |
|---|---|---|---|
| eu_document_id | string | yes | EU document ID (e.g., "regulation:2016/679", "directive:95/46") |
| in_force_only | boolean | — | Return only in-force statutes (default: false) |
| primary_only | boolean | — | Return 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.
| Name | Type | Req | Description |
|---|---|---|---|
| document_id | string | yes | document ID (e.g., "2018:218") |
| include_articles | boolean | — | Include specific EU article references (default: false) |
| reference_types | array | — | Filter 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.
| Name | Type | Req | Description |
|---|---|---|---|
| document_id | string | yes | document 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.
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | — | Optional historical date (YYYY-MM-DD). Returns the provision text valid on that date. |
| chapter | string | — | Chapter number (e.g., "3"). Omit for flat statutes. |
| document_id | string | yes | document ID (e.g., "2018:218") |
| provision_ref | string | — | Direct provision reference (e.g., "3:5" for Kap 3 § 5) |
| section | string | — | Section 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.
| Name | Type | Req | Description |
|---|---|---|---|
| document_id | string | yes | document ID (e.g., "2018:218") |
| provision_ref | string | yes | Provision 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.
| Name | Type | Req | Description |
|---|---|---|---|
| court | string | — | Filter by court |
| date_from | string | — | Start date filter (ISO 8601, e.g., "2020-01-01") |
| date_to | string | — | End date filter (ISO 8601) |
| limit | number | — | Maximum results (default: 10, max: 50) |
| query | string | yes | Search 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.
| Name | Type | Req | Description |
|---|---|---|---|
| community | string | — | Filter by community |
| has_danish_implementation | boolean | — | Filter by Danish implementation existence |
| limit | number | — | Maximum results (default: 20, max: 100) |
| query | string | — | Keyword search (title, short name, CELEX, description) |
| type | string | — | Filter by document type |
| year_from | number | — | Filter by year (from) |
| year_to | number | — | Filter 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.
| Name | Type | Req | Description |
|---|---|---|---|
| as_of_date | string | — | Optional historical date filter (YYYY-MM-DD). Returns versions valid on that date. |
| document_id | string | — | Filter to a specific statute by document ID (e.g., "2018:218") |
| limit | number | — | Maximum results (default: 10, max: 50) |
| query | string | yes | Search query in Danish or English. Supports FTS5 syntax. |
| status | string | — | Filter 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"
| Name | Type | Req | Description |
|---|---|---|---|
| citation | string | yes | Citation 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.
| Name | Type | Req | Description |
|---|---|---|---|
| document_id | string | yes | document ID (e.g., "2018:218") |
| eu_document_id | string | — | Optional: check compliance with specific EU document |
| provision_ref | string | — | Optional provision reference (e.g., "1:1") |
No output schema declared.
No examples provided.