Scb MCP Server

Model Context Protocol server for Statistics Sweden (SCB) PX API

Local serverstdioPython

What is the Scb MCP MCP server?

If you already use Scb MCP, the scb mcp mcp server is the piece that lets your assistant work with it directly. Model Context Protocol server for Statistics Sweden (SCB) PX API.

What the server does

SCB MCP är server som LLM:s och AI-chatbotar kan använda för att söka, hitta och hämta officiell data och statistik från Statistikbyrån (SCB). Det omfattar 1 200+ statistiktabeller med data om befolkning & demografi, ekonomi & finans, miljö, arbetsmarknad, utbildning och transport. Perfekt för att bygga interaktiva instrumentpaneler, forskningsverktyg och utbildningsapplikationer.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Environment — Greenhouse gas emissions, water/waste management, sustainability metrics
  • Education — Student statistics, course enrollments, skills development
  • Arbetsmarknad — Sysselsättning, arbetslöshet, yrkesdata, kompetensmatchning
  • Utbildning — Studentstatistik, kursanmälningar, kompetensutveckling
  • SCB-databashttps://www.scb.se/
  • API-dokumentationhttps://www.scb.se/en/services/open-data-api/pxwebapi/
  • Dataexplorerhttps://pxweb.scb.se/pxweb/en/
  • Feature — Description
  • Developer-Friendly — Full documentation, clear errors with suggestions, selection validation, metadata in responses
  • Production-Ready — Rate limiting (30 req/10s), consistent behavior, proper data types, language support (SV/EN)
  • Funktion — Beskrivning
  • Produktionsklar — Rate limiting (30 req/10s), konsekvent beteende, rätt datatyper, språkstöd (SV/EN)

Installation

Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Where it fits

Among the knowledge and memory 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. Scb MCP's toolset — Environment, Education, Arbetsmarknad and 11 more — is a fair guide to whether it matches your workflow. It is maintained by isakskogstad; 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.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Scb MCP.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
EnvironmentGreenhouse gas emissions, water/waste management, sustainability metrics
EducationStudent statistics, course enrollments, skills development
ArbetsmarknadSysselsättning, arbetslöshet, yrkesdata, kompetensmatchning
UtbildningStudentstatistik, kursanmälningar, kompetensutveckling
SCB-databashttps://www.scb.se/
API-dokumentationhttps://www.scb.se/en/services/open-data-api/pxwebapi/
Dataexplorerhttps://pxweb.scb.se/pxweb/en/
FeatureDescription
Developer-FriendlyFull documentation, clear errors with suggestions, selection validation, metadata in responses
Production-ReadyRate limiting (30 req/10s), consistent behavior, proper data types, language support (SV/EN)
FunktionBeskrivning
ProduktionsklarRate limiting (30 req/10s), konsekvent beteende, rätt datatyper, språkstöd (SV/EN)
ProblemLösning
IssueSolution

How to install the Scb MCP MCP server

{
  "mcpServers": {
    "scb": {
      "command": "node",
      "args": ["/absolut/sökväg/till/SCB-MCP/dist/index.js"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Scb MCP to Environment.
  • Use Scb MCP to Education.
  • Use Scb MCP to Arbetsmarknad.

Frequently asked questions

It connects Scb MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Environment, Education, Arbetsmarknad, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Scb MCP directly.