Statfin MCP server
Statistics Finland (StatFin/PxWeb): search tables, read metadata, fetch JSON-stat2 data.
0 stars44 downloads/wk
Reviews
Write oneNobody has reviewed Statfin yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Statfin tools
No tool declarations could be read from the package source. They show once the server is installed.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan6 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 112 days ago8/15
- Maintainer identityregistry namespace matches repository owner6/10
How Statfin compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 62% of 3,470 Web search servers
- Downloads a week
- 44
- more than 30% of 827 Web search servers with a package
Install Statfin in Claude Code, Cursor or VS Code
Runs npx -y @nor-data/statfin-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add statfin-mcp -- npx -y @nor-data/statfin-mcp
What the publisher says
From the Statfin repository's README, as published. We do not edit it. Read it on GitHub
@nor-data/statfin-mcp
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.
Part of the nor-data family of Nordic open-data MCP servers. Built on the same pattern as the SSB (Norway) server — StatFin and SSB both speak PxWeb, so the tools mirror each other.
Tools
All tools accept an optional lang (en default, fi, sv). Variable codes are language-independent; only titles/labels are localised.
Example agent flow
→ tabellid: "vaerak/statfinvaerakpxt11ra.px"
- sok_tabell({ query: "population by region" })
→ latest national figures as JSON-stat2
- henttabell({ tabellid }) → sees variables Alue (area), Vuosi (year), Tiedot (info)
- hentdata({ tabellid, filtre: { Alue: ["SSS"], Vuosi: { filter: "top", values: ["1"] } } })
Install
// Claude Desktop / Claude Code MCP config
{
"mcpServers": {
"statfin": {
"command": "npx",
"args": ["-y", "@nor-data/statfin-mcp"]
}
}
}Develop
npm install
npm run build-index # crawl the StatFin tree → data/tables-index.json (~1–2 min)
npm run dev # run from source via tsx
npm run build # compile to dist/The search index is bundled in the package (data/tables-index.json). Re-run npm run build-index to refresh it (nightly is plenty — StatFin updates tables, not the tree, frequently).
Notes & limits
(HTTP 403) — keep hent_data selections small (few regions × few years).
- PxWeb allows 30 calls / 10 s and rejects queries over ~100 000 cells
are skipped during indexing; this is a StatFin quirk, not a bug here. The index records them under skipped.
- A few subjects (vtp, kivih, sekn, akay) return HTTP 400 server-side and
- Data licensed under CC BY 4.0 by Statistics Finland.
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Statfin: common questions
- Is Statfin MCP server safe?
- Mostly: it is graded B (78/100). Read the Statfin safety report
- How do I install Statfin?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Statfin need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Statfin maintained?
- The last commit was 149 days ago (2026-06-07). The latest release is v0.1.0.
- What can I use instead of Statfin?
- Servers from other publishers that do the same job: GitHits MCP server, jDocmunch MCP server and Zotero MCP server.
- How does Statfin compare with other Web search MCP servers?
- safety score 78/100 (higher than 62% of 3,470 Web search servers); downloads a week 44 (more than 30% of 827 Web search servers with a package). Full comparison.
Alternatives to Statfin
Same job from other publishers: the closest match first, then the best rated.
GitHitsSearch public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.not reviewedEstablishedA- jDocmunch MCPSection-level doc search for .md, .rst, .adoc, .ipynb, .html, .yaml, .json, and OpenAPI specs.not reviewedEstablishedA
- Zotero MCPSearch your Zotero library, retrieve item metadata, and read full text from AI assistants.not reviewedEstablishedB
- HasData Yellow PagesYellow Pages local business search and full business listings, as structured JSON.not reviewedEstablishedA
- CalibreCalibre ebook library server: search, read content, curate metadata, semantic search, gated writes.not reviewedGrowingA