Skip to main content
MCP server CX Codex

scb-mcp — Claude Code MCP server: what it does, how to install

Connects AI assistants to Statistics Sweden through PxWebAPI 2.0. Fetches official Swedish demographic, economic, and environmental metrics covering data from the 1950s onward.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http scb-mcp https://scb-mcp.onrender.com/mcp
Open on GitHub

What scb-mcp does

This MCP server links language models directly to Statistics Sweden (SCB) public data. It exposes more than 1,200 statistical tables across 312 Swedish regions. Datasets cover population shifts, national accounts, employment, and greenhouse gas metrics. Records span from the 1950s up to November 2025.

Built-in tools resolve administrative region codes and handle fuzzy spelling. Typing "Goteborg" without diacritics still resolves to Göteborg code 1480. Search runs in Swedish by default. Because of this Swedish baseline, searching directly in Swedish yields better table matches than English keywords.

The underlying API enforces a rate limit of 30 requests per 10 seconds. Heavy automated scraping will hit this threshold quickly. The server runs either locally via Node.js or through a hosted HTTP endpoint.

What it helps with

  • retrieve official Swedish population and migration statistics
  • convert city and municipality names into SCB region codes
  • fetch historical economic indicators and national accounts
  • pull Swedish labor market and unemployment trends

Example prompts for the agent

  • Search for Swedish population change tables covering Stockholm municipality.
  • Find the official region code for Lerum using the SCB tool.
  • Get quarterly unemployment statistics in Sweden for the past two years.

How to install scb-mcp

Platform CLI: remote server

claude mcp add --transport http scb-mcp https://scb-mcp.onrender.com/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about scb-mcp

How do I install scb-mcp in Claude Code?

Run claude mcp add --transport http scb-mcp https://scb-mcp.onrender.com/mcp in your terminal. This registers the hosted HTTP endpoint immediately.

What datasets are available through scb-mcp?

The server taps into over 1,200 SCB tables covering 312 regions. Topics include demographics, GDP, taxes, education, and environmental emissions from 1950 to late 2025.

Does the query tool handle Swedish special characters?

Yes, fuzzy matching handles names written without diacritics. For example, entering Goteborg matches Göteborg and retrieves region code 1480.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor