# eu.ansvar/finnish-law-mcp (npm · @ansvar/finnish-law-mcp)

Query Finnish statutes from Finlex, EU cross-references, case law, and preparatory works

- Trust score: 67/100 (medium)
- Change this week: +16
- Registry status: deprecated
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-04

> **Deprecated**: this server is marked deprecated in the MCP registry.

## Components

- npm · `@ansvar/finnish-law-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp.md), [page](https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp)

## Channel facts

- Registry: `npm`
- Package: `@ansvar/finnish-law-mcp`
- Version: `1.2.3`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-04.

- **Supply Chain Security**: 76/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known medium-severity CVE affects hono 4.12.33, reached via @modelcontextprotocol/sdk > hono. A fixed version is available.
  - 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.
  - Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 164 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 80/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2577 tokens (~151/item across 17 items; 16 tools + 1 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 30/100
  - Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add eu-ansvar-finnish-law-mcp -- npx -y @ansvar/finnish-law-mcp
```

### Codex

```bash
codex mcp add eu-ansvar-finnish-law-mcp -- npx -y @ansvar/finnish-law-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "eu-ansvar-finnish-law-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@ansvar/finnish-law-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add eu-ansvar-finnish-law-mcp --command npx --arg -y --arg @ansvar/finnish-law-mcp
```

### Hermes

```yaml
mcp_servers:
  eu-ansvar-finnish-law-mcp:
    command: "npx"
    args: ["-y", "@ansvar/finnish-law-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "eu-ansvar-finnish-law-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ansvar/finnish-law-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-04 (score 67, −1)

- [security regression] CVE-2026-69207 affects this package: medium
- [security regression] Known CVEs: partial → fail

### 2026-08-03 (score 68, +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.

### 2026-08-02 (score 67, +47)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → partial
- [security improvement] Known CVEs: unverified → partial
- [security] The scripts that run when this package is installed changed: postinstall
- [functional improvement] Tool coverage: unverified → 100
- [functional improvement] License: unverified → pass
- [functional improvement] Schema quality: unverified → 100
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → excellent
- [functional] Licence: Apache-2.0

### 2026-08-01 (score 20, −5)

- [security improvement] Malware scan: unverified → pass
- [functional regression] Tool coverage: 100 → unverified
- [functional regression] Schema quality: 100 → unverified

### 2026-07-31 (score 25, −8)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 33, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 51)

First indexed and scored.

## MCP tools (16)

### `search_legislation` (~200 tokens)

Search Finnish 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.

When NOT to use: If you already know the exact statute number and provision, use get_provision instead. If you need a comprehensive multi-source answer, use build_legal_stance.

Input parameters:

- `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 statute number (e.g., "1050/2018" or "2018:218")
- `limit` (number): Maximum results
- `query` (string, required): Search query in Finnish or English. Supports FTS5 syntax.
- `status` (string): Filter by document status

### `get_provision` (~268 tokens)

Retrieve a specific provision from a Finnish statute.

Specify the statute number and either chapter+section or provision_ref directly.
Examples:
  \- document_id="1050/2018", chapter="1", section="1" → 1 luku 1 §
  \- document_id="1050/2018", provision_ref="1:1" → same result
  \- document_id="434/2003", section="6" → 6 § (flat lookup)

Omit chapter/section/provision_ref to get all provisions in the statute.

When NOT to use: If you are searching by keyword and don't know the exact statute/provision, use search_legislation instead.

Input parameters:

- `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, required): statute number (e.g., "1050/2018" or "2018:218")
- `provision_ref` (string): Direct provision reference (e.g., "3:5" for luku 3 § 5)
- `section` (string): Section number (e.g., "5", "5 a")

### `search_case_law` (~166 tokens)

Search Finnish court decisions (oikeustapaukset).

Searches case summaries and keywords. Filter by court (KKO, KHO, hovioikeus, etc.) and date range.

When NOT to use: If you need statute text, use search_legislation. Case law searches only cover court decisions.

Input parameters:

- `court` (string): Filter by court (e.g., "KKO", "KHO", "hovioikeus")
- `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
- `query` (string, required): Search query for case law summaries

### `get_preparatory_works` (~106 tokens)

Get preparatory works (esityöt) for a Finnish statute.

Returns linked government proposals (HE), committee reports, and related documents with summaries.
Essential for understanding legislative intent behind statutory provisions.

When NOT to use: If you need the statute text itself, use get_provision. Preparatory works explain legislative intent, not current law.

Input parameters:

- `document_id` (string, required): statute number (e.g., "1050/2018" or "2018:218")

### `validate_citation` (~186 tokens)

Validate a Finnish 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:
  \- "Laki 1050/2018 1 luku 1 §"
  \- "1050/2018 1:1"
  \- "SFS 2018:218 1 kap. 1 §" (legacy compatibility)
  \- "Prop. 2017/18:105"
  \- "SOU 2017:39"
  \- "NJA 2020 s. 45"

When NOT to use: If you want to format a citation string, use format_citation. This tool checks existence in the database.

Input parameters:

- `citation` (string, required): Citation string to validate

### `build_legal_stance` (~173 tokens)

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.

When NOT to use: If you need a specific provision or targeted search, use get_provision or search_legislation instead.

Input parameters:

- `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
- `query` (string, required): Legal question or topic to research

### `format_citation` (~117 tokens)

Format a Finnish legal citation per standard conventions.

Formats:
  \- full: "Laki 1050/2018 3 luku 5 §"
  \- short: "1050/2018 3:5"
  \- pinpoint: "3 luku 5 §"

When NOT to use: If you want to check whether a citation exists in the database, use validate_citation instead.

Input parameters:

- `citation` (string, required): Citation string to format
- `format` (string): Output format (default: "full")

### `check_currency` (~155 tokens)

Check if a Finnish 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.

When NOT to use: If you need the actual text of a provision, use get_provision. This tool only checks status.

Input parameters:

- `as_of_date` (string): Optional historical date (YYYY-MM-DD). Computes in-force status as of that date.
- `document_id` (string, required): statute number (e.g., "1050/2018" or "2018:218")
- `provision_ref` (string): Optional provision reference to check (e.g., "3:5")

### `get_eu_basis` (~172 tokens)

Get EU legal basis (directives and regulations) for a Finnish 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 Finnish statute is based on.

When NOT to use: For provision-level EU references, use get_provision_eu_basis. To find Finnish laws implementing EU law, use get_finnish_implementations.

Input parameters:

- `include_articles` (boolean): Include specific EU article references (default: false)
- `reference_types` (array): Filter by reference type (implements, supplements, applies, etc.)
- `sfs_number` (string, required): statute number (e.g., "1050/2018" or "2018:218")

### `get_finnish_implementations` (~170 tokens)

Find Finnish statutes implementing a specific EU directive or regulation.

Given an EU document ID (e.g., "regulation:2016/679" for GDPR), returns all Finnish statutes that implement, supplement, or reference it. Shows implementation status and which articles are referenced.

Essential for finding Finnish law corresponding to EU requirements.

When NOT to use: If you have a Finnish statute and want its EU basis, use get_eu_basis (opposite direction).

Input parameters:

- `eu_document_id` (string, required): 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)

### `search_eu_implementations` (~185 tokens)

Search for EU directives and regulations with Finnish implementation information.

Search by keyword, type, year range, or community. Returns matching EU documents with counts of Finnish statutes referencing them.

Use this for exploratory searches like "data protection" or "privacy" to find relevant EU law.

When NOT to use: If you already know the EU document ID, use get_finnish_implementations for direct lookup.

Input parameters:

- `community` (string): Filter by community
- `has_finnish_implementation` (boolean): Filter by Finnish implementation existence
- `limit` (number): Maximum results
- `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)

### `get_provision_eu_basis` (~147 tokens)

Get EU legal basis for a specific provision within a Finnish 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.

When NOT to use: For statute-level EU references (not a specific provision), use get_eu_basis instead.

Input parameters:

- `provision_ref` (string, required): Provision reference (e.g., "1:1" or "3:5")
- `sfs_number` (string, required): statute number (e.g., "1050/2018" or "2018:218")

### `validate_eu_compliance` (~185 tokens)

Validate EU compliance status for a Finnish 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.

When NOT to use: For basic EU reference lookup, use get_eu_basis. This tool assesses compliance status.

Input parameters:

- `eu_document_id` (string): Optional: check compliance with specific EU document
- `provision_ref` (string): Optional provision reference (e.g., "1:1")
- `sfs_number` (string, required): statute number (e.g., "1050/2018" or "2018:218")

### `about` (~35 tokens)

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

### `list_sources` (~39 tokens)

List all authoritative data sources used by this server, including provider, license, coverage, and freshness metadata. Call this to understand where the data comes from.

### `get_provision_at_date` (~258 tokens)

Retrieve Finnish statute provision text as it read on a specific date (time-travel query).

This tool enables historical legal research by showing how a provision was worded
at any point in time, accounting for all amendments since original enactment.

Use cases:
\- "What did Tietosuojalaki 1:3 say in 2019?"
\- "Show me Rikoslaki 3:1 before the 2019 amendment"
\- "Was this provision in force on 2020-06-15?"

Supports:
\- Historical versions (any date in the past)
\- Current version (today's date)
\- Future provisions (enacted but not yet in force)

Returns the complete provision text, validity dates, and optionally the
amendment history showing what changed after the queried date.

Input parameters:

- `date` (string, required): ISO date (YYYY-MM-DD) to query
- `include_amendments` (boolean): Include amendment history after this date (default: false)
- `provision_ref` (string, required): Provision reference (e.g., "1:3" or "5")
- `sfs` (string, required): Statute number (e.g., "1050/2018" for Tietosuojalaki)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp#diagnostics

## Score history

- 2026-08-04: 67
- 2026-08-03: 68
- 2026-08-02: 67
- 2026-08-01: 20
- 2026-07-31: 25
- 2026-07-30: 33
- 2026-07-28: 51
- 2026-07-27: 51

## Links

- npm package: https://www.npmjs.com/package/@ansvar/finnish-law-mcp
- Socket report: https://socket.dev/npm/package/@ansvar/finnish-law-mcp
- Repository: https://github.com/Ansvar-Systems/finnish-law-mcp
- Changelog RSS feed: https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/eu-ansvar-finnish-law-mcp/ansvar-finnish-law-mcp
