isakskogstad avatar

Scb Mcp

isakskogstad/scb-mcp

Connects your Claude workspace directly to Statistics Sweden's PxWebAPI 2.0, giving you programmatic access to over 1,200 official statistical tables covering population, economy, environment, labor, and education data dating back to the 1950s. You get four main tools: search tables by keyword and category, resolve region names to official codes with fuzzy matching (handles "Goteborg" to "Göteborg"), preview table metadata and dimensions before fetching, and pull actual data with precise selections. The smart part is the region resolver, which maps natural language queries like "Lerum" to code 1441, and the preview tool that shows you what dimensions exist before you query. Reach for this when you need authoritative Swedish statistics without manually browsing SCB's web interface or wrestling with their API docs.

GitHub stars
8
tools
5
transport
HTTP
last updated
Nov 28, 2025

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

search_tablesHitta befolkningsrelaterade tabeller / Search for statistical tables by query and optional category.

Hitta befolkningsrelaterade tabeller / Search for statistical tables by query and optional category.

No parameter schema in public metadata yet.

find_region_codeResolve region codes from a place name, with fuzzy matching (e.g. "Lerum" → 1441).

Resolve region codes from a place name, with fuzzy matching (e.g. "Lerum" → 1441).

No parameter schema in public metadata yet.

get_table_dataFetch data from a statistical table for a given tableId and selection.

Fetch data from a statistical table for a given tableId and selection.

No parameter schema in public metadata yet.

preview_dataPreview a dataset before fetching the full data, to test a query.

Preview a dataset before fetching the full data, to test a query.

No parameter schema in public metadata yet.

get_table_variablesRetrieve the variables and codes for a table before querying it.

Retrieve the variables and codes for a table before querying it.

No parameter schema in public metadata yet.

Sponsors

Readme

MCP SERVER

MCP Registry MCP Protocol

📊 SCB MCP Server

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.


Översikt

🇬🇧 Overview

The SCB MCP server provides seamless integration with Statistics Sweden's PxWebAPI 2.0, enabling LLM:s to access:


View the full README on GitHub

Details

Repository
github.com/isakskogstad/scb-mcp
Category
Data & Analytics
Transport
HTTP
Registry
MCP registry, active

More from isakskogstad

Related Data & Analytics MCP servers

View all
1nayakwadis avatarMftool Mcpnayakwadis/mftool-mcpMCP Server for publicly available Indian Mutual Funds data8stars
2tianyuio avatarWorldbank Mcptianyuio/worldbank-mcpWorld Bank Open Data MCP Server8stars
3takodata avatarTakotakodata/tako-mcpPremium live data from S&P Global, FRED, OECD & more, plus web search, in one call.7stars
4hasdata avatarHasData Booking.comhasdata/booking-mcpBooking.com stays by destination and dates, and full property details, as structured JSON.7stars
5hasdata avatarHasData DuckDuckGohasdata/duckduckgo-mcpDuckDuckGo search as JSON. Ranked results, ads in their own array, 37 regions.7stars
6hasdata avatarHasData Facebookhasdata/facebook-mcpPublic Facebook pages and profiles with likes, followers, contact details and posts, as JSON.7stars