Add official statistics to Claude Code

Add StatsMCP to Claude Code with one command. Claude Code can then use official figures in scripts, notebooks, reports and data checks.

Before you start

  • Claude Code in your terminal.
  • No StatsMCP account, sign-up or API key.

Steps

  1. Run the command in your terminal.
  2. Run /mcp to check the connection.
claude mcp add --transport http statsmcp https://statsmcp.dev/mcp

Try asking Claude Code

  • What is the latest inflation rate in Slovenia?
  • How have house prices changed in Norway?
  • What is the average monthly wage in Estonia?
  • What is the latest inflation rate in the Faroe Islands?
  • How high is unemployment in Finland?
  • How many people live in Sweden?

Connect only one office

Streamable HTTP · read-only · no sign-in

Each statistics office also has its own endpoint. Use it in place of the endpoint above.

OfficeEndpoint
Sloveniahttps://statsmcp.dev/si/mcp
Norwayhttps://statsmcp.dev/no/mcp
Estoniahttps://statsmcp.dev/ee/mcp
Faroe Islandshttps://statsmcp.dev/fo/mcp
Finlandhttps://statsmcp.dev/fi/mcp
Swedenhttps://statsmcp.dev/se/mcp
Denmarkhttps://statsmcp.dev/dk/mcp
Netherlandshttps://statsmcp.dev/nl/mcp
EU and EFTAhttps://statsmcp.dev/eu/mcp
Canadahttps://statsmcp.dev/ca/mcp
Icelandhttps://statsmcp.dev/is/mcp
Croatiahttps://statsmcp.dev/hr/mcp
Irelandhttps://statsmcp.dev/ie/mcp
Australiahttps://statsmcp.dev/au/mcp
Åland Islandshttps://statsmcp.dev/ax/mcp
North Macedoniahttps://statsmcp.dev/mk/mcp
Kosovohttps://statsmcp.dev/xk/mcp
Moldovahttps://statsmcp.dev/md/mcp
Luxembourghttps://statsmcp.dev/lu/mcp
Spainhttps://statsmcp.dev/es/mcp
Portugalhttps://statsmcp.dev/pt/mcp
Francehttps://statsmcp.dev/fr/mcp
United Kingdomhttps://statsmcp.dev/gb/mcp
Belgiumhttps://statsmcp.dev/be/mcp
Czechiahttps://statsmcp.dev/cz/mcp
Lithuaniahttps://statsmcp.dev/lt/mcp
Brazilhttps://statsmcp.dev/br/mcp
Polandhttps://statsmcp.dev/pl/mcp
Switzerlandhttps://statsmcp.dev/ch/mcp

Claude Code questions

How do I add StatsMCP to all my projects?

Add --scope user to the command. Without it, Claude Code adds the server only to the current project.

How do I check the connection?

Run /mcp in Claude Code. StatsMCP shows as connected, with its four tools.

Can I run StatsMCP without the hosted endpoint?

Yes. Use the npm packages as a stdio server, for example: claude mcp add statsmcp-eu -- npx -y @statsmcp/eurostat

Other assistants