Skip to content
Stats-MCPPublic

About

MCP servers for official statistics: national statistics offices and Eurostat, one endpoint for all at statsmcp.dev/mcp

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

StatsMCP

CI npm: @statsmcp/sistat npm: @statsmcp/core Licence: MIT

Website: statsmcp.dev

Official national statistics for every AI assistant. StatsMCP is a set of MCP servers for the databases of national statistics offices.

There are servers for Slovenia, Norway, Estonia, the Faroe Islands, Finland, Sweden, Denmark, the Netherlands, Iceland, Croatia, Ireland, Canada, Australia and Singapore, plus Eurostat for harmonised data on all EU and EFTA countries. All except Singapore are hosted, behind one endpoint or one each. The Databases table lists each database and its package. The servers support PxWeb API v1 and v2, the StatBank API of Statistics Denmark, the OData services of Statistics Netherlands, PxStat (Ireland), SDMX (Australia), the Eurostat API, the Web Data Service of Statistics Canada and SingStat Table Builder.

You: What is the latest inflation rate in Slovenia?

Assistant: In October 2026, prices were 3.3% higher than in October 2025. Source: SURS (Statistical Office of the Republic of Slovenia), table H281S.px

Features

  • Search more than 44,000 tables by keywords.
  • Read the variables of a table, with a filter for long lists such as municipalities.
  • Get data as CSV with readable labels. Use latest to get the most recent periods.
  • Source in every result, with a link to the table, as the SURS terms require.
  • Safe queries: the server refuses queries that are too large and tells the assistant how to make them smaller.
  • Caching of searches, metadata and data.
  • Read-only. The server needs no API key.

Quick start

Hosted (no install)

Add https://statsmcp.dev/mcp as a remote MCP server. It uses Streamable HTTP and needs no authentication. One connection gives the assistant every office below; each data tool takes a country argument.

claude mcp add --transport http statsmcp https://statsmcp.dev/mcp

To connect to only one office, use its own endpoint, https://statsmcp.dev/<code>/mcp:

Code Office
si Statistical Office of the Republic of Slovenia
no Statistics Norway
ee Statistics Estonia
fo Statistics Faroe Islands
fi Statistics Finland
se Statistics Sweden
dk Statistics Denmark
nl Statistics Netherlands (CBS)
is Statistics Iceland
hr Croatian Bureau of Statistics
ie Central Statistics Office (Ireland)
ca Statistics Canada
au Australian Bureau of Statistics
eu Eurostat
claude mcp add --transport http statsmcp-si https://statsmcp.dev/si/mcp

For Claude, ChatGPT, Cursor and VS Code, the steps are on statsmcp.dev.

Local (stdio)

You need Node.js 20 or later.

Claude Code

claude mcp add sistat -- npx -y @statsmcp/sistat

Claude Desktop, Cursor and other MCP clients

Add this to the MCP configuration of the client:

{
  "mcpServers": {
    "sistat": { "command": "npx", "args": ["-y", "@statsmcp/sistat"] }
  }
}

Then ask a question, for example "What is the average net salary in Slovenia?". For more questions and real results, refer to docs/examples.md.

Databases

Database Country Package Status
SiStat Slovenia @statsmcp/sistat Hosted and npm
Statbank Norway Norway @statsmcp/ssb Hosted and npm
Statistics Estonia Estonia @statsmcp/stat-ee Hosted and npm
Statistics Faroe Islands Faroe Islands @statsmcp/hagstova Hosted and npm
StatFin Finland @statsmcp/statfin Hosted and npm
Statistical Database (SCB) Sweden @statsmcp/scb Hosted and npm
StatBank Denmark Denmark @statsmcp/dst Hosted and npm
StatLine (CBS) Netherlands @statsmcp/cbs Hosted and npm
PX-Web of Statistics Iceland Iceland @statsmcp/statice Hosted and npm
PC-Axis database of DZS Croatia @statsmcp/dzs Hosted and npm
PxStat (CSO) Ireland @statsmcp/cso Hosted and npm
Eurostat EU and EFTA @statsmcp/eurostat Hosted and npm
Statistics Canada Canada @statsmcp/statcan Hosted and npm
ABS Data API Australia @statsmcp/abs Hosted and npm
SingStat Table Builder Singapore @statsmcp/singstat npm only; not hosted

To add a database, use the @statsmcp/core toolkit.

Documentation

Page Contents
Tools The three tools, their arguments and errors.
Examples Real questions, tool calls and results.
Data licence Terms of use of the data and how the source is shown.
Self-hosting Run the server over HTTP on Cloudflare Workers.
Toolkit Make a server for a different PxWeb database.
Development Repository layout, commands and local tests.
Releasing Release steps for the maintainer.

Contributing

Contributions are welcome. Read CONTRIBUTING.md before you open a pull request. This project follows the Code of conduct. To report a security problem, refer to SECURITY.md.

Old package names

The packages moved to the @statsmcp scope. The old names were removed from npm. To change, replace the package name in your npx or npm install command. The command names do not change.

Old name New name
pxweb-mcp @statsmcp/core
sistat-mcp @statsmcp/sistat
ssb-mcp @statsmcp/ssb
stat-ee-mcp @statsmcp/stat-ee
hagstova-mcp @statsmcp/hagstova
statfin-mcp @statsmcp/statfin
scb-mcp @statsmcp/scb
dst-mcp @statsmcp/dst
cbs-mcp @statsmcp/cbs
statsmcp-eurostat @statsmcp/eurostat
statsmcp-statcan @statsmcp/statcan
statsmcp-singstat @statsmcp/singstat
statice-mcp @statsmcp/statice
dzs-mcp @statsmcp/dzs
cso-mcp @statsmcp/cso

Licence

The code is under the MIT licence. The data belongs to the statistics office that publishes it. Refer to docs/data-licence.md.

This project is not affiliated with or endorsed by SURS or any other statistics office.

About

MCP servers for official statistics: national statistics offices and Eurostat, one endpoint for all at statsmcp.dev/mcp

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages