# io.github.3121n/statfin-mcp (npm · @nor-data/statfin-mcp)

Statistics Finland (StatFin/PxWeb): search tables, read metadata, fetch JSON-stat2 data.

- Trust score: 65/100 (medium)
- Change this week: +41
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@nor-data/statfin-mcp`: 65/100 (this document), [markdown](https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp.md), [page](https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp)

## Channel facts

- Registry: `npm`
- Package: `@nor-data/statfin-mcp`
- Version: `0.1.0`
- 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-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (95 of 99), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (95 of 99), 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 (MIT).
  - Actively maintained (last published 56 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 74/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 572 tokens (~143/item across 4 items; 4 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **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.

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### Claude

```bash
claude mcp add 3121n-statfin-mcp -- npx -y @nor-data/statfin-mcp
```

### Codex

```bash
codex mcp add 3121n-statfin-mcp -- npx -y @nor-data/statfin-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "3121n-statfin-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@nor-data/statfin-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add 3121n-statfin-mcp --command npx --arg -y --arg @nor-data/statfin-mcp
```

### Hermes

```yaml
mcp_servers:
  3121n-statfin-mcp:
    command: "npx"
    args: ["-y", "@nor-data/statfin-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "3121n-statfin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@nor-data/statfin-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-02 (score 65, +45)

- [security regression] Provenance: unverified → fail
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] License: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional improvement] MCP protocol: unverified → pass
- [functional] Licence: MIT

### 2026-08-01 (score 20, +14)

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

### 2026-07-31 (score 6, −39)

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

### 2026-07-29 (score 45, +21)

- [functional improvement] Tool coverage: unverified → 100
- [functional] First check of Schema quality: unverified
- [functional] First check of Schema quality: fail
- [functional] First check of Schema quality: fail
- [functional] First check of Tool coverage: 100

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

First indexed and scored.

## MCP tools (4)

### `sok_tabell` (~142 tokens)

Search the Statistics Finland (Tilastokeskus) StatFin database for statistical tables by keyword. PxWeb has no server-side search, so this matches a bundled index of all StatFin tables locally and returns the most relevant ones with their tabell_id (use it in hent_tabell / hent_data). Search English titles.

Input parameters:

- `emne` (string): Optional: restrict to a subject id (from list_emner), e.g. 'vaerak'
- `limit` (integer): Max hits (default 10)
- `query` (string, required): Search term, e.g. 'population', 'unemployment', 'consumer price index', 'building'

### `hent_tabell` (~136 tokens)

Get metadata for a StatFin table: title, dimensions (variables) and their valid value codes + labels. Use this before hent_data to learn which filter codes are available. Variable codes (e.g. 'Alue', 'Vuosi') are language-independent; pass them verbatim to hent_data.

Input parameters:

- `lang` (string): Language for titles/labels: 'en' (default), 'fi' or 'sv'. Table codes are language-independent.
- `tabell_id` (string, required): Table id from sok_tabell, e.g. 'vaerak/statfin_vaerak_pxt_11ra.px'

### `hent_data` (~219 tokens)

Fetch actual data values from a StatFin table as JSON-stat2. `filtre` is a flat object mapping each variable code (from hent_tabell) to a list of selected value codes, e.g. {Alue: ['SSS'], Vuosi: ['2024']}. Omit filtre for the table's default selection. Special selections: {filter:'top', values:['1']} for the latest value(s), {filter:'agg:...'} for groupings. Keep selections small — the API rejects queries over ~100 000 cells.

Input parameters:

- `filtre` (object): variabelkode → verdiliste, eller variabelkode → {filter, values} for spesialfiltre som 'top'
- `lang` (string): Language for titles/labels: 'en' (default), 'fi' or 'sv'. Table codes are language-independent.
- `tabell_id` (string, required): Table id from sok_tabell, e.g. 'vaerak/statfin_vaerak_pxt_11ra.px'

### `list_emner` (~75 tokens)

List the StatFin subject areas (~140 databases, e.g. 'vaerak' = Population structure). Use a subject id to scope sok_tabell, or to browse when a keyword search misses.

Input parameters:

- `query` (string): Optional keyword to filter subject titles, e.g. 'population', 'price', 'transport'

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp#diagnostics

## Score history

- 2026-08-03: 65
- 2026-08-02: 65
- 2026-08-01: 20
- 2026-07-31: 6
- 2026-07-29: 45
- 2026-07-28: 24
- 2026-07-27: 24

## Links

- npm package: https://www.npmjs.com/package/@nor-data/statfin-mcp
- Socket report: https://socket.dev/npm/package/@nor-data/statfin-mcp
- Repository: https://github.com/3121n/nor-data-statfin-mcp
- Changelog RSS feed: https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/3121n-statfin-mcp/nor-data-statfin-mcp
