Statistics Finland (StatFin/PxWeb): search tables, read metadata, fetch JSON-stat2 data.
Statfin MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Statistics Finland (StatFin/PxWeb): search tables, read metadata, fetch JSON-stat2 data.
MCP server for official statistics from Statistics Finland (Tilastokeskus) — the StatFin database, exposed through the PxWeb API. Search 3000+ tables, inspect their dimensions, and pull data as JSON-stat2. No API key required.
Once Statfin is connected, these are the calls the assistant has available:
sok_tabell — Keyword search across all StatFin tables. PxWeb has no server-side search, so this matches a bundled index (built from the full table tree)hent_tabell — Metadata for a table: title + dimensions (variables) with their valid value codes and labels. Read this first to learn which filter codes existhent_data — Fetch actual values as JSON-stat2, filtered by a flat {variabelkode: [verdier]} map. Supports special selections like {filter:'top', values:['1']}list_emner — List the ~140 StatFin subject areas (e.g. vaerak = Population structure). Scope a search or browse when a keyword missesnpm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Statfin's toolset — sok_tabell, hent_tabell, hent_data and 1 more — is a fair guide to whether it matches your workflow. It is maintained by 3121n; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| sok_tabell | Keyword search across all StatFin tables. PxWeb has no server-side search, so this matches a **bundled index** (built from the full table tree) locally and returns the most relevant tables with their tabell_id. |
| hent_tabell | Metadata for a table: title + dimensions (variables) with their valid value codes and labels. Read this first to learn which filter codes exist. |
| hent_data | Fetch actual values as JSON-stat2, filtered by a flat {variabelkode: [verdier]} map. Supports special selections like {filter:'top', values:['1']} for the latest period. |
| list_emner | List the ~140 StatFin subject areas (e.g. vaerak = Population structure). Scope a search or browse when a keyword misses. |
// Claude Desktop / Claude Code MCP config
{
"mcpServers": {
"statfin": {
"command": "npx",
"args": ["-y", "@nor-data/statfin-mcp"]
}
}
}Configuration as documented by the project. Restart the client after saving.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.